Skip to main content

rms-host-cassini

GitHub release; latest by date GitHub Release Date Test Status Documentation Status Code coverage
PyPI - Version PyPI - Format PyPI - Downloads PyPI - Python Version
GitHub commits since latest release GitHub commit activity GitHub last commit
Number of GitHub open issues Number of GitHub closed issues Number of GitHub open pull requests Number of GitHub closed pull requests
GitHub License Number of GitHub stars GitHub forks

Introduction

rms-host-cassini is the Cassini mission host for OOPS, the Object-Oriented Python SPICE toolkit for observation geometry. It turns Cassini ISS, UVIS, and VIMS data products into OOPS Observation objects, with the frames, fields of view, timing, targets, and light sources that each instrument requires. It is a product of the PDS Ring-Moon Systems Node.

Installation

The host_cassini module is available via the rms-host-cassini package on PyPI and can be installed with:

pip install rms-host-cassini

Geometry calculations need a SPICE kernel database, located through spicedb by the SPICE_PATH environment variable (or $OOPS_RESOURCES/SPICE) and SPICE_SQLITE_DB_NAME. It must contain the kernel sets CAS-SPK-*, CAS-CK-*, and CAS-CK-GAPFILL.

Getting Started

Importing host_cassini.oops registers the Cassini hosts with oops.Host, which can then identify and read any supported Cassini file:

import oops
import host_cassini.oops

obs = oops.Host.from_file('N1454725799_1.IMG')

Each instrument also has its own host class:

from host_cassini import CassiniISS, CassiniUVIS, CassiniVIMS

snapshot = CassiniISS.from_file('N1454725799_1.IMG')
(vis, ir) = CassiniVIMS.from_file('v1484505000_1.qub')
ir = CassiniVIMS.from_file('v1484505000_1.qub', select='IR')

Features

The hosts are:

  • CassiniISS: The Imaging Science Subsystem narrow- and wide-angle cameras. A file becomes a Snapshot; an image index can also be read with CassiniISS.from_index().
  • CassiniUVIS: The Ultraviolet Imaging Spectrograph. A file becomes one observation, or one for each window of a QUBE with several windows.
  • CassiniVIMS: The Visual and Infrared Mapping Spectrometer. A cube becomes a pair of observations, one for each channel (None for an inactive channel), and select='VIS' or select='IR' returns just one.

SPICE kernels are loaded only as needed, a month of the mission at a time. A target named in the label is repaired where the label is known to be wrong, and an observation of a star uses that star as its light source.

Details are available in the module documentation.

Contributing

Information on contributing to this package can be found in the Contributing Guide.

Links

Licensing

This code is licensed under the Apache License v2.0.

Metadata

Release files for rms-host-cassini 0.1.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 rms-host-cassini 0.1.0
File Size Uploaded Provenance Actions
rms_host_cassini-0.1.0.tar.gz 157.9 kB Without provenance Details for rms_host_cassini-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rms-host-cassini 0.1.0
File Interpreter ABI Platform Actions
rms_host_cassini-0.1.0-py3-none-any.whl Python 3 none any Details for rms_host_cassini-0.1.0-py3-none-any.whl

Total release size: 210.9 kB

Release files / rms_host_cassini-0.1.0.tar.gz

Download URL rms_host_cassini-0.1.0.tar.gz
Size 157.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d32286787e4ac7483e8a66d00613d62d6b727967c6024e649b94ad718bfa1ca8
BLAKE2b-256 checksum
How to use checksums
f1db252009f7f1e4d52bbbfcd98a6080a874498819e9fba40682ce1ffb765222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / rms_host_cassini-0.1.0-py3-none-any.whl

Download URL rms_host_cassini-0.1.0-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f576307433be73263b192889d4bbebd4c27ce1764d16b3c748760a46adbd14b5
BLAKE2b-256 checksum
How to use checksums
d894612d7493f61badfc399ab9e11d72d04e7e185728520951f4e81acc30cb9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for rms-host-cassini 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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