Python package for General Relativity
Project description
- Name:
EinsteinPy
- Website:
- Version:
0.1.0
EinsteinPy is an open source pure Python package dedicated to problems arising in General Relativity and relativistic physics, such as goedesics plotting for schwartzschild space-time model, calculation of schwartzschild radius for any mass given, symbolic calculation of various functions related to GR such as christoffel symbols. Features like visualisation of geodesics of curved black holes and 3D visualisations are some of the features which are planned. It is released under the MIT license.
Documentation
Complete documentation, including a user guide and an API reference, can be read on the wonderful Read the Docs.
Requirements
EinsteinPy requires the following Python packages:
NumPy, for basic numerical routines
Astropy, for physical units and time handling
numba (optional), for accelerating the code
matplotlib, for geodesics plotting and visualisations.
SciPy, for solving ordinary differential equations.
SymPy (optional), for symbolic calculations related to GR.
EinstienPy is usually tested on Linux, Windows and OS X on Python 3.5, 3.6 and 3.7 against latest NumPy.
Platform |
Site |
Status |
---|---|---|
Linux |
CircleCI |
|
OS X |
Travis CI |
|
Windows x64 |
Appveyor |
Problems
If the installation fails or you find something that doesn’t work as expected, please 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.
Support
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.
Citing
If you use EinsteinPy on your project, please drop us a line.
You can also use the DOI to cite it in your publications. This is the latest one:
And this is an example citation format:
Shreyas Bapat et al.. (2019). EinsteinPy: einsteinpy 0.1.0. Zenodo. 10.5281/zenodo.2582388
License
EinsteinPy is released under the MIT license, hence allowing commercial use of the library. Please refer to COPYING.
FAQ
What’s up with the name?
EinsteinPy comes from the name of the famous physicist, nobel laureate, revolutionary person, Prof. Albert Einstein. This is a small tribute from our part for the amazing work he did for the science.
Can I do <insert awesome thing> with EinsteinPy?
EinsteinPy is focused on general relativity. One can always discuss probable features on the mailing list and try to implement it. We welcome every contribution and will be happy to include it in einteinpy.
What’s the future of the project?
EinsteinPy is actively maintained and we hope to receive an influx of new contributors. The best way to get an idea of the roadmap is to see the Milestones of the project.
Inspiration
The whole documentation, and code structure is shamelessly inspired by poliastro . We really thank the developers to help us acheive this.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for einsteinpy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a085a44cfe9baf57900216952b2e123bc5be01f6601452a236494ea3fc889d5 |
|
MD5 | 3f5d937dfce6fc05e63e928e92dbfd33 |
|
BLAKE2b-256 | 5693ef080945daa309fbb01776790a9ebf4e7b6c51139bfb3d17df5e10f64b04 |