icecube.taxi_reader.taxi_dataclasses.File module

class icecube.taxi_reader.taxi_dataclasses.File.File(filename)

Bases: object

Ease of use class that can be used to read in a .bin file from TAXI Can be used to seek through an event and get meta-information about each event.

Parameters:

filename (str) – Name of the .bin file to be opened

Example: file = File(“path/to/MyBin.bin”) event = file.get_next_event()

block_length = 18
get_next_WRTime_event()

Finds the White Rabbit timestamp information in the .bin file, creates a WREvent instance and returns it

get_next_event()

Seeks out the next header file in the opened file and reads in the relevant information Returns a dictionary with the roi-values, rtc time, the waveforms, etc.

unpack_fmt = '<HHHHHHHHH'