llnl-ssapy 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- llnl_ssapy-1.0.0/CMakeLists.txt +61 -0
- llnl_ssapy-1.0.0/LICENSE +21 -0
- llnl_ssapy-1.0.0/MANIFEST.in +16 -0
- llnl_ssapy-1.0.0/NOTICE +7 -0
- llnl_ssapy-1.0.0/PKG-INFO +207 -0
- llnl_ssapy-1.0.0/README.rst +151 -0
- llnl_ssapy-1.0.0/include/ssapy.h +243 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/PKG-INFO +207 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/SOURCES.txt +46 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/dependency_links.txt +1 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/not-zip-safe +1 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/requires.txt +19 -0
- llnl_ssapy-1.0.0/llnl_ssapy.egg-info/top_level.txt +1 -0
- llnl_ssapy-1.0.0/pyproject.toml +62 -0
- llnl_ssapy-1.0.0/pysrc/ssapy.cpp +83 -0
- llnl_ssapy-1.0.0/setup.cfg +14 -0
- llnl_ssapy-1.0.0/setup.py +56 -0
- llnl_ssapy-1.0.0/src/ssapy.cpp +213 -0
- llnl_ssapy-1.0.0/ssapy/__init__.py +50 -0
- llnl_ssapy-1.0.0/ssapy/accel.py +479 -0
- llnl_ssapy-1.0.0/ssapy/body.py +325 -0
- llnl_ssapy-1.0.0/ssapy/compute.py +2026 -0
- llnl_ssapy-1.0.0/ssapy/constants.py +260 -0
- llnl_ssapy-1.0.0/ssapy/correlate_tracks.py +2250 -0
- llnl_ssapy-1.0.0/ssapy/data_utils.py +38 -0
- llnl_ssapy-1.0.0/ssapy/ellipsoid.py +122 -0
- llnl_ssapy-1.0.0/ssapy/gravity.py +334 -0
- llnl_ssapy-1.0.0/ssapy/io.py +1757 -0
- llnl_ssapy-1.0.0/ssapy/linker.py +328 -0
- llnl_ssapy-1.0.0/ssapy/orbit.py +1958 -0
- llnl_ssapy-1.0.0/ssapy/orbit_solver.py +784 -0
- llnl_ssapy-1.0.0/ssapy/particles.py +277 -0
- llnl_ssapy-1.0.0/ssapy/plotUtils.py +1444 -0
- llnl_ssapy-1.0.0/ssapy/propagator.py +837 -0
- llnl_ssapy-1.0.0/ssapy/rvsampler.py +2157 -0
- llnl_ssapy-1.0.0/ssapy/simple.py +286 -0
- llnl_ssapy-1.0.0/ssapy/update_benchmarks.py +21 -0
- llnl_ssapy-1.0.0/ssapy/utils.py +3376 -0
- llnl_ssapy-1.0.0/tests/test_accel.py +1059 -0
- llnl_ssapy-1.0.0/tests/test_frame.py +230 -0
- llnl_ssapy-1.0.0/tests/test_linker.py +172 -0
- llnl_ssapy-1.0.0/tests/test_orbit.py +1764 -0
- llnl_ssapy-1.0.0/tests/test_orbit_solver.py +281 -0
- llnl_ssapy-1.0.0/tests/test_particles.py +145 -0
- llnl_ssapy-1.0.0/tests/test_plots.py +180 -0
- llnl_ssapy-1.0.0/tests/test_sampler.py +410 -0
- llnl_ssapy-1.0.0/tests/test_utils.py +149 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Minimum required CMake version
|
|
2
|
+
cmake_minimum_required(VERSION 3.15)
|
|
3
|
+
|
|
4
|
+
# Set policies for compatibility
|
|
5
|
+
cmake_policy(SET CMP0048 NEW) # Project version policy
|
|
6
|
+
cmake_policy(SET CMP0063 NEW) # Visibility preset policy
|
|
7
|
+
|
|
8
|
+
# Project settings
|
|
9
|
+
project(ssapy VERSION 1.0 LANGUAGES CXX)
|
|
10
|
+
|
|
11
|
+
# Compiler settings
|
|
12
|
+
set(CMAKE_CXX_STANDARD 17) # Use C++17 standard
|
|
13
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON) # Require C++17
|
|
14
|
+
set(CMAKE_CXX_EXTENSIONS OFF) # Disable compiler-specific extensions
|
|
15
|
+
set(CMAKE_CXX_VISIBILITY_PRESET hidden) # Hide symbols by default
|
|
16
|
+
set(CMAKE_POSITION_INDEPENDENT_CODE ON) # Enable position-independent code (PIC)
|
|
17
|
+
|
|
18
|
+
# macOS-specific settings
|
|
19
|
+
set(CMAKE_MACOSX_RPATH 1)
|
|
20
|
+
|
|
21
|
+
# Output directories
|
|
22
|
+
if(NOT CMAKE_LIBRARY_OUTPUT_DIRECTORY)
|
|
23
|
+
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) # Set default output directory for libraries
|
|
24
|
+
endif()
|
|
25
|
+
|
|
26
|
+
# Find Python
|
|
27
|
+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module)
|
|
28
|
+
set(PYTHON_MODULE_INSTALL_DIR "${Python3_SITEARCH}/ssapy")
|
|
29
|
+
|
|
30
|
+
# Include pybind11 using FetchContent
|
|
31
|
+
include(FetchContent)
|
|
32
|
+
FetchContent_Declare(
|
|
33
|
+
pybind11
|
|
34
|
+
GIT_REPOSITORY https://github.com/pybind/pybind11.git
|
|
35
|
+
GIT_TAG v2.11.1
|
|
36
|
+
)
|
|
37
|
+
FetchContent_MakeAvailable(pybind11)
|
|
38
|
+
|
|
39
|
+
# Include directories
|
|
40
|
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
41
|
+
|
|
42
|
+
# Define the Python module target (_ssapy)
|
|
43
|
+
pybind11_add_module(_ssapy pysrc/ssapy.cpp)
|
|
44
|
+
|
|
45
|
+
# Ensure the Python module is installed in the correct location
|
|
46
|
+
set(CMAKE_POSITION_INDEPENDENT_CODE True)
|
|
47
|
+
install(TARGETS _ssapy
|
|
48
|
+
LIBRARY DESTINATION ssapy # Install the compiled module in Python's site-packages
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
# Define a static library target (ssapy)
|
|
52
|
+
add_library(ssapy STATIC src/ssapy.cpp)
|
|
53
|
+
|
|
54
|
+
# Link the static library to the Python module
|
|
55
|
+
target_link_libraries(_ssapy PUBLIC ssapy)
|
|
56
|
+
|
|
57
|
+
# Add the header file explicitly to the static library target
|
|
58
|
+
target_sources(ssapy PRIVATE include/ssapy.h)
|
|
59
|
+
|
|
60
|
+
# Ensure the header file is included in the Python module target
|
|
61
|
+
target_include_directories(_ssapy PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
llnl_ssapy-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018, Lawrence Livermore National Security, LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
include README.rst
|
|
2
|
+
include LICENSE
|
|
3
|
+
include pyproject.toml
|
|
4
|
+
include CMakeLists.txt
|
|
5
|
+
|
|
6
|
+
include include/*.h
|
|
7
|
+
include pysrc/*.cpp
|
|
8
|
+
include src/*.cpp
|
|
9
|
+
|
|
10
|
+
recursive-include pybind11/include/ *
|
|
11
|
+
include pybind11/CMakeLists.txt
|
|
12
|
+
include pybind11/LICENSE
|
|
13
|
+
recursive-include pybind11/tools *
|
|
14
|
+
recursive-include ssapy *.so
|
|
15
|
+
|
|
16
|
+
recursive-exclude ssapy/data *
|
llnl_ssapy-1.0.0/NOTICE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
This work was produced under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.
|
|
2
|
+
|
|
3
|
+
This work was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor Lawrence Livermore National Security, LLC, nor any of their employees makes any warranty, expressed or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights.
|
|
4
|
+
|
|
5
|
+
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or Lawrence Livermore National Security, LLC.
|
|
6
|
+
|
|
7
|
+
The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or Lawrence Livermore National Security, LLC, and shall not be used for advertising or product endorsement purposes.
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: llnl-ssapy
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A fast, flexible, high-fidelity orbital modeling and analysis tool for orbits spanning from low-Earth orbit into the cislunar regime.
|
|
5
|
+
Author-email: LLNL SSAPy Software Team <yeagerastro@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2018, Lawrence Livermore National Security, LLC
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/LLNL/SSAPy
|
|
29
|
+
Project-URL: Issues, https://github.com/LLNL/SSAPy/issues
|
|
30
|
+
Project-URL: Documentation, https://software.llnl.gov/SSAPy/
|
|
31
|
+
Classifier: Programming Language :: Python :: 3
|
|
32
|
+
Classifier: Operating System :: OS Independent
|
|
33
|
+
Requires-Python: >=3.8
|
|
34
|
+
Description-Content-Type: text/x-rst
|
|
35
|
+
License-File: LICENSE
|
|
36
|
+
License-File: NOTICE
|
|
37
|
+
Requires-Dist: numpy
|
|
38
|
+
Requires-Dist: scipy
|
|
39
|
+
Requires-Dist: astropy
|
|
40
|
+
Requires-Dist: pyerfa
|
|
41
|
+
Requires-Dist: emcee
|
|
42
|
+
Requires-Dist: lmfit
|
|
43
|
+
Requires-Dist: sgp4
|
|
44
|
+
Requires-Dist: matplotlib
|
|
45
|
+
Requires-Dist: pandas
|
|
46
|
+
Requires-Dist: h5py
|
|
47
|
+
Requires-Dist: pypdf2
|
|
48
|
+
Requires-Dist: imageio
|
|
49
|
+
Requires-Dist: ipython
|
|
50
|
+
Requires-Dist: ipyvolume
|
|
51
|
+
Requires-Dist: ipython_genutils
|
|
52
|
+
Requires-Dist: jplephem
|
|
53
|
+
Requires-Dist: tqdm
|
|
54
|
+
Requires-Dist: myst-parser
|
|
55
|
+
Requires-Dist: graphviz
|
|
56
|
+
|
|
57
|
+
SSAPy - Space Situational Awareness for Python
|
|
58
|
+
==============================================
|
|
59
|
+
|
|
60
|
+
|ci_badge| |docs_badge| |codecov_badge| |joss_badge|
|
|
61
|
+
|
|
62
|
+
.. |ci_badge| image:: https://github.com/LLNL/SSAPy/actions/workflows/ci.yml/badge.svg
|
|
63
|
+
:target: https://github.com/LLNL/SSAPy/actions/workflows/ci.yml
|
|
64
|
+
|
|
65
|
+
.. |docs_badge| image:: https://github.com/LLNL/SSAPy/actions/workflows/pages/pages-build-deployment/badge.svg
|
|
66
|
+
:target: https://LLNL.github.io/SSAPy
|
|
67
|
+
|
|
68
|
+
.. |codecov_badge| image:: https://codecov.io/gh/LLNL/SSAPy/branch/main/graph/badge.svg
|
|
69
|
+
:target: https://codecov.io/gh/LLNL/SSAPy
|
|
70
|
+
|
|
71
|
+
.. |joss_badge| image:: https://joss.theoj.org/papers/a629353cbdd8d64a861bb807e12c5d06/status.svg
|
|
72
|
+
:target: https://joss.theoj.org/papers/a629353cbdd8d64a861bb807e12c5d06
|
|
73
|
+
|
|
74
|
+
`SSAPy <https://github.com/LLNL/SSAPy>`_ is a fast, flexible, high-fidelity orbital modeling and analysis tool for orbits spanning from low-Earth orbit into the cislunar regime, and includes the following:
|
|
75
|
+
|
|
76
|
+
- Ability to define satellite parameters (area, mass, radiation and drag coefficients, etc.)
|
|
77
|
+
- Support for multiple data types (e.g., read in orbit from TLE file, define a set of Keplerian, Equinoctial, or Kozai Mean Keplerian elements, etc.)
|
|
78
|
+
- Define a fully customizable analytic force propagation model including the following:
|
|
79
|
+
- Earth gravity models (WGS84, EGM84, EGM96, EGM2008)
|
|
80
|
+
- Lunar gravity model (point source & harmonic)
|
|
81
|
+
- Radiation pressure (Earth & solar)
|
|
82
|
+
- Forces for all planets out to Neptune
|
|
83
|
+
- Atmospheric drag models
|
|
84
|
+
- Maneuvering (takes a user defined burn profile)
|
|
85
|
+
- Various community used integrators: SGP4, Runge-Kutta (4, 8, and 7/8), SciPy, Keplerian, Taylor Series
|
|
86
|
+
- User definable timesteps with the ability to return various parameters for any orbit and at any desired timestep (e.g., magnitude, state vector, TLE, Keplerian elements, periapsis, apoapsis, specific angular momentum, and many more.)
|
|
87
|
+
- Ground and space-based observer models
|
|
88
|
+
- Location and time of various lighting conditions of interest
|
|
89
|
+
- Multiple-hypothesis tracking (MHT) UCT linker
|
|
90
|
+
- Vectorized computations (use of array broadcasting for fast computation, easily parallelizable and deployable on HPC machines)
|
|
91
|
+
- Short arc probabilistic orbit determination methods
|
|
92
|
+
- Conjunction probability estimation
|
|
93
|
+
- Built-in uncertainty quantification
|
|
94
|
+
- Support for Monte Carlo runs and data fusion
|
|
95
|
+
- Support for multiple coordinate frames and coordinate frame conversions (GCRF, IERS, GCRS Cartesian, TEME Cartesian, ra/dec, NTW, zenith/azimuth, apparent positions, orthoginal tangent plane, and many more.)
|
|
96
|
+
- Various plotting capabilities (ground tracks, 3D orbit plotting, cislunar trajectory visualization, etc.)
|
|
97
|
+
- User definable timesteps and orbit information retrieval times, in which the user can query parameters of interest for that orbit and time.
|
|
98
|
+
|
|
99
|
+
Installation
|
|
100
|
+
------------
|
|
101
|
+
|
|
102
|
+
For installation details, see the `Installing SSAPy <https://LLNL.github.io/SSAPy/installation.html>`_ section of the documentation.
|
|
103
|
+
|
|
104
|
+
Strict dependencies
|
|
105
|
+
-------------------
|
|
106
|
+
|
|
107
|
+
- `Python <http://docs.python-guide.org/en/latest/starting/installation/>`_ (3.8+)
|
|
108
|
+
|
|
109
|
+
The following are installed automatically when you install SSAPy:
|
|
110
|
+
|
|
111
|
+
- `numpy <https://scipy.org/install.html>`_;
|
|
112
|
+
- `scipy <https://scipy.org/scipylib/index.html>`_ for many statistical functions;
|
|
113
|
+
- `astropy <https://www.astropy.org/>`_ for astronomy related functions;
|
|
114
|
+
- `pyerfa <https://pypi.org/project/pyerfa/>`_ a Python wrapper for the ERFA library;
|
|
115
|
+
- `emcee <https://pypi.org/project/emcee/>`_ an affine-invariant ensemble sampler for Markov chain Monte Carlo;
|
|
116
|
+
- `lmfit <https://pypi.org/project/lmfit/>`_ a package for non-linear least-squares minimization and curve fitting;
|
|
117
|
+
- `sgp4 <https://pypi.org/project/sgp4/>`_ contains functions to compute the positions of satellites in Earth orbit;
|
|
118
|
+
- `matplotlib <https://matplotlib.org/>`_ as a plotting backend;
|
|
119
|
+
- and other utility packages, as enumerated in `setup.py`.
|
|
120
|
+
|
|
121
|
+
Documentation
|
|
122
|
+
-------------
|
|
123
|
+
|
|
124
|
+
All documentation is hosted at `https://LLNL.github.io/SSAPy/ <https://LLNL.github.io/SSAPy/>`_.
|
|
125
|
+
|
|
126
|
+
The API documentation may also be seen by doing:
|
|
127
|
+
|
|
128
|
+
.. code-block:: bash
|
|
129
|
+
|
|
130
|
+
python3
|
|
131
|
+
>>> import ssapy
|
|
132
|
+
>>> help(ssapy)
|
|
133
|
+
|
|
134
|
+
Contributing
|
|
135
|
+
------------
|
|
136
|
+
|
|
137
|
+
Contributing to SSAPy is relatively easy. Just send us a `pull request <https://help.github.com/articles/using-pull-requests/>`_. When you send your request, make `main` the destination branch on the `SSAPy repository <https://github.com/LLNL/SSAPy>`_.
|
|
138
|
+
|
|
139
|
+
Your PR must pass SSAPy's unit tests and documentation tests, and must be `PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_ compliant. We enforce these guidelines with our CI process. To run these tests locally, and for helpful tips on git, see our `Contribution Guide <https://ssapy.reathedocs.io/en/latest/contribution_guide.html>`_.
|
|
140
|
+
|
|
141
|
+
SSAPy's `main` branch has the latest contributions. Pull requests should target `main`, and users who want the latest package versions, features, etc. can use `main`.
|
|
142
|
+
|
|
143
|
+
Releases
|
|
144
|
+
--------
|
|
145
|
+
|
|
146
|
+
For multi-user site deployments or other use cases that need very stable software installations, we recommend using SSAPy's `stable releases <https://github.com/LLNL/SSAPy/releases>`_.
|
|
147
|
+
|
|
148
|
+
Each SSAPy release series also has a corresponding branch, e.g. `releases/v0.14` has `0.14.x` versions of SSAPy, and `releases/v0.13` has `0.13.x` versions. We backport important bug fixes to these branches but we do not advance the package versions or make other changes that would change the way SSAPy concretizes dependencies within a release branch. So, you can base your SSAPy deployment on a release branch and `git pull` to get fixes, without the package churn that comes with `main`.
|
|
149
|
+
|
|
150
|
+
The latest release is always available with the `releases/latest` tag.
|
|
151
|
+
|
|
152
|
+
See the `docs on releases <https://ssapy.reathedocs.io/en/latest/contribution_guide.html#releases>`_ for more details.
|
|
153
|
+
|
|
154
|
+
Code of Conduct
|
|
155
|
+
---------------
|
|
156
|
+
|
|
157
|
+
Please note that SSAPy has a `Code of Conduct <https://github.com/LLNL/SSAPy/blob/main/CODE_OF_CONDUCT.md>`_. By participating in the SSAPy community, you agree to abide by its rules.
|
|
158
|
+
|
|
159
|
+
Authors
|
|
160
|
+
-------
|
|
161
|
+
|
|
162
|
+
SSAPy was developed with support from Lawrence Livermore National Laboratory's (LLNL) Laboratory Directed Research and Development (LDRD) Program under projects
|
|
163
|
+
`19-SI-004 <https://ldrd-annual.llnl.gov/archives/ldrd-annual-2021/project-highlights/high-performance-computing-simulation-and-data-science/madstare-modeling-and-analysis-data-starved-or-ambiguous-environments>`_ and
|
|
164
|
+
`22-ERD-054 <https://ldrd-annual.llnl.gov/ldrd-annual-2023/project-highlights/space-security/data-demand-capable-space-domain-awareness-architecture>`_, by the following individuals (in alphabetical order):
|
|
165
|
+
|
|
166
|
+
- `Robert Armstrong <https://orcid.org/0000-0002-6911-1038>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
167
|
+
- `Nathan Golovich <https://orcid.org/0000-0003-2632-572X>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
168
|
+
- `Julia Ebert <https://orcid.org/0000-0002-1975-772X>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now at Fleet Robotics)
|
|
169
|
+
- `Noah Lifset <https://orcid.org/0000-0003-3397-7021>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now PhD student at `UT Austin <https://www.utexas.edu>`_)
|
|
170
|
+
- `Dan Merl <https://orcid.org/0000-0003-4196-5354>`_ (`LLNL <https://www.llnl.gov/>`_) - Developer
|
|
171
|
+
- `Joshua Meyers <https://orcid.org/0000-0002-2308-4230>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now at `KIPAC <https://kipac.stanford.edu/>`_) - Former Lead Developer
|
|
172
|
+
- `Caleb Miller <https://orcid.org/0000-0001-6249-0031>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
173
|
+
- `Alexx Perloff <https://orcid.org/0000-0001-5230-0396>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
174
|
+
- `Kerianne Pruett <https://orcid.org/0000-0002-2911-8657>`_ (formerly `LLNL <https://www.llnl.gov/>`_)
|
|
175
|
+
- `Edward Schlafly <https://orcid.org/0000-0002-3569-7421>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now `STScI <https://www.stsci.edu/>`_) - Former Lead Developer
|
|
176
|
+
- `Michael Schneider <https://orcid.org/0000-0002-8505-7094>`_ (`LLNL <https://www.llnl.gov/>`_) - Creator, Former Lead Developer
|
|
177
|
+
- `Travis Yeager <https://orcid.org/0000-0002-2582-0190>`_ (`LLNL <https://www.llnl.gov/>`_) - Current Lead Developer
|
|
178
|
+
|
|
179
|
+
Many thanks go to SSAPy's other `contributors <https://github.com/llnl/ssapy/graphs/contributors>`_.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
Citing SSAPy
|
|
183
|
+
^^^^^^^^^^^^
|
|
184
|
+
|
|
185
|
+
On GitHub, you can copy this citation in APA or BibTeX format via the "Cite this repository" button.
|
|
186
|
+
If you prefer MLA or Chicago style citations, see the comments in `CITATION.cff <https://github.com/LLNL/SSAPy/blob/main/CITATION.cff>`_.
|
|
187
|
+
|
|
188
|
+
You may also cite the following publications (click `here <https://github.com/LLNL/SSAPy/blob/main/docs/source/citations.bib>`_ for list of BibTeX citations):
|
|
189
|
+
|
|
190
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2022). *Unaided Dynamical Orbit Stability in the Cislunar Regime.* [Poster presentation]. Cislunar Security Conference, USA.
|
|
191
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2023). *Long-term N-body Stability in Cislunar Space.* [Poster presentation]. Advanced Maui Optical and Space Surveillance (AMOS) Technologies Conference, USA.
|
|
192
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2023, September). Long-term N-body Stability in Cislunar Space. In S. Ryan (Ed.), *Proceedings of the Advanced Maui Optical and Space Surveillance (AMOS) Technologies Conference* (p. 208). Retrieved from `https://amostech.com/TechnicalPapers/2023/Poster/Yeager.pdf <https://amostech.com/TechnicalPapers/2023/Poster/Yeager.pdf>`_
|
|
193
|
+
|
|
194
|
+
License
|
|
195
|
+
-------
|
|
196
|
+
|
|
197
|
+
SSAPy is distributed under the terms of the MIT license. All new contributions must be made under the MIT license.
|
|
198
|
+
|
|
199
|
+
See `Link to license <https://github.com/LLNL/SSAPy/blob/main/LICENSE>`_ and `NOTICE <https://github.com/LLNL/SSAPy/blob/main/NOTICE>`_ for details.
|
|
200
|
+
|
|
201
|
+
SPDX-License-Identifier: MIT
|
|
202
|
+
|
|
203
|
+
LLNL-CODE-862420
|
|
204
|
+
|
|
205
|
+
Documentation Inspiration
|
|
206
|
+
-------------------------
|
|
207
|
+
The structure and organization of this repository's documentation were inspired by the excellent design and layout of the `Coffea <https://coffea-hep.readthedocs.io/en/latest/index.html>`_ project.
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
SSAPy - Space Situational Awareness for Python
|
|
2
|
+
==============================================
|
|
3
|
+
|
|
4
|
+
|ci_badge| |docs_badge| |codecov_badge| |joss_badge|
|
|
5
|
+
|
|
6
|
+
.. |ci_badge| image:: https://github.com/LLNL/SSAPy/actions/workflows/ci.yml/badge.svg
|
|
7
|
+
:target: https://github.com/LLNL/SSAPy/actions/workflows/ci.yml
|
|
8
|
+
|
|
9
|
+
.. |docs_badge| image:: https://github.com/LLNL/SSAPy/actions/workflows/pages/pages-build-deployment/badge.svg
|
|
10
|
+
:target: https://LLNL.github.io/SSAPy
|
|
11
|
+
|
|
12
|
+
.. |codecov_badge| image:: https://codecov.io/gh/LLNL/SSAPy/branch/main/graph/badge.svg
|
|
13
|
+
:target: https://codecov.io/gh/LLNL/SSAPy
|
|
14
|
+
|
|
15
|
+
.. |joss_badge| image:: https://joss.theoj.org/papers/a629353cbdd8d64a861bb807e12c5d06/status.svg
|
|
16
|
+
:target: https://joss.theoj.org/papers/a629353cbdd8d64a861bb807e12c5d06
|
|
17
|
+
|
|
18
|
+
`SSAPy <https://github.com/LLNL/SSAPy>`_ is a fast, flexible, high-fidelity orbital modeling and analysis tool for orbits spanning from low-Earth orbit into the cislunar regime, and includes the following:
|
|
19
|
+
|
|
20
|
+
- Ability to define satellite parameters (area, mass, radiation and drag coefficients, etc.)
|
|
21
|
+
- Support for multiple data types (e.g., read in orbit from TLE file, define a set of Keplerian, Equinoctial, or Kozai Mean Keplerian elements, etc.)
|
|
22
|
+
- Define a fully customizable analytic force propagation model including the following:
|
|
23
|
+
- Earth gravity models (WGS84, EGM84, EGM96, EGM2008)
|
|
24
|
+
- Lunar gravity model (point source & harmonic)
|
|
25
|
+
- Radiation pressure (Earth & solar)
|
|
26
|
+
- Forces for all planets out to Neptune
|
|
27
|
+
- Atmospheric drag models
|
|
28
|
+
- Maneuvering (takes a user defined burn profile)
|
|
29
|
+
- Various community used integrators: SGP4, Runge-Kutta (4, 8, and 7/8), SciPy, Keplerian, Taylor Series
|
|
30
|
+
- User definable timesteps with the ability to return various parameters for any orbit and at any desired timestep (e.g., magnitude, state vector, TLE, Keplerian elements, periapsis, apoapsis, specific angular momentum, and many more.)
|
|
31
|
+
- Ground and space-based observer models
|
|
32
|
+
- Location and time of various lighting conditions of interest
|
|
33
|
+
- Multiple-hypothesis tracking (MHT) UCT linker
|
|
34
|
+
- Vectorized computations (use of array broadcasting for fast computation, easily parallelizable and deployable on HPC machines)
|
|
35
|
+
- Short arc probabilistic orbit determination methods
|
|
36
|
+
- Conjunction probability estimation
|
|
37
|
+
- Built-in uncertainty quantification
|
|
38
|
+
- Support for Monte Carlo runs and data fusion
|
|
39
|
+
- Support for multiple coordinate frames and coordinate frame conversions (GCRF, IERS, GCRS Cartesian, TEME Cartesian, ra/dec, NTW, zenith/azimuth, apparent positions, orthoginal tangent plane, and many more.)
|
|
40
|
+
- Various plotting capabilities (ground tracks, 3D orbit plotting, cislunar trajectory visualization, etc.)
|
|
41
|
+
- User definable timesteps and orbit information retrieval times, in which the user can query parameters of interest for that orbit and time.
|
|
42
|
+
|
|
43
|
+
Installation
|
|
44
|
+
------------
|
|
45
|
+
|
|
46
|
+
For installation details, see the `Installing SSAPy <https://LLNL.github.io/SSAPy/installation.html>`_ section of the documentation.
|
|
47
|
+
|
|
48
|
+
Strict dependencies
|
|
49
|
+
-------------------
|
|
50
|
+
|
|
51
|
+
- `Python <http://docs.python-guide.org/en/latest/starting/installation/>`_ (3.8+)
|
|
52
|
+
|
|
53
|
+
The following are installed automatically when you install SSAPy:
|
|
54
|
+
|
|
55
|
+
- `numpy <https://scipy.org/install.html>`_;
|
|
56
|
+
- `scipy <https://scipy.org/scipylib/index.html>`_ for many statistical functions;
|
|
57
|
+
- `astropy <https://www.astropy.org/>`_ for astronomy related functions;
|
|
58
|
+
- `pyerfa <https://pypi.org/project/pyerfa/>`_ a Python wrapper for the ERFA library;
|
|
59
|
+
- `emcee <https://pypi.org/project/emcee/>`_ an affine-invariant ensemble sampler for Markov chain Monte Carlo;
|
|
60
|
+
- `lmfit <https://pypi.org/project/lmfit/>`_ a package for non-linear least-squares minimization and curve fitting;
|
|
61
|
+
- `sgp4 <https://pypi.org/project/sgp4/>`_ contains functions to compute the positions of satellites in Earth orbit;
|
|
62
|
+
- `matplotlib <https://matplotlib.org/>`_ as a plotting backend;
|
|
63
|
+
- and other utility packages, as enumerated in `setup.py`.
|
|
64
|
+
|
|
65
|
+
Documentation
|
|
66
|
+
-------------
|
|
67
|
+
|
|
68
|
+
All documentation is hosted at `https://LLNL.github.io/SSAPy/ <https://LLNL.github.io/SSAPy/>`_.
|
|
69
|
+
|
|
70
|
+
The API documentation may also be seen by doing:
|
|
71
|
+
|
|
72
|
+
.. code-block:: bash
|
|
73
|
+
|
|
74
|
+
python3
|
|
75
|
+
>>> import ssapy
|
|
76
|
+
>>> help(ssapy)
|
|
77
|
+
|
|
78
|
+
Contributing
|
|
79
|
+
------------
|
|
80
|
+
|
|
81
|
+
Contributing to SSAPy is relatively easy. Just send us a `pull request <https://help.github.com/articles/using-pull-requests/>`_. When you send your request, make `main` the destination branch on the `SSAPy repository <https://github.com/LLNL/SSAPy>`_.
|
|
82
|
+
|
|
83
|
+
Your PR must pass SSAPy's unit tests and documentation tests, and must be `PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_ compliant. We enforce these guidelines with our CI process. To run these tests locally, and for helpful tips on git, see our `Contribution Guide <https://ssapy.reathedocs.io/en/latest/contribution_guide.html>`_.
|
|
84
|
+
|
|
85
|
+
SSAPy's `main` branch has the latest contributions. Pull requests should target `main`, and users who want the latest package versions, features, etc. can use `main`.
|
|
86
|
+
|
|
87
|
+
Releases
|
|
88
|
+
--------
|
|
89
|
+
|
|
90
|
+
For multi-user site deployments or other use cases that need very stable software installations, we recommend using SSAPy's `stable releases <https://github.com/LLNL/SSAPy/releases>`_.
|
|
91
|
+
|
|
92
|
+
Each SSAPy release series also has a corresponding branch, e.g. `releases/v0.14` has `0.14.x` versions of SSAPy, and `releases/v0.13` has `0.13.x` versions. We backport important bug fixes to these branches but we do not advance the package versions or make other changes that would change the way SSAPy concretizes dependencies within a release branch. So, you can base your SSAPy deployment on a release branch and `git pull` to get fixes, without the package churn that comes with `main`.
|
|
93
|
+
|
|
94
|
+
The latest release is always available with the `releases/latest` tag.
|
|
95
|
+
|
|
96
|
+
See the `docs on releases <https://ssapy.reathedocs.io/en/latest/contribution_guide.html#releases>`_ for more details.
|
|
97
|
+
|
|
98
|
+
Code of Conduct
|
|
99
|
+
---------------
|
|
100
|
+
|
|
101
|
+
Please note that SSAPy has a `Code of Conduct <https://github.com/LLNL/SSAPy/blob/main/CODE_OF_CONDUCT.md>`_. By participating in the SSAPy community, you agree to abide by its rules.
|
|
102
|
+
|
|
103
|
+
Authors
|
|
104
|
+
-------
|
|
105
|
+
|
|
106
|
+
SSAPy was developed with support from Lawrence Livermore National Laboratory's (LLNL) Laboratory Directed Research and Development (LDRD) Program under projects
|
|
107
|
+
`19-SI-004 <https://ldrd-annual.llnl.gov/archives/ldrd-annual-2021/project-highlights/high-performance-computing-simulation-and-data-science/madstare-modeling-and-analysis-data-starved-or-ambiguous-environments>`_ and
|
|
108
|
+
`22-ERD-054 <https://ldrd-annual.llnl.gov/ldrd-annual-2023/project-highlights/space-security/data-demand-capable-space-domain-awareness-architecture>`_, by the following individuals (in alphabetical order):
|
|
109
|
+
|
|
110
|
+
- `Robert Armstrong <https://orcid.org/0000-0002-6911-1038>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
111
|
+
- `Nathan Golovich <https://orcid.org/0000-0003-2632-572X>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
112
|
+
- `Julia Ebert <https://orcid.org/0000-0002-1975-772X>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now at Fleet Robotics)
|
|
113
|
+
- `Noah Lifset <https://orcid.org/0000-0003-3397-7021>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now PhD student at `UT Austin <https://www.utexas.edu>`_)
|
|
114
|
+
- `Dan Merl <https://orcid.org/0000-0003-4196-5354>`_ (`LLNL <https://www.llnl.gov/>`_) - Developer
|
|
115
|
+
- `Joshua Meyers <https://orcid.org/0000-0002-2308-4230>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now at `KIPAC <https://kipac.stanford.edu/>`_) - Former Lead Developer
|
|
116
|
+
- `Caleb Miller <https://orcid.org/0000-0001-6249-0031>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
117
|
+
- `Alexx Perloff <https://orcid.org/0000-0001-5230-0396>`_ (`LLNL <https://www.llnl.gov/>`_)
|
|
118
|
+
- `Kerianne Pruett <https://orcid.org/0000-0002-2911-8657>`_ (formerly `LLNL <https://www.llnl.gov/>`_)
|
|
119
|
+
- `Edward Schlafly <https://orcid.org/0000-0002-3569-7421>`_ (formerly `LLNL <https://www.llnl.gov/>`_, now `STScI <https://www.stsci.edu/>`_) - Former Lead Developer
|
|
120
|
+
- `Michael Schneider <https://orcid.org/0000-0002-8505-7094>`_ (`LLNL <https://www.llnl.gov/>`_) - Creator, Former Lead Developer
|
|
121
|
+
- `Travis Yeager <https://orcid.org/0000-0002-2582-0190>`_ (`LLNL <https://www.llnl.gov/>`_) - Current Lead Developer
|
|
122
|
+
|
|
123
|
+
Many thanks go to SSAPy's other `contributors <https://github.com/llnl/ssapy/graphs/contributors>`_.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
Citing SSAPy
|
|
127
|
+
^^^^^^^^^^^^
|
|
128
|
+
|
|
129
|
+
On GitHub, you can copy this citation in APA or BibTeX format via the "Cite this repository" button.
|
|
130
|
+
If you prefer MLA or Chicago style citations, see the comments in `CITATION.cff <https://github.com/LLNL/SSAPy/blob/main/CITATION.cff>`_.
|
|
131
|
+
|
|
132
|
+
You may also cite the following publications (click `here <https://github.com/LLNL/SSAPy/blob/main/docs/source/citations.bib>`_ for list of BibTeX citations):
|
|
133
|
+
|
|
134
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2022). *Unaided Dynamical Orbit Stability in the Cislunar Regime.* [Poster presentation]. Cislunar Security Conference, USA.
|
|
135
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2023). *Long-term N-body Stability in Cislunar Space.* [Poster presentation]. Advanced Maui Optical and Space Surveillance (AMOS) Technologies Conference, USA.
|
|
136
|
+
- Yeager, T., Pruett, K., & Schneider, M. (2023, September). Long-term N-body Stability in Cislunar Space. In S. Ryan (Ed.), *Proceedings of the Advanced Maui Optical and Space Surveillance (AMOS) Technologies Conference* (p. 208). Retrieved from `https://amostech.com/TechnicalPapers/2023/Poster/Yeager.pdf <https://amostech.com/TechnicalPapers/2023/Poster/Yeager.pdf>`_
|
|
137
|
+
|
|
138
|
+
License
|
|
139
|
+
-------
|
|
140
|
+
|
|
141
|
+
SSAPy is distributed under the terms of the MIT license. All new contributions must be made under the MIT license.
|
|
142
|
+
|
|
143
|
+
See `Link to license <https://github.com/LLNL/SSAPy/blob/main/LICENSE>`_ and `NOTICE <https://github.com/LLNL/SSAPy/blob/main/NOTICE>`_ for details.
|
|
144
|
+
|
|
145
|
+
SPDX-License-Identifier: MIT
|
|
146
|
+
|
|
147
|
+
LLNL-CODE-862420
|
|
148
|
+
|
|
149
|
+
Documentation Inspiration
|
|
150
|
+
-------------------------
|
|
151
|
+
The structure and organization of this repository's documentation were inspired by the excellent design and layout of the `Coffea <https://coffea-hep.readthedocs.io/en/latest/index.html>`_ project.
|