Examples module

This module contains examples, that showcase how the various Numerical Relativity modules in EinsteinPy come together:

einsteinpy.examples.perihelion()[source]

An example to showcase the usage of the various modules in einsteinpy. Here, we assume a Schwarzschild spacetime and obtain & plot the apsidal precession of test particle orbit in it.

Returns

geod – Geodesic defining test particle trajectory

Return type

Geodesic