Python tools for Cassini UVIS data
Project description
pyuvis
Python tools for working with Cassini UVIS data.
pyuvis provides readers, calibration utilities, and PDS-archive helpers
for the Cassini UVIS (Ultraviolet Imaging Spectrograph) instrument. Data
discovery and download are delegated to
planetarypy; pyuvis focuses on
opening the resulting files and turning them into useful arrays
(numpy/xarray/pandas) you can analyse.
Install
pip install pyuvis
The package will pull in planetarypy (>= 0.21) as a dependency. On first
use, planetarypy will ask you for a local data directory where it will
cache PDS products it downloads on your behalf.
For development:
git clone https://github.com/Cassini-UVIS/pyuvis
cd pyuvis
pip install -e ".[dev,docs]"
Usage
from pyuvis import UVPDS
uv = UVPDS("FUV2005_172_03_35") # downloads via planetarypy if not cached
uv.data # numpy array of raw counts
uv.xarray # xarray.DataArray with (spectral, spatial, samples) coords
uv.plot() # quick hvplot
uv.calibrated # calibrated data, if a calibration matrix is present
For browsing the PDS catalog of UVIS products by date / observation type / target:
from pyuvis.pds import CatalogFilter
cat = CatalogFilter("2002-198") # accepts "yyyy-jjj" or "yyyy-mm-dd"
cat.doydate # -> "2002-198"
cat.ustare_stars # USTARE-type observations on STAR targets
cat.get_ustare_stars_date("FUV") # filter to FUV stars on the given date
For more examples (HSP sensitivity tables, IDL .sav round-trips, Greg
and Steffl calibrations, FUV/EUV statistics) see the rendered tutorials
in the docs site below.
Documentation
Full documentation, tutorials, and API reference: https://cassini-uvis.github.io/pyuvis/
Citation
If you use pyuvis in your research, please cite via the metadata in
CITATION.cff or the Zenodo DOI badge above.
Issues and contributing
Report issues at https://github.com/Cassini-UVIS/pyuvis/issues.
Pull requests welcome — please run pytest and render the docs locally
(make docs) before opening one.
License
Apache 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyuvis-0.9.0.tar.gz.
File metadata
- Download URL: pyuvis-0.9.0.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eb932dfba1d36a575927f227816a074b50e9e67abfa3d441e64ee224c2555b0
|
|
| MD5 |
dc894b4eba94c7f161d9b6775e64187e
|
|
| BLAKE2b-256 |
3d733666dc30961b939041d3f29e3ea71ce0a2037a14e9113872bb0598dd950e
|
File details
Details for the file pyuvis-0.9.0-py3-none-any.whl.
File metadata
- Download URL: pyuvis-0.9.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21ba01c0c81a6361bf6ea17f16443c1b1f11a8720556025c4c9cfb18c1723907
|
|
| MD5 |
3f1f1b45bb371cbaf5b7c3f781245cbb
|
|
| BLAKE2b-256 |
a81954a6b029e66511e3fe4e18ac75c58128cbee9d6c214fbf15bae40720433d
|