rms-host-cassini
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 aSnapshot; an image index can also be read withCassiniISS.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), andselect='VIS'orselect='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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rms_host_cassini-0.1.1.tar.gz | 160.6 kB | Without provenance | Details for rms_host_cassini-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rms_host_cassini-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for rms_host_cassini-0.1.1-py3-none-any.whl |
Total release size: 215.7 kB
Release files / rms_host_cassini-0.1.1.tar.gz
| Download URL | rms_host_cassini-0.1.1.tar.gz |
|---|---|
| Size | 160.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4549d770656501c98e24ae6589513c762c4f45b708ab87582b5f8f062cd816c3
|
|
BLAKE2b-256 checksum How to use checksums |
5e85ea1548cf7f7ceb5df55ce5c0751a9c0d704c89ee9682f860b4a1fb188b17
|
| 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.1-py3-none-any.whl
| Download URL | rms_host_cassini-0.1.1-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ead67db9002cae7492d78d583a5d2f2178b882d8810a9e5ccc951996d60d504
|
|
BLAKE2b-256 checksum How to use checksums |
9f2a37c9786322f3fe264e871211807cb59ca44d5ae63cec131dc53bbd79528c
|
| 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.1
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.