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.7.tar.gz (31.6 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.7-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spacecraft_paladin-0.1.7.tar.gz
  • Upload date:
  • Size: 31.6 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.7.tar.gz
Algorithm Hash digest
SHA256 d0213d092062358e8f57996651c4f5c86e63433b171d42fb026e4b29a4b591b0
MD5 5766a5047ed66aa5e35f44a896d9931c
BLAKE2b-256 24a27597855e4810b1a19b6918b4d7ad08c12be991ce85152a4e4c26d67c8672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spacecraft_paladin-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 578b43e75ee852d7deca64894e81b53b2dfecf76b9caa7e423b55f1e8ed4e784
MD5 b82022bed730d44e4e050281cdd39278
BLAKE2b-256 45578206e4c3deb5a9922947d5de80de25ff47bc145fdf0765943991c25b3025

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