Skip to main content

paladin : python library for astrodynamics

PyPI Documentation
PyPI version documentation workflow

!! Currently only tested/working with python 3.11 and numpy 1.X (due to restriction by pygsl) !!

Installation

To install via pip

pip install spacecraft-paladin

To uninstall

pip uninstall spacecraft-paladin

Environment setup

An example virtual environment for working with this library can be initialized using poetry via

poetry install
pip install pygsl

Note: pygsl cannot be imported via poetry as it does not PEP 517 builds.

Overview

This package provides tools for conducting CR3BP and ephemeris level analysis in cislunar and deep-space environments.

While the library is implemented in python, the majority of functionalities are powered by either SPICE routines or through numpy/scipy/numba implementations, resulting in (relatively) fast computations. For numerical integration of ODEs, paladin provides the option of using either scipy or gsl; the latter is recommended due to higher accuracy.

Optimization is conducted by constructing problems as pygmo udp's, which can then be solved through a variety of compatible solvers, including IPOPT, SNOPT, or WORHP (the latter two requires licenses).

Dependencies

Developed for python 3.10 & 3.11.

Package requirements:

  • numpy, matplotlib, numba, scipy, spiceypy, sympy, pygsl

Optional:

  • pygmo, pygmo_plugins_nonfree : required for running trajectory construction problems

SPICE setup

Users are responsible for downloading the generic SPICE kernels froom the NAIF website. In addition, supplementary custom kernels specific to this module are stored in paladin/assets/spice/. The most commonly required kernels are:

  • naif0012.tls
  • de440.bsp
  • gm_de440.tpc

GSL setup

See pygsl setup notes

Capabilities

  • GSL event capability
  • Propagation in CR3BP
  • Propagation in N-body problem
  • Transition to full-ephemeris model
  • Helper methods for frame transformation

Gallery

NRHO propagation

Metadata

Release files for spacecraft-paladin 0.1.7

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

Source distribution (sdist)

Source distribution for spacecraft-paladin 0.1.7
File Size Uploaded Provenance Actions
spacecraft_paladin-0.1.7.tar.gz 31.6 kB Without provenance Details for spacecraft_paladin-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spacecraft-paladin 0.1.7
File Interpreter ABI Platform Actions
spacecraft_paladin-0.1.7-py3-none-any.whl Python 3 none any Details for spacecraft_paladin-0.1.7-py3-none-any.whl

Total release size: 70.6 kB

Release files / spacecraft_paladin-0.1.7.tar.gz

Download URL spacecraft_paladin-0.1.7.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d0213d092062358e8f57996651c4f5c86e63433b171d42fb026e4b29a4b591b0
BLAKE2b-256 checksum
How to use checksums
24a27597855e4810b1a19b6918b4d7ad08c12be991ce85152a4e4c26d67c8672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / spacecraft_paladin-0.1.7-py3-none-any.whl

Download URL spacecraft_paladin-0.1.7-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
578b43e75ee852d7deca64894e81b53b2dfecf76b9caa7e423b55f1e8ed4e784
BLAKE2b-256 checksum
How to use checksums
45578206e4c3deb5a9922947d5de80de25ff47bc145fdf0765943991c25b3025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for spacecraft-paladin 0.1.7

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.

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