DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Functions | |
uint32_t | get_n_frames (daqdataformats::Fragment const &frag) |
Gets number of DAPHNEFrames in a fragment | |
uint32_t | get_n_frames_stream (daqdataformats::Fragment const &frag) |
Gets number of DAPHNEStreamFrames in a fragment | |
py::array_t< uint8_t > | np_array_channels_stream_data (void *data, int nframes) |
Unpacks channel numbers for DAPHNEStreamFrames into a numpy array with dimensions (nframes, s_channels_per_frame) | |
py::array_t< uint8_t > | np_array_channels_data (void *data, int nframes) |
Unpacks channel numbers for DAPHNEFrames into a numpy array with dimensions (nframes) | |
py::array_t< uint8_t > | np_array_channels (daqdataformats::Fragment &frag) |
Unpacks channel numbers for Fragment that contains DAPHNEFrames into a numpy array with dimensions | |
py::array_t< uint8_t > | np_array_channels_stream (daqdataformats::Fragment &frag) |
Unpacks channel numbers for Fragment that contains DAPHNEStreamFrames into a numpy array with dimensions | |
py::array_t< uint16_t > | np_array_adc_data (void *data, int nframes) |
Unpacks data containing DAPHNEFrames into a numpy array with the ADC values and dimension (number of DAPHNEFrames, channels_per_daphne) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
py::array_t< uint16_t > | np_array_adc_stream_data (void *data, int nframes) |
Unpacks data containing DAPHNEStreamFrames into a numpy array with the ADC values and dimension (number of DAPHNEStreamFrames * adcs_per_channel (64), channels_per_frame (4)) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
py::array_t< uint64_t > | np_array_timestamp_data (void *data, int nframes) |
Unpacks data containing DAPHNEFrames into a numpy array with the timestamps with dimension (number of DAPHNEFrames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
py::array_t< uint64_t > | np_array_timestamp_stream_data (void *data, int nframes) |
Unpacks data containing DAPHNEStreamFrames into a numpy array with the timestamps with dimension (number of DAPHNEStreamFrames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
py::array_t< uint16_t > | np_array_adc (daqdataformats::Fragment &frag) |
Unpacks a Fragment containing DAPHNEFrames into a numpy array with the ADC values and dimension (number of DAPHNEFrames in the Fragment, 320) | |
py::array_t< uint16_t > | np_array_adc_stream (daqdataformats::Fragment &frag) |
Unpacks a Fragment containing DAPHNEStreamFrames into a numpy array with the ADC values and dimension (number of DAPHNEStreamFrames in the Fragment, 4) | |
py::array_t< uint64_t > | np_array_timestamp (daqdataformats::Fragment &frag) |
Unpacks the timestamps in a Fragment containing WIBFrames into a numpy array with dimension (number of DAPHNEFrames in the Fragment) | |
py::array_t< uint64_t > | np_array_timestamp_stream (daqdataformats::Fragment &frag) |
Unpacks the timestamps in a Fragment containing DAPHNEStreamFrames into a numpy array with dimension (number of DAPHNEStreamFrames in the Fragment) | |
uint32_t dunedaq::rawdatautils::daphne::get_n_frames | ( | daqdataformats::Fragment const & | frag | ) |
Gets number of DAPHNEFrames in a fragment
Definition at line 22 of file DAPHNEUnpacker.cpp.
uint32_t dunedaq::rawdatautils::daphne::get_n_frames_stream | ( | daqdataformats::Fragment const & | frag | ) |
Gets number of DAPHNEStreamFrames in a fragment
Definition at line 29 of file DAPHNEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::daphne::np_array_adc | ( | daqdataformats::Fragment & | frag | ) |
Unpacks a Fragment containing DAPHNEFrames into a numpy array with the ADC values and dimension (number of DAPHNEFrames in the Fragment, 320)
Definition at line 184 of file DAPHNEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::daphne::np_array_adc_data | ( | void * | data, |
int | nframes ) |
Unpacks data containing DAPHNEFrames into a numpy array with the ADC values and dimension (number of DAPHNEFrames, channels_per_daphne) Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 95 of file DAPHNEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::daphne::np_array_adc_stream | ( | daqdataformats::Fragment & | frag | ) |
Unpacks a Fragment containing DAPHNEStreamFrames into a numpy array with the
ADC values and dimension (number of DAPHNEStreamFrames in the Fragment, 4)
Definition at line 192 of file DAPHNEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::daphne::np_array_adc_stream_data | ( | void * | data, |
int | nframes ) |
Unpacks data containing DAPHNEStreamFrames into a numpy array with the ADC
values and dimension (number of DAPHNEStreamFrames * adcs_per_channel (64), channels_per_frame (4))
Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 120 of file DAPHNEUnpacker.cpp.
py::array_t< uint8_t > dunedaq::rawdatautils::daphne::np_array_channels | ( | daqdataformats::Fragment & | frag | ) |
Unpacks channel numbers for Fragment that contains DAPHNEFrames into a numpy array with dimensions
Definition at line 78 of file DAPHNEUnpacker.cpp.
py::array_t< uint8_t > dunedaq::rawdatautils::daphne::np_array_channels_data | ( | void * | data, |
int | nframes ) |
Unpacks channel numbers for DAPHNEFrames into a numpy array with dimensions (nframes)
Definition at line 63 of file DAPHNEUnpacker.cpp.
py::array_t< uint8_t > dunedaq::rawdatautils::daphne::np_array_channels_stream | ( | daqdataformats::Fragment & | frag | ) |
Unpacks channel numbers for Fragment that contains DAPHNEStreamFrames into a numpy array with dimensions
Definition at line 85 of file DAPHNEUnpacker.cpp.
py::array_t< uint8_t > dunedaq::rawdatautils::daphne::np_array_channels_stream_data | ( | void * | data, |
int | nframes ) |
Unpacks channel numbers for DAPHNEStreamFrames into a numpy array with dimensions (nframes, s_channels_per_frame)
Definition at line 39 of file DAPHNEUnpacker.cpp.
py::array_t< uint64_t > dunedaq::rawdatautils::daphne::np_array_timestamp | ( | daqdataformats::Fragment & | frag | ) |
Unpacks the timestamps in a Fragment containing WIBFrames into a numpy array with dimension (number of DAPHNEFrames in the Fragment)
Definition at line 201 of file DAPHNEUnpacker.cpp.
py::array_t< uint64_t > dunedaq::rawdatautils::daphne::np_array_timestamp_data | ( | void * | data, |
int | nframes ) |
Unpacks data containing DAPHNEFrames into a numpy array with the timestamps with dimension (number of DAPHNEFrames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 145 of file DAPHNEUnpacker.cpp.
py::array_t< uint64_t > dunedaq::rawdatautils::daphne::np_array_timestamp_stream | ( | daqdataformats::Fragment & | frag | ) |
Unpacks the timestamps in a Fragment containing DAPHNEStreamFrames into a numpy
array with dimension (number of DAPHNEStreamFrames in the Fragment)
Definition at line 209 of file DAPHNEUnpacker.cpp.
py::array_t< uint64_t > dunedaq::rawdatautils::daphne::np_array_timestamp_stream_data | ( | void * | data, |
int | nframes ) |
Unpacks data containing DAPHNEStreamFrames into a numpy array with the
timestamps with dimension (number of DAPHNEStreamFrames)
Warning: It doesn't check that nframes is a sensible value (can read out of bounds)
Definition at line 162 of file DAPHNEUnpacker.cpp.