All Available Metrics

All the currently available pre-defined metrics are listed here.

Minkowski Space-Time

einsteinpy.symbolic.predefined.minkowski.MinkowskiCartesian(c=c)[source]

Minkowski(flat) space-time in Cartesian coordinates. Space-time without any curvature or matter.

Parameters

c (Basic or int or float) – Any value to assign to speed of light. Defaults to ‘c’.

einsteinpy.symbolic.predefined.minkowski.Minkowski(c=c)

Minkowski(flat) space-time in Cartesian coordinates. Space-time without any curvature or matter.

Parameters

c (Basic or int or float) – Any value to assign to speed of light. Defaults to ‘c’.

einsteinpy.symbolic.predefined.minkowski.MinkowskiPolar(c=c)[source]

Minkowski(flat) space-time in Polar coordinates. Space-time without any curvature or matter.

Parameters

c (Basic or int or float) – Any value to assign to speed of light. Defaults to ‘c’.

Vacuum Solutions

einsteinpy.symbolic.predefined.vacuum_solutions.Schwarzschild(c=c, sch=r_s)[source]

Schwarzschild exterior metric in curvature coordinates Schwarzschild, Sitz. Preuss. Akad. Wiss., p189, (1916) Stephani (13.19) p157

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to c.

  • sch (Basic or int or float) – Any value to assign to Schwarzschild Radius of the central object. Defaults to r_s.

einsteinpy.symbolic.predefined.vacuum_solutions.Kerr(c=c, sch=r_s, a=a)[source]

Kerr Metric in Boyer Lindquist coordinates.

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to c.

  • sch (Basic or int or float) – Any value to assign to Schwarzschild Radius of the central object. Defaults to r_s.

  • a (Basic or int or float) – Spin factor of the heavy body. Usually, given by J/(Mc), where J is the angular momentum. Defaults to a.

einsteinpy.symbolic.predefined.vacuum_solutions.KerrNewman(c=c, G=G, eps_0=eps_0, sch=r_s, a=a, Q=Q)[source]

Kerr-Newman Metric in Boyer Lindquist coordinates.

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to c.

  • G (Basic or int or float) – Any value to assign to the Newton’s (or gravitational) constant. Defaults to G.

  • eps_0 (Basic or int or float) – Any value to assign to the electric constant or permittivity of free space. Defaults to eps_0.

  • sch (Basic or int or float) – Any value to assign to Schwarzschild Radius of the central object. Defaults to r_s.

  • a (Basic or int or float) – Spin factor of the heavy body. Usually, given by J/(Mc), where J is the angular momentum. Defaults to a.

  • Q (Basic or int or float) – Any value to assign to eletric charge of the central object. Defaults to Q.

einsteinpy.symbolic.predefined.vacuum_solutions.ReissnerNordstorm(c=c, G=G, eps_0=eps_0, sch=r_s, Q=Q)[source]

The Reissner–Nordström metric in spherical coordinates A static solution to the Einstein–Maxwell field equations, which corresponds to the gravitational field of a charged, non-rotating, spherically symmetric body of mass M.

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to c.

  • G (Basic or int or float) – Any value to assign to the Newton’s (or gravitational) constant. Defaults to G.

  • eps_0 (Basic or int or float) – Any value to assign to the electric constant or permittivity of free space. Defaults to eps_0.

  • sch (Basic or int or float) – Any value to assign to Schwarzschild Radius of the central object. Defaults to r_s.

  • Q (Basic or int or float) – Any value to assign to eletric charge of the central object. Defaults to Q.

De Sitter and Anti De Sitter

This module contains pre-defined functions to obtain instances of various forms of Anti-De-Sitter and De-Sitter space-times.

einsteinpy.symbolic.predefined.de_sitter.AntiDeSitter()[source]

Anti-de Sitter space

Hawking and Ellis (5.9) p131

einsteinpy.symbolic.predefined.de_sitter.AntiDeSitterStatic()[source]

Static form of Anti-de Sitter space

Hawking and Ellis (5.9) p131

einsteinpy.symbolic.predefined.de_sitter.DeSitter()[source]

de Sitter space

Hawking and Ellis p125

C-Metric

einsteinpy.symbolic.predefined.cmetric.CMetric()[source]

The C-metric Stephani (Table 16.2) p188

Godel

einsteinpy.symbolic.predefined.godel.Godel()[source]

Godel metric Rev. Mod. Phys., v21, p447, (1949) Stephani (10.25) 122

Davidson

einsteinpy.symbolic.predefined.davidson.Davidson()[source]

Davidson’s cylindrically symmetric radiation perfect fluid universe Davidson, J. Math. Phys., v32, p1560, (1991)

Bessel Gravitational Wave

einsteinpy.symbolic.predefined.bessel_gravitational_wave.BesselGravitationalWave(C=C)[source]

Exact gravitational wave solution without diffraction. Class. Quantum Grav., 16:L75–78, 1999. D. Kramer.

An exact solution describing an axisymmetric gravitational wave propagating in the z-direction in closed form. This solution to Einstein’s vacuum field equations has the remarkable property that the curvature invariants decrease monotonically with increasing radial distance from the axis and vanish at infinity. The solution is regular at the symmetry axis.

Parameters

C (Basic or int or float) – Constant for Bessel metric, the choice of the constant is not really relavent for details see the paper. Defaults to ‘C’.

Barriola Vilekin

einsteinpy.symbolic.predefined.barriola_vilenkin.BarriolaVilekin(c=c, k=k)[source]

Barriola-Vilekin monopol metric Phys. Rev. Lett. 63, 341 Manuel Barriola and Alexander Vilenkin Published 24 July 1989

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to ‘c’.

  • k (Basic or int or float) – The scaling factor responsible for the deficit/surplus angle Defaults to k.

Bertotti Kasner

einsteinpy.symbolic.predefined.bertotti_kasner.BertottiKasner(c=c, k=k, lambd=l)[source]

Birkhoff’s theorem with Λ-term and Bertotti-Kasner space Phys. Lett. A, 245:363–365, 1998 W. Rindler

Parameters
  • c (Basic or int or float) – Any value to assign to speed of light. Defaults to ‘c’.

  • lambd (Basic or int or float) – The cosmological constant, note it must be postive. Defaults to l.

Ernst

einsteinpy.symbolic.predefined.ernst.Ernst(B=B, M=M)[source]

Black holes in a magnetic universe. J. Math. Phys., 17:54–56, 1976. Frederick J. Ernst.

Parameters
  • M (Basic or int or float) – Mass of the black hole. Defaults to M.

  • B (Basic or int or float) – The magnetic field strength Defaults to B.

Janis Newman Winicour

einsteinpy.symbolic.predefined.janis_newman_winicour.JanisNewmanWinicour(c=c, G=G, gam=gam, M=M)[source]

Reality of the Schwarzschild singularity. Phys. Rev. Lett., 20:878–880, 1968. A. I. Janis, E. T. Newman, and J. Winicour.

Parameters
  • M (Basic or int or float) – Mass parameter, this is used for defining the schwarzschild metric. Defaults to M.

  • gam (Basic or int or float) – Parameter for scaling Schwarzschild radius, for gamma=1 this will return the Schwarzschild metric Defaults to gam.