All Available Metrics

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

Minkowski Space-Time

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

Minkowski(flat) space-time. 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.

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)