{"id":13765569,"url":"https://github.com/nyx-space/anise","last_synced_at":"2026-05-13T07:11:36.104Z","repository":{"id":45058052,"uuid":"433689468","full_name":"nyx-space/anise","owner":"nyx-space","description":"ANISE provides a toolkit and files for Attitude, Navigation, Instrument, Spacecraft, and Ephemeris data. It's a modern replacement of the NAIF SPICE toolkit.","archived":false,"fork":false,"pushed_at":"2026-05-02T18:43:04.000Z","size":62951,"stargazers_count":229,"open_issues_count":33,"forks_count":36,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-05-02T20:27:18.647Z","etag":null,"topics":["attitude","ephemeris","naif","rust","spice"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nyx-space.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["nyx-space"]}},"created_at":"2021-12-01T05:02:12.000Z","updated_at":"2026-05-02T18:43:08.000Z","dependencies_parsed_at":"2023-10-25T13:56:19.237Z","dependency_job_id":null,"html_url":"https://github.com/nyx-space/anise","commit_stats":null,"previous_names":["nyx-space/anise","anise-toolkit/anise.rs"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/nyx-space/anise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyx-space%2Fanise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyx-space%2Fanise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyx-space%2Fanise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyx-space%2Fanise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyx-space","download_url":"https://codeload.github.com/nyx-space/anise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyx-space%2Fanise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32770544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["attitude","ephemeris","naif","rust","spice"],"created_at":"2024-08-03T16:00:41.586Z","updated_at":"2026-05-08T07:02:43.580Z","avatar_url":"https://github.com/nyx-space.png","language":"Rust","funding_links":["https://github.com/sponsors/nyx-space"],"categories":["Astronomy"],"sub_categories":["Astronomy Software"],"readme":"# ANISE: Attitude, Navigation, Instrument, Spacecraft, Ephemeris\n\n## A modern, high-performance toolkit for space mission design and operations.\n\n[![Rust](https://github.com/nyx-space/anise/actions/workflows/rust.yml/badge.svg)](https://github.com/nyx-space/anise/actions/workflows/rust.yml)\n[![License: MPL 2.0](https://img.shields.io/badge/License-MPL_2.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)\n\n![ANISE LOGO](./ANISE-logo.png)\n\n**NASA TRL 9**: ANISE was used throughout the operations of the Firefly Blue Ghost lunar lander, from launch until successful landing.\n\n-----\n\n## Introduction\n\nTired of the usual complexities, global state, and lack of thread safety in legacy astrodynamics toolkits? **ANISE** is a fresh, Rust-powered alternative to the NAIF SPICE toolkit, engineered for modern computing environments.\n\nWhether you are plotting a trajectory to Mars, orienting a constellation of satellites, or performing massive parallel analysis on the cloud, ANISE provides the tools you need to get it right.\n\n### Why ANISE?\n\nSpace missions demand precision, but modern engineering demands efficiency and safety.\n\n| Feature | CSPICE / SpiceyPy | ANISE |\n| :--- | :--- | :--- |\n| **Thread Safety** | No (Global state/locks) | **Guaranteed (Rust ownership)** |\n| **Performance** | Single-threaded | **Parallel (`many` queries)** |\n| **Math Validation** | Runtime errors | **Type-safe Frame checks** |\n| **API Style** | Procedural (Integer IDs) | **Object-Oriented / Pythonic** |\n| **Serialization** | None | **S-Expressions (Cloud Native)** |\n\nANISE supports many SPICE kernels. Binary kernels are supported as-is, while text kernels must be transformed into their ANISE equivalent (usually `.pca` or `.lka` files).\n\n| Kernel Type | Supported | Note |\n| :--- | :---: | :--- |\n| **BSP / SPK** | ✅ | Supported as-is |\n| **BPC** | ✅ | Supported as-is |\n| **TK (Text)** | 🔄 | Supported after transformation |\n| **LSK** | 🔄 | Supported after transformation |\n| **GM** | 🔄 | Supported after transformation |\n| **CK** | ❌ | Yet to be supported |\n| **SCLK** | ❌ | Yet to be supported |\n| **DSK** | ❌ | Yet to be supported |\n| **IK / EK** | ❌ | Yet to be supported |\n\n### Supported SPK Types\n\nFor more details on SPK types, refer to the [NAIF SPK Required Reading](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html). The following table summarizes the types supported by ANISE.\n\n| SPK Type | Interpolation | NAIF SPICE | ANISE | Typically used in |\n| :--- | :--- | :---: | :---: | :--- |\n| **Type 1** | Modified Differences | ✅ | ✅ | NASA internal trajectory tools (e.g. DPTRAJ) |\n| **Type 2** | Chebyshev Triplet | ✅ | ✅ | Planetary ephemerides (e.g., JPL DE series) |\n| **Type 3** | Chebyshev Sextuplet | ✅ | ✅ | Planetary ephemerides (e.g., JPL DE series) |\n| **Type 5** | Discrete states | ✅ | ❌ | Two-body propagation |\n| **Type 8** | Lagrange (Equal Step) | ✅ | 🧪 | Uncommon spacecraft trajectories from numerical integration |\n| **Type 9** | Lagrange (Unequal Step) | ✅ | ✅ | Spacecraft trajectories from numerical integration |\n| **Type 10** | Space Command TLE | ✅ | ❌ | Please don't use TLEs, a punch-card format (no joke) |\n| **Type 12** | Hermite (Equal Step) | ✅ | 🧪 | Uncommon spacecraft trajectories from numerical integration |\n| **Type 13** | Hermite (Unequal Step) | ✅ | ✅ | Spacecraft trajectories from numerical integration |\n| **Type 14** | Chebyshev Sextuplet (Unequal Step) | ✅ | ❌ | Never seen in the wild, probably good for slow-moving objects |\n| **Type 15** | Precessing Conic Propagation | ✅ | ❌ | Precessing conic elements |\n| **Type 17** | Equinoctial Elements | ✅ | ❌ | [NAIF docs](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html#Type%2017:%20Equinoctial%20Elements) |\n| **Type 18** | ESOC/DDID Hermite/Lagrange Interpolation | ✅ | ❌ | [NAIF docs](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html#Type%2018:%20ESOC/DDID%20Hermite/Lagrange%20Interpolation) |\n| **Type 19** | ESOC/DDID Piecewise Interpolation | ✅ | ❌ | [NAIF docs](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html#Type%2019:%20ESOC/DDID%20Piecewise%20Interpolation) |\n| **Type 20** | Chebyshev Triplet (velocity only) | ✅ | ❌ | [NAIF docs](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html#Type%2020:%20Chebyshev%20velocity%20only) |\n| **Type 21** | Extended Modified Difference Arrays | ✅ | ❌ | [NAIF docs](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/spk.html#Type%2021:%20Extended%20Modified%20Difference%20Arrays) |\n\n_Note:_ 🧪 means the SPK type is supported but no public SPK of that type could be found to validate the implementation. Please provide one if you have one!\n\n## Architecture\n\nANISE is a \"Core + Bindings\" ecosystem. The heavy lifting is done in Rust, ensuring maximum performance and safety, which is then exposed to your language or tool of choice.\n\n```mermaid\ngraph TD\n    Data[Kernels: SPK, PCK, LKA] --\u003e Core\n    Core[\"ANISE Core (Rust)\"]\n    Core --\u003e Bindings[Bindings \u0026 Tools]\n    Bindings --\u003e Py[\"Python (anise-py)\"]\n    Bindings --\u003e CLI[\"CLI Tools (anise-cli)\"]\n    Bindings --\u003e GUI[\"Visualizer (anise-gui)\"]\n    Bindings --\u003e CPP[\"C++ (Coming Soon)\"]\n```\n\n## Key Features\n\n  * **Universal Loading**: Seamlessly load SPK, BPC, PCK, FK, TPC, and the new **LKA** (Location Kernel Anise) files.\n  * **Analysis Engine**: A declarative system to define engineering reports and events using **S-Expressions**. Define complex queries (eclipses, line-of-sight) on a client and execute them safely on remote workers without arbitrary code execution risks.\n  * **Time System Mastery**: Extensive support for all time systems (TT, TAI, ET, TDB, UTC, GPS) powered by the `hifitime` library.\n  * **Rigid Body Physics**: Validated high-precision translations, rotations, and rigid body transformations.\n  * **Frame Safety**: ANISE checks that all frame translations or rotations are physically valid before performing any computation.\n  * **Concurrency**: Designed for modern hardware. Forget about mutexes and race conditions; ANISE guarantees thread safety.\n\n## The Ecosystem\n\nThis repository contains the entire ANISE suite:\n\n### 🦀 [ANISE Core (Rust)](./anise/README.md)\n\nThe heart of the project. Direct access to the full range of features, memory safety, and robust error handling.\n\n  * **Location**: [`./anise`](./anise/)\n  * **Docs**: [API Documentation](https://docs.rs/anise/latest/anise/)\n\n### 🐍 [ANISE Python](./anise-py/README.md)\n\nFirst-class support for Python. Leverage Rust's speed without leaving your favorite scripting environment. Includes Jupyter notebooks and tutorials.\n\n  * **Location**: [`./anise-py`](./anise-py/)\n\n### 🖥️ [ANISE GUI](./anise-gui/README.md)\n\nA graphical interface to inspect your data files. Quickly check segment start/end times in any time scale (including UNIX UTC seconds) for SPK, BPC, and PCA files.\n\n  * **Location**: [`./anise-gui`](./anise-gui/)\n\n### ⚙️ [ANISE CLI](./anise-cli/)\n\nCommand-line utilities for quick file inspection, downloading test data, and converting kernel formats.\n\n  * **Location**: [`./anise-cli`](./anise-cli/)\n\n## Validation\n\nWe rigorously validate ANISE against SPICE. Our validation workflow runs:\n\n  * Over **100,000 queries** on the `DE440.bsp` file.\n  * **7,305 queries** for each frame in the `PCK08` file (covering 20 years of data).\n  * Thousands of rotations from Earth's high-precision BPC file.\n\n**A Note on Precision**: The PCK data from the IAU is based on polynomial approximations expressed in centuries past J2000. While legacy toolkits use floating-point arithmetic for time, ANISE uses `hifitime` (integer arithmetic) for all time computations. You might see discrepancies of up to 1 millidegree in rotation angles, but this represents ANISE's higher temporal precision avoiding floating-point rounding errors.\n\n## Resources and Assets\n\nNyx Space provides several important SPICE files for your convenience:\n\n  * **[de440s.bsp](http://public-data.nyxspace.com/anise/de440s.bsp)**: JPL's latest ephemeris dataset (1900-2050).\n  * **[de440.bsp](http://public-data.nyxspace.com/anise/de440.bsp)**: JPL's long-term ephemeris dataset.\n  * **[pck08.pca](http://public-data.nyxspace.com/anise/v0.7/pck08.pca)**: Planetary constants kernel (ANISE format), built from JPL's gravitational data.\n  * **[moon_fk_de440.epa](http://public-data.nyxspace.com/anise/v0.7/moon_fk_de440.epa)**: A Moon frame kernel built from JPL data.\n\n\u003e **Note on Lunar Frames**: For accurate lunar work, we recommend using the `moon_fk_de440.epa` file with `moon_pa_de440_200625.bpc` (Principal Axes) and an ephemeris file (e.g., `de440.bsp`), rather than the low-fidelity IAU Moon frame. See [`moon_de440_220930.txt`](./data/moon_de440_220930.txt) for details.\n\n## Contributing\n\nANISE is an open-source project, and we welcome contributions! Whether you want to request a feature, report a bug, contribute code, or improve the documentation, we appreciate your help.\n\n## License\n\nANISE is distributed under the Mozilla Public License 2.0 (MPL-2.0). This license allows you to use ANISE in both open and proprietary software, with the requirement that any modifications to the ANISE source code are also released under the MPL-2.0.\n\nFor more details, see the [full license text](./LICENSE) or a [summary on GitHub](https://choosealicense.com/licenses/mpl-2.0/).\n\n## Acknowledgements\n\nANISE is heavily inspired by the NAIF SPICE toolkit and its excellent documentation.\n\n## Contact\n\nHave questions or feedback? [Open an issue on GitHub](https://github.com/nyx-space/anise/issues) or email the maintainer at `christopher.rabotin@gmail.com`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyx-space%2Fanise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyx-space%2Fanise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyx-space%2Fanise/lists"}