|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "fddetdataformats/WIBFrame.hpp"#include "daqdataformats/Fragment.hpp"#include <cstdint>#include <pybind11/numpy.h>Go to the source code of this file.
Namespaces | |
| namespace | dunedaq |
| The DUNE-DAQ namespace. | |
| namespace | dunedaq::rawdatautils |
| namespace | dunedaq::rawdatautils::wib |
Functions | |
| py::array_t< uint16_t > | dunedaq::rawdatautils::wib::np_array_adc_data (void *data, int nframes) |
| Unpacks data containing WIBFrames into a numpy array with the ADC values and dimension (number of WIBFrames, 256) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
| py::array_t< uint64_t > | dunedaq::rawdatautils::wib::np_array_timestamp_data (void *data, int nframes) |
| Unpacks data containing WIBFrames into a numpy array with the timestamps with dimension (number of WIBFrames) Warning: It doesn't check that nframes is a sensible value (can read out of bounds) | |
| py::array_t< uint16_t > | dunedaq::rawdatautils::wib::np_array_adc (daqdataformats::Fragment &frag) |
| Unpacks a Fragment containing WIBFrames into a numpy array with the ADC values and dimension (number of WIBFrames in the Fragment, 256) | |
| py::array_t< uint64_t > | dunedaq::rawdatautils::wib::np_array_timestamp (daqdataformats::Fragment &frag) |
| Unpacks the timestamps in a Fragment containing WIBFrames into a numpy array with dimension (number of WIBFrames in the Fragment) | |