{"id":26719,"library":"anise","title":"ANISE","description":"ANISE is a modern replacement for NAIF SPICE, providing Attitude, Navigation, Instrument, Spacecraft, and Ephemeris data handling. Version 0.9.6 (pre-1.0) targets Python ≥3.9, with active development and frequent releases.","status":"active","version":"0.9.6","language":"python","source_language":"en","source_url":"https://github.com/anise-io/anise","tags":["spice","ephemeris","astrodynamics","navigation","planetary-science"],"install":[{"cmd":"pip install anise","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Required for numerical arrays and transformations.","package":"numpy","optional":false},{"reason":"Used for configuration file parsing.","package":"toml","optional":true}],"imports":[{"note":"Top-level usage requires explicit class import.","wrong":"import anise","symbol":"ANISE","correct":"from anise import ANISE"},{"note":"Submodules are not re-exported at package level.","wrong":"from anise import Ephemeris","symbol":"Ephemeris","correct":"from anise.ephemeris import Ephemeris"},{"note":null,"wrong":null,"symbol":"Frame","correct":"from anise.frames import Frame"}],"quickstart":{"code":"from anise import ANISE\nfrom anise.ephemeris import Ephemeris\n\n# Initialize ANISE with a kernel (example uses a test file)\nanise = ANISE()\nanise.load_kernel('path/to/kernel.bsp')\n\n# Query ephemeris data\ntarget = 'Mars'\nobserver = 'Earth'\ntime = 0.0  # seconds past J2000\nstate, lt = anise.compute_state(target, observer, time)\nprint('State:', state)\nprint('Light time:', lt)","lang":"python","description":"Basic initialization, kernel loading, and ephemeris computation."},"warnings":[{"fix":"Pin version and check changelog before upgrading.","message":"API is still evolving. Kernel file format may change without notice.","severity":"breaking","affected_versions":"<1.0"},{"fix":"Use anise.time_convert() for conversions.","message":"Time is in seconds past J2000 (TT), not UTC or TDB unless converted.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure consistent kernel load order in scripts.","message":"Load order of kernels matters: later kernels override earlier ones for the same data.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace `anise.query(...)` with `anise.compute_state(...)`.","message":"The function `anise.query()` is deprecated in favor of `anise.compute_state()`.","severity":"deprecated","affected_versions":">=0.9.5"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install anise` and ensure Python >=3.9.","cause":"Missing installation or using Python <3.9.","error":"ModuleNotFoundError: No module named 'anise'"},{"fix":"Provide absolute path or ensure file exists relative to working directory.","cause":"Kernel path incorrect or file missing.","error":"OSError: Could not find kernel file 'kernel.bsp'"},{"fix":"Use ANISE-native .bsp or .xsp files; convert SPICE kernels using `anise.convert_spice`.","cause":"Trying to load a SPICE kernel with an unsupported format.","error":"ValueError: Unsupported kernel version"},{"fix":"Set aberration correction via `anise.config.aberration = 'NONE'` before calling.","cause":"API change: aberration correction is now set via configuration instead of parameter.","error":"TypeError: compute_state() got an unexpected keyword argument 'aberration'","affected_versions":">=0.9.6"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}