Skip to main content

pyastrodyn

DOI

Provided as is. This is research software, made available without any warranty. Installation and use are not supported.

pyastrodyn is a research library in astrodynamics, the companion of the educational library pyastrodyn-edu. It adds capabilities that are not part of the course library.

This version contains one capability: constellations in Keplerian motion.

  • walker_delta: the orbital elements of a Walker delta constellation i: t/p/f.
  • propagate_constellation: all the satellites at all the times in one call.
  • to_earth_fixed, ground_tracks: positions in the Earth-fixed basis and ground tracks.
  • elevation_from_station: elevation of every satellite seen from a ground station.
  • closest_approaches: smallest distance between two satellites over a time span.

Model and limits

  • Two-body Keplerian motion: no oblateness, drag or third bodies. The planes of a real constellation turn under the oblateness of the Earth; here they do not.
  • Spherical Earth turning at a constant rate about the third axis; geocentric latitude.
  • No time scales: times are seconds from an epoch at which the Greenwich angle is given (zero by default).

Same names and conventions as pyastrodyn-edu

pyastrodyn uses the names, units and conventions of pyastrodyn-edu: plain NumPy functions, one or many states per call, explicit mu, radians, element order a, e, i, raan, argp, f (for circular orbits argp = 0 and f is the argument of latitude), basis suffixes such as r_N and C_EN.

The basic functions (coe2rv, rv2coe, M2f, f2M, period, mean_motion, dcm_EN, change_basis and the Earth constants) are those of pyastrodyn-edu, passed through unchanged: pyastrodyn.coe2rv is pyastrodyn_edu.coe2rv. A later version may replace one of them with a faster implementation under the same name and with the same contract, tested against pyastrodyn-edu as reference. In this version no function is replaced.

This version uses only the functions of the public release of pyastrodyn-edu for Lectures 1 to 5 (version 0.0.9 or later).

Where to find it

What Where
Code, examples, notebooks, tests GitHub: https://github.com/pyastrodyn/pyastrodyn
The library alone, to install with pip PyPI: https://pypi.org/project/pyastrodyn/
Archived versions and DOI, to cite it Zenodo: https://doi.org/10.5281/zenodo.24479530

Installation

Python 3.11 or later. pyastrodyn-edu is installed with it.

pip install pyastrodyn            # from PyPI
pip install -e ".[plot,dev]"      # from a copy of the repository

Worked example

examples/example_1_navigation_constellation.py and the notebook with the same name: a Galileo-like constellation (Walker 56°: 24/3/1, altitude 23222 km) over one day, with a three-dimensional view, ground tracks, the closest approach between satellites and the satellites visible from Munich. The notebook is stored without results; run it to see them.

The notebook is written from the script:

python tools/make_notebooks.py

Tests

python -m pytest

Use of AI

AI use: code-by-intent (https://doi.org/10.5281/zenodo.24626373)

AI assistant: Claude (Anthropic). Under the direction and review of the author, it wrote the code and the documentation. The results are checked by automatic tests.

As stated in the license, the library is provided as is, without warranty or liability. It may still contain mistakes; please report them to the author.

References

  • J. G. Walker, "Satellite constellations", Journal of the British Interplanetary Society, 1984.
  • Wertz and Larson, Space Mission Analysis and Design.

License and citation

Copyright © 2026 Dr. Marcello Romano. Released under the MIT License; see LICENSE.

To cite pyastrodyn, use its DOI, which covers all versions:

Romano, M. (2026). pyastrodyn [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24479530

The citation details are also in CITATION.cff; GitHub shows them under Cite this repository.

Metadata

Release files for pyastrodyn 0.0.3

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

Source distribution (sdist)

Source distribution for pyastrodyn 0.0.3
File Size Uploaded Provenance Actions
pyastrodyn-0.0.3.tar.gz 12.4 kB Without provenance Details for pyastrodyn-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyastrodyn 0.0.3
File Interpreter ABI Platform Actions
pyastrodyn-0.0.3-py3-none-any.whl Python 3 none any Details for pyastrodyn-0.0.3-py3-none-any.whl

Total release size: 21.8 kB

Release files / pyastrodyn-0.0.3.tar.gz

Download URL pyastrodyn-0.0.3.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6761b3f5d1d4a8a31ba499be6cfb97c5a464b05576645d28c410bc1a6e2852bb
BLAKE2b-256 checksum
How to use checksums
c902abe32cc5feed9de8d9799635a2564ec21c6aa71b9a6559304695150b3acc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / pyastrodyn-0.0.3-py3-none-any.whl

Download URL pyastrodyn-0.0.3-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0024630e317b2e37e24a5a79f07d37970182137d007d47aa8a51f2021c9a551c
BLAKE2b-256 checksum
How to use checksums
963f125e92a8f375d7940615ada93397a8be392eb2e70d4001ae43d57f10060b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for pyastrodyn 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

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