#include "arma_npy.h"
#include "debugtrace.hpp"
#include "lasp_clip.h"
#include "lasp_daq.h"
#include "lasp_daqdata.h"
#include "lasp_ppm.h"
#include "lasp_rtaps.h"
#include "lasp_rtsignalviewer.h"
#include "lasp_streammgr.h"
#include "lasp_threadedindatahandler.h"
#include <armadillo>
#include <atomic>
#include <chrono>
#include <pybind11/pybind11.h>
Go to the source code of this file.
|
template<typename T , bool copy = false> |
py::array_t< T > | getPyArrayNoCpy (const DaqData &d) |
| Generate a Numpy array from daqdata, does NOT create a copy of the data!. Instead, it shares the data from the DaqData container.
|
|
template<typename T , bool copy = false> |
py::array_t< d > | dmat_to_ndarray (const DaqData &d) |
|
void | init_datahandler (py::module &m) |
|
◆ dmat_to_ndarray()
template<typename T , bool copy = false>
py::array_t< d > dmat_to_ndarray |
( |
const DaqData & |
d | ) |
|
◆ getPyArrayNoCpy()
template<typename T , bool copy = false>
py::array_t< T > getPyArrayNoCpy |
( |
const DaqData & |
d | ) |
|
Generate a Numpy array from daqdata, does NOT create a copy of the data!. Instead, it shares the data from the DaqData container.
- Template Parameters
-
T | The type of the stored sample |
- Parameters
-
- Returns
- Numpy array
Definition at line 33 of file lasp_pyindatahandler.cpp.