{"id":25189025,"url":"https://github.com/yuricst/paladin","last_synced_at":"2026-01-08T20:32:39.202Z","repository":{"id":245946224,"uuid":"644652804","full_name":"Yuricst/paladin","owner":"Yuricst","description":"Full-ephemeris integrator in python via pygsl","archived":false,"fork":false,"pushed_at":"2024-09-15T21:25:53.000Z","size":44390,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T15:02:50.852Z","etag":null,"topics":["astrodynamics"],"latest_commit_sha":null,"homepage":"https://yuricst.github.io/paladin/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yuricst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-24T01:23:18.000Z","updated_at":"2024-09-15T21:25:23.000Z","dependencies_parsed_at":"2024-09-15T21:49:59.074Z","dependency_job_id":"6eaba08a-aa8d-4c3a-b856-891d12db4d1e","html_url":"https://github.com/Yuricst/paladin","commit_stats":null,"previous_names":["yuricst/paladin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuricst%2Fpaladin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuricst%2Fpaladin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuricst%2Fpaladin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuricst%2Fpaladin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yuricst","download_url":"https://codeload.github.com/Yuricst/paladin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238017352,"owners_count":19402730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astrodynamics"],"created_at":"2025-02-09T20:35:05.510Z","updated_at":"2025-10-24T18:31:00.437Z","avatar_url":"https://github.com/Yuricst.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `paladin` : python library for astrodynamics\n\n| PyPI     | Documentation |\n| -------- | ------------- |\n| [![PyPI version](https://badge.fury.io/py/spacecraft-paladin.svg)](https://badge.fury.io/py/spacecraft-paladin)  | [![documentation workflow](https://github.com/Yuricst/paladin/actions/workflows/documentation.yml/badge.svg)](https://yuricst.github.io/paladin/)    |\n\n!! Currently only tested/working with python 3.11 and numpy 1.X (due to restriction by pygsl) !!\n\n## Installation\n\nTo install via pip\n\n```bash\npip install spacecraft-paladin\n```\n\nTo uninstall\n\n```bash\npip uninstall spacecraft-paladin\n```\n\n## Environment setup\n\nAn example virtual environment for working with this library can be initialized using [`poetry`](https://python-poetry.org/) via\n\n```bash\npoetry install\npip install pygsl\n```\n\nNote: `pygsl` cannot be imported via `poetry` as it does not PEP 517 builds. \n\n\n## Overview\n\nThis package provides tools for conducting CR3BP and ephemeris level analysis in cislunar and deep-space environments. \n\nWhile the library is implemented in python, the majority of functionalities are powered by either [SPICE routines](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/FORTRAN/spicelib/index.html) or through numpy/scipy/numba implementations, resulting in (relatively) fast computations. \nFor numerical integration of ODEs, `paladin` provides the option of using either `scipy` or `gsl`; the latter is recommended due to higher accuracy. \n\nOptimization is conducted by constructing problems as [`pygmo` udp's](https://esa.github.io/pygmo2/index.html), which can then be solved through a variety of compatible solvers, including IPOPT, SNOPT, or WORHP (the latter two requires licenses). \n\n\n## Dependencies\n\nDeveloped for python 3.10 \u0026 3.11.\n\nPackage requirements: \n\n- `numpy`, `matplotlib`, `numba`, `scipy`, `spiceypy`, `sympy`, `pygsl`\n\nOptional:\n\n- `pygmo`, `pygmo_plugins_nonfree` : required for running trajectory construction problems\n\n\n## SPICE setup\n\nUsers are responsible for downloading [the generic SPICE kernels froom the NAIF website](https://naif.jpl.nasa.gov/pub/naif/generic_kernels/). In addition, supplementary custom kernels specific to this module are stored in `paladin/assets/spice/`. The most commonly required kernels are:\n\n- `naif0012.tls`\n- `de440.bsp`\n- `gm_de440.tpc` \n\n\n## GSL setup\n\nSee [pygsl setup notes](./notes/pygsl_setup.md)\n\n\n\n## Capabilities\n\n- [x] GSL event capability\n- [x] Propagation in CR3BP\n- [x] Propagation in N-body problem\n- [x] Transition to full-ephemeris model\n- [x] Helper methods for frame transformation\n\n\n## Gallery\n\nNRHO propagation\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./plots/propagation_example_nrho.png\" width=\"400\" title=\"Propagation example\"\u003e\n\u003c/p\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuricst%2Fpaladin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuricst%2Fpaladin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuricst%2Fpaladin/lists"}