Skip to main content

Parser for SLAC\'s Serial Input Output file format.

Project description

PySIO allows reading of SLAC's Serial Input Output format inside Python.

Only the reading of record headers are currently supported. The block payload is stored as (compressed) raw data.

Example

To iterate over all records in a file and print the record name:

import sio

fileName='muonGun_sim_MuColl_v1.slcio'
for record in sio.read_sio(fileName):
    print(record.name)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySIO-0.1.1.tar.gz (14.1 kB view hashes)

Uploaded Source

Built Distribution

PySIO-0.1.1-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page