PySIO

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


License
GPL-3.0
Install
pip install PySIO==0.1.1

Documentation

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)