Skip to main content

high-fidelity spaceraft dynamics propagator

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spacecraft_paladin-0.1.4.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spacecraft_paladin-0.1.4-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file spacecraft_paladin-0.1.4.tar.gz.

File metadata

  • Download URL: spacecraft_paladin-0.1.4.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for spacecraft_paladin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9eca12fdc7a8001d5261948272dab87390e8af5447dfc50bea484892fa975898
MD5 a7e5a058a5b0054efdc08f076eb5db66
BLAKE2b-256 1a299bb96ec14aa1ee10d463935fc304da671fa42e78672108c9c5258d848b36

See more details on using hashes here.

File details

Details for the file spacecraft_paladin-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for spacecraft_paladin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 832a0ca5e07e0036e71cffc68d17e8ee360e030d1a84c15ea015718cd5c20b97
MD5 abd1497d2b8b64754edb6478126fd583
BLAKE2b-256 b9e1c5b3e6ef3774f5ccf63f25fa66ad7d97bdbc5edde396b4048953c1be9b9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page