Differentiable SGP4 prototype
Project description
$\partial\textrm{SGP4}$
Differentiable SGP4.
Differentiable SGP4
Explore the docs »
Report bug
·
Request feature
Info
This repository contains the code discussed in this paper. $\partial \textrm{SGP4}$ is a differentiable version of SGP4 implemented using PyTorch. By making SGP4 differentiable, $\partial \textrm{SGP4}$ facilitates various space-related applications, including spacecraft orbit determination, covariance transformation, state transition matrix computation, and covariance propagation. Additionally, $\partial \textrm{SGP4}$'s PyTorch implementation allows for parallel orbital propagation across batches of Two-Line Element Sets (TLEs), leveraging the computational power of CPUs, GPUs, and advanced hardware for distributed prediction of satellite positions at future times. Furthermore, $\partial \textrm{SGP4}$'s differentiability enables integration with modern machine learning techniques. Thus, we propose a novel orbital propagation paradigm, $\textrm{ML}-\partial \textrm{SGP4}$, where neural networks are integrated into the orbital propagator. Through stochastic gradient descent, this combined model's inputs, outputs, and parameters can be iteratively refined, surpassing SGP4's precision while maintaining computational speed. This empowers satellite operators and researchers to train the model using high-precision simulated or observed data, advancing orbital prediction capabilities compared to the standard SGP4.
Goals
- Differentiable version of SGP4 (implemented in PyTorch)
- Hybrid SGP4 and machine learning propagation: input/output/parameters corrections of SGP4 from accurate simulated or observed data are learned
- Parallel TLE propagation
- Use of differentiable SGP4 on several spaceflight mechanics problems (state transition matrix computation, covariance transformation, and propagation, orbit determination, ML hybrid orbit propagation, etc.)
How to cite
If you use dsgp4
, we would be grateful if you could star the repository and/or cite our work.
$\partial \textrm{SGP4}$ and its applications for ML hybrid propagation and more, can be found in our publication:
@article{acciarini2024closing,
title={Closing the Gap Between SGP4 and High-Precision Propagation via Differentiable Programming},
author={Acciarini, Giacomo and Baydin, At{\i}l{\i}m G{\"u}ne{\c{s}} and Izzo, Dario},
journal={arXiv preprint arXiv:2402.04830},
year={2024}
}
Installation
Via pip:
pip install dsgp4
Via conda:
conda install conda-forge::dsgp4
or mamba:
mamba install dsgp4
Local installation:
git clone https://github.com/esa/dSGP4.git
cd dSGP4
pip install -e .
Documentation and examples
To get started, follow the examples in the documentation. You will find tutorials with basic and more advanced functionalities and applications.
Authors:
The project originated after the work of the authors at the University of Oxford AI4Science Lab.
Acknowledgements:
We would like to thank Dr. T.S. Kelso for his support and useful pointers on how to correctly validate the code with respect to the official release by Space-Track.
License:
$\partial\textrm{SGP4}$ is distributed under the GNU General Public License version 3. Get in touch with the authors for other licensing options.
Contact:
giacomo.acciarini@gmail.com
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
Built Distribution
File details
Details for the file dsgp4-1.0.2.tar.gz
.
File metadata
- Download URL: dsgp4-1.0.2.tar.gz
- Upload date:
- Size: 217.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2b3123a874c34191185e61d0e2e062f0e994fc8baedf08679973107a0a3968 |
|
MD5 | 35d1766b377ad8c6d98e53b7cf320a61 |
|
BLAKE2b-256 | bacff28ff6a3d891abc37a655a407dfd246be6fe3fe6259bfc807b91bc45bbfa |
File details
Details for the file dsgp4-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: dsgp4-1.0.2-py3-none-any.whl
- Upload date:
- Size: 43.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7abf9b17a4d2efd778fe610df56b4063100e685ebcde51ddb9880be4035c8148 |
|
MD5 | d19dbc8dbb2ba84fbddd667bcbe8a7b8 |
|
BLAKE2b-256 | a8242c9ca1ef8b16eb3b1845aefe902712d801d089442b5a73020f5e7cfb1905 |