Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

New `ZFile` iterator, outputting `Event`s

Compare
Choose a tag to compare
@dneise dneise released this 12 Feb 10:59
· 144 commits to master since this release
1a123d0

The "highlevel" protozfitsreader from digicampipe was moved here. We propose to use this interface to read SST1M zfits files now:

from protozfitsreader import ZFile
file = ZFile(path)
print("number of events:", file.numrows)
for event in file:
    # do something with event
    pass

event is an instance of `protozfitsreader.Event`.