Skip to main content

Tradespace Analysis Toolkit for Constellations (TAT-C)

PyPI Python Versions Unit Tests Documentation License DOI

The Tradespace Analysis Toolkit for Constellations (TAT-C) provides low-level data structures and functions for systems engineering analysis and design of Earth-observing space missions suitable for pre-Phase A concept studies.

Documentation: https://tatc.readthedocs.io

Repository: https://github.com/code-lab-org/tatc

Installation

TAT-C requires Python 3.10–3.14. Install the latest release from PyPI:

pip install tatc

Development Installation

To work with the source code, clone the repository and install the tatc library in "editable" mode:

pip install -e .

Note: the following optional dependencies are available with bracket notation:

  • pip install -e ".[dev]": for development (unit testing, coverage, and linting)
  • pip install -e ".[docs]": for generating documentation
  • pip install -e ".[examples]": for running optional examples
  • pip install -e ".[osse]": for running optional observing system simulation experiment (OSSE) examples
  • pip install -e ".[preprocess]": for preprocessing functions (e.g., terrain masks)
  • pip install -e ".[airborne]": for planning flights and modeling sensors with HyPlan, whose outputs the airborne preprocessing functions read (these functions do not require HyPlan)
  • pip install -e ".[tradespace]": for parallel trade studies and searches with optimizers (joblib, Optuna, and pymoo)
  • pip install -e ".[validation]": for running validation notebooks (includes examples and preprocess)

Multiple optional dependencies can be installed with a comma-separated list (e.g., pip install -e ".[dev,examples]")

Development Tools

Development tools are applicable when working with the source code.

Unit Tests

Run unit tests with pytest (installed with the dev optional dependencies):

pytest

Tests can run in parallel with pytest-xdist (e.g., with 8 workers):

pytest -n 8

Run a subset of tests by file, or by a keyword expression with -k:

pytest tests/analysis/test_point_sampling.py -k "geodataframe"

The tests are written with unittest, so python -m unittest also runs them without pytest.

Unit tests run numba-compiled functions (see below) compiled, which coverage cannot trace. To include them in a test coverage report, run the tests with the environment variable NUMBA_DISABLE_JIT=1 (e.g., in bash):

NUMBA_DISABLE_JIT=1 coverage run -m pytest

including html output:

coverage html

Compiled Functions

Numerical functions in tatc.utils are compiled with numba (njit(cache=True)), which caches the compiled machine code in __pycache__ directories next to the source files (or in the directory set by the NUMBA_CACHE_DIR environment variable). Numba recompiles a function only if its own source file changes, so after editing values it uses from other modules (e.g., in tatc/constants.py) or other compiled functions it calls (e.g., in tatc/utils/orbital.py), clear the cache from the project root with:

python -c "import pathlib; [p.unlink() for p in pathlib.Path('src').rglob('*.nb[ci]')]"

Documentation

Generate documentation from the docs directory using the command:

make html

Code Style

This project uses the black code style, applied from the project root:

black .

Pull requests are also linted with pylint, which must score at least 9.0:

pylint --rcfile=.pylintrc src/tatc

License

This project is licensed under the BSD 3-Clause License — see LICENSE for details.

Citation

If you use TAT-C in your research, please cite it using the metadata in CITATION.cff, or the DOI badge above for the latest release.

Contact

Paul T. Grogan paul.grogan@asu.edu

Acknowledgements

This project was supported in part by the National Aeronautics and Space Administration (NASA) Earth Science Division (ESD) Earth Science Technology Office (ESTO) Advanced Information Systems Technology (AIST) program. Financial support is acknowledged under NASA grant numbers: NNX17AE06G, 80NSSC17K0586, 80NSSC20K1118, 80NSSC21K1515, 80NSSC22K1705, 80NSSC24K0575, 80NSSC24K0921; NASA Jet Propulsion Laboratory subcontracts: 1689594, 1686623, 1704657, 1705655; Texas A & M University subaward M2403907.

Current Project Team

Project Alumni

  • I. Josue Tapia-Tamayo
  • Suvan Kumar
  • Isaac Feldman
  • Hayden Daly
  • Lindsay Portelli
  • Matthew Sabatini
  • Evan Abel
  • Sigfried Hache

Metadata

Release files for tatc 3.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tatc 3.8.0
File Size Uploaded Provenance Actions
tatc-3.8.0.tar.gz 18.5 MB With provenance Details for tatc-3.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tatc 3.8.0
File Interpreter ABI Platform Actions
tatc-3.8.0-py3-none-any.whl Python 3 none any Details for tatc-3.8.0-py3-none-any.whl

Total release size: 37.2 MB

Release files / tatc-3.8.0.tar.gz

Download URL tatc-3.8.0.tar.gz
Size 18.5 MB
Tags Source
SHA-256 checksum
How to use checksums
bd2f0996bca65e3dcb40ed138fd1b28e43983b6cc12079762d5b73ce5fb20a10
BLAKE2b-256 checksum
How to use checksums
7fb34a1d63e4e017d0bc8ff4786d60f83cb7384de6836b82aa9d9f6e2e7bf62c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / tatc-3.8.0-py3-none-any.whl

Download URL tatc-3.8.0-py3-none-any.whl
Size 18.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e4554d81f880463ca1ac65d6d0665574988ef79b0d2f4339d07cd21d2e11b4b7
BLAKE2b-256 checksum
How to use checksums
efb92bcff9f2feaf0bbeb18295285db7308e29107a1a41c297414d9075668e7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for tatc 3.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tatc-3.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page