Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/poliastro/poliastro

poliastro - :rocket: Astrodynamics in Python
https://github.com/poliastro/poliastro

astrodynamics celestial-mechanics closember hacktoberfest orbital-mechanics orbital-simulation python science scientific-computing space space-physics

Last synced: 2 months ago
JSON representation

poliastro - :rocket: Astrodynamics in Python

Lists

README

        

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

> _poliastro is archived and will not be developed any further, see https://github.com/poliastro/poliastro/issues/1640 for more context._
> _Forks welcome, please respect the license by retaining attribution, and consider rebranding your fork if you intend to develop it in the long run._
> _If you still use poliastro in your work, see below how to cite it._
> _For a more complete background of the project, see https://conference.scipy.org/proceedings/scipy2022/juanluis_cano_poliastro.html._
> Per Python ad astra!

[![poliastro Logo](https://raw.githubusercontent.com/poliastro/poliastro/main/docs/source/_static/logo_readme.png)](https://docs.poliastro.space/en/stable/)

| **Name** | **Website** | **Authors** | **Maintainers** | **Version** |
|:---------:|:----------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------:|:----------------------------------------------------:|
| poliastro | [https://www.poliastro.space](https://www.poliastro.space) | [Juan Luis Cano Rodriguez](https://orcid.org/0000-0002-2187-161X) [Jorge Martinez](https://orcid.org/0000-0001-9622-2369) | [poliastro development team](https://github.com/poliastro/poliastro/blob/main/AUTHORS.md) | [0.18.dev0](https://github.com/poliastro/poliastro/) |

[![poliastro_badge]](https://github.com/poliastro/poliastro)
[![ci_badge]](https://circleci.com/gh/poliastro/poliastro/?branch=main)
[![docs_badge]](https://docs.poliastro.space/en/latest/?badge=latest)
[![coverage_badge]](https://codecov.io/github/poliastro/poliastro?branch=main)
[![pre_commit_badge]](https://results.pre-commit.ci/latest/github/poliastro/poliastro/main)
[![python_badge]](https://pypi.org/project/poliastro)
[![pypi_badge]](https://pypi.org/project/poliastro)
[![license_badge]](https://opensource.org/licenses/MIT)
[![doi_badge]](https://zenodo.org/badge/latestdoi/11178845)
[![astropy_badge]](https://zenodo.org/badge/latestdoi/11178845)
[![mailing_badge]](https://groups.io/g/poliastro-dev)
[![chat_badge]](http://chat.poliastro.space/)
[![backers_badge]](https://opencollective.com/poliastro/)
[![sponsors_badge]](https://opencollective.com/poliastro/)
[![binder_badge]](https://mybinder.org/v2/gh/poliastro/poliastro/main?labpath=index.ipynb)
[![code_badge]]()

poliastro is an open source ([MIT](#License)) pure Python library for interactive
Astrodynamics and Orbital Mechanics, with a focus on ease of use, speed, and
quick visualization. It provides a simple and intuitive API, and handles
physical quantities with units.

Some features include orbit propagation, solution of the Lambert\'s problem,
conversion between position and velocity vectors and classical orbital elements
and orbit plotting, among others. It focuses on interplanetary applications,
but can also be used to analyze artificial satellites in Low-Earth Orbit (LEO).

If you use poliastro on your project, please [let us know]. Use the DOI to cite
poliastro in your publications:

Juan Luis Cano Rodríguez, Jorge Martinez, et al.. (2023). poliastro: poliastro 0.17.0. Zenodo. 10.5281/zenodo.6817189

![Multiple examples image](https://github.com/poliastro/poliastro/raw/main/docs/source/_static/examples.png)

## Requirements

poliastro requires the following Python packages:

- [numpy](https://numpy.org/) for basic numerical routines
- [astropy](https://www.astropy.org/) for physical units and time handling
- [numba](https://numba.pydata.org/) for accelerating the code
- [jplephem](https://github.com/brandon-rhodes/python-jplephem) for the planetary ephemerides using SPICE kernels
- [matplotlib](https://matplotlib.org/) for orbit plotting
- [plotly](https://plotly.com/) for 2D and 3D interactive orbit plotting
- [scipy](https://scipy.org/) for root finding and numerical propagation

poliastro is supported on Linux, macOS and Windows on Python 3.8 to 3.10.

## Installation

Multiple installation methods are supported by poliastro, including:

| **Logo** | **Platform** | **Command** |
|:-----------------------------------------------------------------:|:------------:|:---------------------------------------------------------------------------------:|
| ![PyPI logo](https://simpleicons.org/icons/pypi.svg) | PyPI | ``python -m pip install poliastro`` |
| ![Conda Forge logo](https://simpleicons.org/icons/condaforge.svg) | Conda Forge | ``conda install poliastro --channel conda-forge`` |
| ![GitHub logo](https://simpleicons.org/icons/github.svg) | GitHub | ``python -m pip install https://github.com/poliastro/poliastro/archive/main.zip`` |

For other installation methods, see the [alternative installation methods].

## Documentation

Complete documentation, including a [quickstart guide] and an [API reference], can
be read on the wonderful [Read the Docs]. Multi-version documentation includes:

* [Development documentation](https://docs.poliastro.space/en/latest/)
* [Stable documentation](https://docs.poliastro.space/en/stable/)

## Examples, background and talks

There is a great variety of examples demostrating the capabilities of
poliastro. Examples can be accessed in various ways:

* Examples source code collected in the [examples directory]
* Rendered [gallery of examples] presented in the documentation
* Interactive examples powered by [binder] so users can try poliastro without installing it

poliastro is also promoted through conferences and talks. These are the latest
talks in some of the most popular conferences about scientific software:

| **Conference** | **Talk** |
|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| SciPy 2022 | [Per Python ad astra: Interactive Astrodynamics with poliastro](https://www.youtube.com/watch?v=0GqdIRdDe9c) |
| OSCW 2019 | [Interplanetary mission analysis with poliastro](https://www.youtube.com/watch?v=0GqdIRdDe9c) |
| EuroSciPy 2019 | [Can we make Python fast without sacrificing readability? numba for Astrodynamics](https://pyvideo.org/euroscipy-2019/can-we-make-python-fast-without-sacrificing-readability-numba-for-astrodynamics.html) |
| EuroPython 2016 | [Per Python ad Astra](https://pyvideo.org/europython-2016/per-python-ad-astra.html) |

## License

poliastro is released under the MIT license, hence allowing commercial use of
the library. Please refer to the [COPYING] file.

The MIT License (MIT)

Copyright (c) 2012-2023 Juan Luis Cano Rodríguez, Jorge Martínez Garrido, and the poliastro development team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

If you are planning to use poliastro with commercial purposes consider
[sponsoring the project](#Backers-and-sponsors).

## Problems and suggestions

If for any reason you get an unexpected error message or an incorrect result,
or you want to let the developers know about your use case, please open a new
issue in the [issue tracker] and we will try to answer promptly.

## Contributing and community support

This project exists thanks to all the people who contribute! poliastro is a
community project, hence all contributions are more than welcome! For more
information, head to the [CONTRIBUTING.md] file.

Release announcements and general discussion take place on our [mailing list].

For further clarifications and discussions, feel free to join poliastro's [chat
room].

![Contributors image](https://opencollective.com/poliastro/contributors.svg?width=890&button=false)

## Backers and sponsors

poliastro requires finnacial support to mantain its high quality standars. The
money is used to renew the web domain and updating the documentation hosting
subscription among others.

If you would like to support poliastro, consider [becoming a backer] or
[becoming a sponsor].

**Thanks to all our backers!**

[![Backers](https://opencollective.com/poliastro/backers.svg?width=890)](https://opencollective.com/poliastro#backer)

**Thanks to all our sponsors!**

[![Sponsors](https://opencollective.com/poliastro/sponsor/0/avatar.svg)](https://opencollective.com/poliastro/sponsor/0/website)
[![Sponsors](https://opencollective.com/poliastro/sponsor/1/avatar.svg)](https://opencollective.com/poliastro/sponsor/0/website)

## Frequently asked questions

* **What's up with the name?**

poliastro comes from Polimi, which is the shortened name of the Politecnico di
Milano, see the [acknowledgement from the original author]. *Grazie mille!*

* **Is poliastro validated?**

Yes! poliastro is a community project that strives to be easy to use, while at
the same time producing correct results [that are validated] against other
[commonly used Astrodynamics software] such as GMAT and Orekit.

* **Can I suggest new features for poliastro?**

Sure, we encourage you to [open an issue] so we can discuss future feature
additions!

* **What's the future of the project?**

poliastro is actively maintained and receiving an influx of new contributors
thanks to the generous sponsorship of Google, the European Space Agency, and
NumFOCUS. The best way to get an idea of the roadmap is to see the
[milestones] of the project.

[quickstart guide]: https://docs.poliastro.space/en/stable/quickstart.html
[API reference]: https://docs.poliastro.space/en/latest/api.html
[Read the docs]: https://readthedocs.org
[binder]: https://mybinder.org/
[alternative installation methods]: https://docs.poliastro.space/en/stable/installation.html#alternative-installation-methods
[issue tracker]: https://github.com/poliastro/poliastro/issues
[CONTRIBUTING.md]: https://github.com/poliastro/poliastro/blob/main/CONTRIBUTING.md
[COPYING]: https://github.com/poliastro/poliastro/blob/main/COPYING
[mailing list]: https://groups.io/g/poliastro-dev
[chat room]: http://chat.poliastro.space/
[let us know]: mailto:[email protected]
[examples directory]: https://github.com/poliastro/poliastro/tree/main/docs/source/examples
[become a sponsor]: https://opencollective.com/poliastro/sponsor/0/website
[docs_stable]: https://docs.poliastro.space/en/stable/
[docs_latest]: https://docs.poliastro.space/en/latest/
[that are validated]: https://github.com/poliastro/validation/
[commonly used Astrodynamics software]: https://docs.poliastro.space/en/stable/related.html
[open an issue]: https://github.com/poliastro/validation/issues/new
[milestones]: https://github.com/poliastro/poliastro/milestones
[Want to be a backer]: https://opencollective.com/poliastro#backer
[gallery of examples]: https://docs.poliastro.space/en/latest/gallery.html
[becoming a backer]: https://opencollective.com/poliastro#backer
[becoming a sponsor]: https://opencollective.com/poliastro#sponsor
[acknowledgement from the original author]: https://docs.poliastro.space/en/stable/history.html#acknowledgement-from-the-original-author

[poliastro_badge]: https://img.shields.io/badge/poliastro-gray.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAbxJREFUOE+Vk79LAmEYx7/njzulHKLQQIKwiyLuohykxqJBaHMNwvorcmltbG6LhnBqrMiWlmYl0SydaoqgwbLz9DS/B++heUI98A73vs/zfZ7n8zwndXsGF6tUKojFYvD7/W7Pzp00SiCXyyGTySCZTCKVSiEej7sKjRSgdzqdRq1WQzabRTQa/b8Ag8vlMsLhMBKJxN8F2u02LMtyAur1OqqFe+jaEsYi6oDQUAuGYcDn89nHsR7nq+N9zKxsQdvcGS3QbDYhyzJYQafTGSzZMvBQeoau61AUZXgKLJkTZaDX64XH40Gr1bIdKWqaJorFIjRNs995aE4LIjsdOXsGK9YT0HqHoawjEAggf3OJ2eUVBCcmnSoGBEQ2BsteA6juAY08unNn+HgN4fboEItqDAsHR6MF2B+rkMnwcRtov6E7fwGzM42781PEdQ2h1TV3AZInB6nX/8l1AbsbixhXJBgmUCqV7GWKRCJguwKk0wLhESQnEAwGcVd8wZTnE9+NLxuoqqo2B0mSHMgDEPnB0kmXDPp3gfesjHCZgFMRNrRIdKYxq9hGESgg9y+I68/EdsQOCGeKUPS3/QDL/fnRmszmsAAAAABJRU5ErkJggg== "poliastro"
[orcid_badge]: https://img.shields.io/badge/id-0000--0002--2187--161X-a6ce39.svg "orcid badge"
[ci_badge]: https://img.shields.io/circleci/build/gh/poliastro/poliastro/main?logo=CircleCi "ci badge"
[docs_badge]: https://img.shields.io/readthedocs/poliastro/stable.svg?logo=read%20the%20docs&logoColor=white&label=docs&version=stable "docs badge"
[coverage_badge]: https://img.shields.io/codecov/c/github/poliastro/poliastro.svg?logo=Codecov&logoColor=white "coverage badge"
[pre_commit_badge]: https://results.pre-commit.ci/badge/github/poliastro/poliastro/main.svg "pre-commit badge"
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg?logo=open%20source%20initiative&logoColor=white "license badge"
[doi_badge]: https://zenodo.org/badge/11178845.svg "doi badge"
[astropy_badge]: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg "astropy badge"
[mailing_badge]: https://img.shields.io/badge/mailing%20list-groups.io-8cbcd1.svg
[chat_badge]: https://img.shields.io/matrix/poliastro:matrix.org.svg?logo=Matrix&logoColor=white "chat badge"
[backers_badge]: https://img.shields.io/opencollective/backers/poliastro?logo=open%20collective&logoColor=white "backers badge"
[sponsors_badge]: https://img.shields.io/opencollective/sponsors/poliastro?logo=open%20collective&logoColor=white "sponsors badge"
[python_badge]: https://img.shields.io/pypi/pyversions/poliastro?logo=pypi&logoColor=white "python badge"
[pypi_badge]: https://img.shields.io/pypi/v/poliastro.svg?logo=Python&logoColor=white?labelColor=blue "pypi badge"
[code_badge]: https://img.shields.io/badge/Code%20style-black%20isort%20flake8-black "code badge"
[binder_badge]: https://img.shields.io/badge/Binder-examples-green.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFkAAABZCAMAAABi1XidAAAB8lBMVEX///9XmsrmZYH1olJXmsr1olJXmsrmZYH1olJXmsr1olJXmsrmZYH1olL1olJXmsr1olJXmsrmZYH1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olJXmsrmZYH1olL1olL0nFf1olJXmsrmZYH1olJXmsq8dZb1olJXmsrmZYH1olJXmspXmspXmsr1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olLeaIVXmsrmZYH1olL1olL1olJXmsrmZYH1olLna31Xmsr1olJXmsr1olJXmsrmZYH1olLqoVr1olJXmsr1olJXmsrmZYH1olL1olKkfaPobXvviGabgadXmsqThKuofKHmZ4Dobnr1olJXmsr1olJXmspXmsr1olJXmsrfZ4TuhWn1olL1olJXmsqBi7X1olJXmspZmslbmMhbmsdemsVfl8ZgmsNim8Jpk8F0m7R4m7F5nLB6jbh7jbiDirOEibOGnKaMhq+PnaCVg6qWg6qegKaff6WhnpKofKGtnomxeZy3noG6dZi+n3vCcpPDcpPGn3bLb4/Mb47UbIrVa4rYoGjdaIbeaIXhoWHmZYHobXvpcHjqdHXreHLroVrsfG/uhGnuh2bwj2Hxk17yl1vzmljzm1j0nlX1olL3AJXWAAAAbXRSTlMAEBAQHx8gICAuLjAwMDw9PUBAQEpQUFBXV1hgYGBkcHBwcXl8gICAgoiIkJCQlJicnJ2goKCmqK+wsLC4usDAwMjP0NDQ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