DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "fddetdataformats/DAPHNEFrame.hpp"
#include "fddetdataformats/DAPHNEStreamFrame.hpp"
#include "daqdataformats/Fragment.hpp"
#include <cstdint>
#include <pybind11/numpy.h>
Go to the source code of this file.
Namespaces | |
namespace | dunedaq |
Including Qt Headers. | |
namespace | dunedaq::rawdatautils |
namespace | dunedaq::rawdatautils::daphne |
Functions | |
uint32_t | dunedaq::rawdatautils::daphne::get_n_frames (daqdataformats::Fragment const &frag) |
Gets number of DAPHNEFrames in a fragment | |
uint32_t | dunedaq::rawdatautils::daphne::get_n_frames_stream (daqdataformats::Fragment const &frag) |
Gets number of DAPHNEStreamFrames in a fragment | |
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) | |
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) | |
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 | |
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 | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |
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) | |