DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Functions | |
uint32_t | get_n_frames (daqdataformats::Fragment const &frag) |
Gets number of TDEEthFrames in a fragment. | |
py::array_t< uint16_t > | np_array_adc_data (void *data, uint32_t n_frames) |
Unpacks data containing TDEEthFrames into a numpy array with the ADC values and dimension (number of TDEEthFrames, 64) Warning: It doesn't check that n_frames is a sensible value (can read out of bounds) | |
py::array_t< long double > | np_array_timestamp_data (void *data, uint32_t n_frames) |
Unpacks data containing TDEEthFrames into a numpy array with the timestamps with dimension (number of TDEEthFrames) Warning: It doesn't check that n_frames is a sensible value (can read out of bounds) | |
py::array_t< uint16_t > | np_array_adc (daqdataformats::Fragment const &frag) |
Unpacks a Fragment containing TDEEthFrames into a numpy array with the ADC values and dimension (number of TDEEthFrames in the Fragment, 64) | |
py::array_t< long double > | np_array_timestamp (daqdataformats::Fragment const &frag) |
Unpacks the timestamps in a Fragment containing TDEEthFrames into a numpy array with dimension (number of TDEEthFrames in the Fragment) | |
uint32_t dunedaq::rawdatautils::tde::get_n_frames | ( | daqdataformats::Fragment const & | frag | ) |
Gets number of TDEEthFrames in a fragment.
Definition at line 21 of file TDEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::tde::np_array_adc | ( | daqdataformats::Fragment const & | frag | ) |
Unpacks a Fragment containing TDEEthFrames into a numpy array with the ADC values and dimension (number of TDEEthFrames in the Fragment, 64)
Definition at line 87 of file TDEUnpacker.cpp.
py::array_t< uint16_t > dunedaq::rawdatautils::tde::np_array_adc_data | ( | void * | data, |
uint32_t | n_frames ) |
Unpacks data containing TDEEthFrames into a numpy array with the ADC values and dimension (number of TDEEthFrames, 64) Warning: It doesn't check that n_frames is a sensible value (can read out of bounds)
Definition at line 30 of file TDEUnpacker.cpp.
py::array_t< long double > dunedaq::rawdatautils::tde::np_array_timestamp | ( | daqdataformats::Fragment const & | frag | ) |
Unpacks the timestamps in a Fragment containing TDEEthFrames into a numpy array with dimension (number of TDEEthFrames in the Fragment)
Definition at line 95 of file TDEUnpacker.cpp.
py::array_t< long double > dunedaq::rawdatautils::tde::np_array_timestamp_data | ( | void * | data, |
uint32_t | n_frames ) |
Unpacks data containing TDEEthFrames into a numpy array with the timestamps with dimension (number of TDEEthFrames) Warning: It doesn't check that n_frames is a sensible value (can read out of bounds)
Definition at line 63 of file TDEUnpacker.cpp.