tio
Python Reader for sstcam-waveform/TargetIO waveform files, utilising fitsio and numba.
These files are FITS containing binary tables, which have been used as an intermediate format to store waveforms from the SST (Small-Sized Telescope) camera of CTAO (Cherenkov Telescope Array Observatory), and are generated by the sstcam-waveform or the TargetIO packages.
This package provides convenient read-only access to the waveform files, with support for both R0 (uncalibrated) and R1 (calibrated) data, as full-camera and single-module files. The reader is designed for efficient access to waveform data and event properties, with support for iterating through events in a file.
- Supported Python versions: 3.10+
- Supported platforms: Linux, OSX
- Source: https://gitlab.cta-observatory.org/cta-array-elements/sst/camera/analysis/tio
- Pypi: https://pypi.org/project/sstcam-tio
- License: BSD-3-Clause
Installation
This package is installable via pip from PyPI:
pip install sstcam-tio
This package is also installable via pip directly from this repository (via https or ssh), e.g.:
pip install 'git+https://gitlab.cta-observatory.org/cta-array-elements/sst/camera/analysis/tio.git'
Optional Dependencies
Utilisation of Intel's short vector math library (SVML) for improved performance provided by numba:
conda install intel-cmplr-lib-rt
Usage
from tio import Reader
import numpy as np
path = "path/to/file_r0.tio"
event_index = 2
with Reader(path) as reader:
# Read a single event
event = reader[event_index]
wfs = event.waveforms # Access waveforms
print(wfs.shape) # Shape: (n_pixel, n_samples)
first_cell_id = event.first_cell_id # Access event properties
# Iterate through file
for event in reader:
pass
Metadata
Release files for sstcam-tio 2.1.0
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 |
|---|---|---|---|---|
| sstcam_tio-2.1.0.tar.gz | 17.3 kB | Without provenance | Details for sstcam_tio-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sstcam_tio-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for sstcam_tio-2.1.0-py3-none-any.whl |
Total release size: 31.5 kB
Release files / sstcam_tio-2.1.0.tar.gz
| Download URL | sstcam_tio-2.1.0.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41bfda6ed533538fc92f01c89fb30499aa2cc89dc454f9937edbc9735849df51
|
|
BLAKE2b-256 checksum How to use checksums |
e587c2b3f330a8bf8fe50e7252038c1d773a7fcff40dd446fa5fb809e84342ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / sstcam_tio-2.1.0-py3-none-any.whl
| Download URL | sstcam_tio-2.1.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f4d9d8747a30cb83cccd0cf98e3b7e581431173f8e81c8a1f1d40406b5b3714
|
|
BLAKE2b-256 checksum How to use checksums |
82f33b9ece0640ebb7b5a47ea3ab4635ee7e0548ec29306474a8408ae3a954f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for sstcam-tio 2.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.