DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Functions | |
uint32_t | get_n_frames (daqdataformats::Fragment const &frag) |
Gets number of WIB2Frames in a fragment. | |
py::array_t< uint16_t > | np_array_adc (daqdataformats::Fragment const &frag) |
Unpacks a Fragment containing WIB2Frames into a numpy array with the ADC values and dimension (number of WIB2Frames in the Fragment, 256) | |
py::array_t< uint16_t > | np_array_adc_data (void *data, int nframes) |
Unpacks data containing WIB2Frames into a numpy array with the ADC values and dimension (number of WIB2Frames, 256) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
py::array_t< uint64_t > | np_array_timestamp (daqdataformats::Fragment const &frag) |
Unpacks the timestamps in a Fragment containing WIBFrames into a numpy array with dimension (number of WIB2Frames in the Fragment) | |
py::array_t< uint64_t > | np_array_timestamp_data (void *data, int nframes) |
Unpacks data containing WIB2Frames into a numpy array with the timestamps with dimension (number of WIB2Frames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
|
extern |
Gets number of WIB2Frames in a fragment.
Definition at line 21 of file WIB2Unpacker.cpp.
|
extern |
Unpacks a Fragment containing WIB2Frames into a numpy array with the ADC values and dimension (number of WIB2Frames in the Fragment, 256)
Definition at line 63 of file WIB2Unpacker.cpp.
|
extern |
Unpacks data containing WIB2Frames into a numpy array with the ADC values and dimension (number of WIB2Frames, 256) Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 30 of file WIB2Unpacker.cpp.
|
extern |
Unpacks the timestamps in a Fragment containing WIBFrames into a numpy array with dimension (number of WIB2Frames in the Fragment)
Definition at line 71 of file WIB2Unpacker.cpp.
|
extern |
Unpacks data containing WIB2Frames into a numpy array with the timestamps with dimension (number of WIB2Frames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 48 of file WIB2Unpacker.cpp.