Skip to main content
EinsteinPy Logo
Name:

EinsteinPy Geodesics

Website:

https://docs.geodesics.einsteinpy.org/en/latest/

Version:

0.1.0

mailing Join the chat at https://gitter.im/EinsteinPy-Project/EinsteinPy riotchat license docs

EinsteinPy Geodesics is an addon package for EinsteinPy, that wraps over Julia’s excellent DifferentialEquations.jl suite and provides a python interface to solve for geodesics in Kerr & Schwarzschild spacetime. EinsteinPy is an open source pure Python package, dedicated to problems arising in General Relativity and Gravitational Physics. As with EinsteinPy, EinsteinPy Geodesics is released under the MIT license.

Documentation

docs

Complete documentation for this module can be accessed at https://docs.geodesics.einsteinpy.org/en/latest/ (Courtesy: Read the Docs).

Requirements

EinsteinPy Geodesics requires Python >= 3.7, Julia >= 1.5 and the following Julia packages:

  • Julia
    • DifferentialEquations.jl >= 6.15

    • ODEInterfaceDiffEq.jl >= 3.7

Installation

First, ensure that, Julia is installed in your system and added to PATH. See https://julialang.org/downloads/platform/ for platform specific binaries and installation instructions. einsteinpy_geodesics also requires DifferentialEquations.jl and ODEInterfaceDiffEq.jl. You can add them, like so:

$ julia
julia> using Pkg
julia> Pkg.add("DifferentialEquations")
julia> Pkg.add("ODEInterfaceDiffEq")

Finally, einsteinpy_geodesics can be installed in the most intuitive way:

$ pip install einsteinpy-geodesics

For using this package, we strongly recommend you to use EinsteinPy Core package along with it.

Alternatively, you can install the package from source, by cloning einsteinpy_geodesics, and typing in the following, in a shell (in Linux/macOS):

$ flit install --symlink /path/to/einsteinpy_geodesics/

Or, on Windows:

$ flit install --pth-file /path/to/einsteinpy_geodesics/

Problems

If the installation fails or you find something, that doesn’t work as expected, please open an issue in the issue tracker.

Note that, DifferentialEquations.jl requires gfortran to be present on the system. If you encounter a gfortran-related error, while using this package, please install/update your gfortran installation. See <https://gcc.gnu.org/wiki/GFortranBinaries> for more details or open an issue in the issue tracker.

Contributing

EinsteinPy is a community project, hence all contributions are more than welcome! For more information, head to CONTRIBUTING.rst, that also contains the developer documentation.

Support

mailing

Release announcements and general discussion take place on our mailing list. Feel free to join!

https://groups.io/g/einsteinpy-dev

Please join our [matrix] channel or gitter chat room for further queries.

If you still have a doubt, write a mail directly to all@einsteinpy.org.

Citing

If you use EinsteinPy or EinsteinPy Geodesics in your project, please drop us a line.

You can also use the DOI to cite it in your publications. This is the latest one:

doi

And this is an example citation format:

Shreyas Bapat et al. (2019). EinsteinPy: einsteinpy 0.1.0. Zenodo. 10.5281/zenodo.2582388

License

license

EinsteinPy and hence, EinsteinPy Geodesics, is released under the MIT license, hence allowing commercial use of the library. Please refer to COPYING.

Release files for einsteinpy-geodesics 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for einsteinpy-geodesics 0.1.0
File Size Uploaded
einsteinpy_geodesics-0.1.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for einsteinpy-geodesics 0.1.0
File Interpreter ABI Platform
einsteinpy_geodesics-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / einsteinpy_geodesics-0.1.0.tar.gz

Download URL einsteinpy_geodesics-0.1.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
12f2a157dad8491ecf562422e1c23dc1bb415e3ec94edce667bb7826f40c7ea0
BLAKE2b-256 checksum
How to use checksums
b68a54ac0cfe8af60bd898631f16f03a23c78f72e8a3c7e7b372cbbf306c867e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / einsteinpy_geodesics-0.1.0-py3-none-any.whl

Download URL einsteinpy_geodesics-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a0635d96f35728dcad817b44d2651dd695748e5b3f743c492e0b1b75c21b437
BLAKE2b-256 checksum
How to use checksums
fcf3acb4b637349ebc2566a708dd35a5b8f88fab648b89e9aba551071229fa90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page