13 #include <epicsTypes.h> 14 #include <epicsTime.h> 18 #define FFTTimeAxisString "FFT_TIME_AXIS" 19 #define FFTFreqAxisString "FFT_FREQ_AXIS" 20 #define FFTTimePerPointString "FFT_TIME_PER_POINT" 21 #define FFTDirectionString "FFT_DIRECTION" 22 #define FFTSuppressDCString "FFT_SUPPRESS_DC" 23 #define FFTNumAverageString "FFT_NUM_AVERAGE" 24 #define FFTNumAveragedString "FFT_NUM_AVERAGED" 25 #define FFTResetAverageString "FFT_RESET_AVERAGE" 26 #define FFTTimeSeriesString "FFT_TIME_SERIES" 27 #define FFTRealString "FFT_REAL" 28 #define FFTImaginaryString "FFT_IMAGINARY" 29 #define FFTAbsValueString "FFT_ABS_VALUE" 51 NDPluginFFT(
const char *portName,
int queueSize,
int blockingCallbacks,
52 const char *NDArrayPort,
int NDArrayAddr,
53 int maxBuffers,
size_t maxMemory,
54 int priority,
int stackSize,
int maxThreads);
62 #define FIRST_NDPLUGIN_FFT_PARAM P_FFTTimeAxis 77 template <
typename epicsType>
void convertToDoubleT(
NDArray *pArray,
fftPvt_t *pPvt);
78 void allocateArrays(
fftPvt_t *pPvt,
bool sizeChanged);
79 void createAxisArrays(
fftPvt_t *pPvt);
82 void doArrayCallbacks(
fftPvt_t *pPvt);
99 #endif //NDPluginFFT_H int nTimeXIn
Definition: NDPluginFFT.h:33
int P_FFTImaginary
Definition: NDPluginFFT.h:73
Class from which actual plugin drivers are derived; derived from asynNDArrayDriver.
Definition: NDPluginDriver.h:56
int P_FFTDirection
Definition: NDPluginFFT.h:65
int suppressDC
Definition: NDPluginFFT.h:39
Compute FFTs on signals.
Definition: NDPluginFFT.h:49
int nTimeY
Definition: NDPluginFFT.h:36
Definition: NDPluginFFT.h:31
double * FFTReal
Definition: NDPluginFFT.h:43
int nFreqY
Definition: NDPluginFFT.h:38
int numAverage
Definition: NDPluginFFT.h:40
int nTimeYIn
Definition: NDPluginFFT.h:34
int P_FFTSuppressDC
Definition: NDPluginFFT.h:66
int nTimeX
Definition: NDPluginFFT.h:35
int P_FFTResetAverage
Definition: NDPluginFFT.h:69
int P_FFTReal
Definition: NDPluginFFT.h:72
double * FFTAbsValue
Definition: NDPluginFFT.h:45
int P_FFTTimePerPoint
Definition: NDPluginFFT.h:64
int rank
Definition: NDPluginFFT.h:32
int P_FFTTimeSeries
Definition: NDPluginFFT.h:71
virtual void processCallbacks(NDArray *pArray)=0
int P_FFTNumAverage
Definition: NDPluginFFT.h:67
int P_FFTTimeAxis
Definition: NDPluginFFT.h:61
double * timeSeries
Definition: NDPluginFFT.h:41
double * FFTComplex
Definition: NDPluginFFT.h:42
int nFreqX
Definition: NDPluginFFT.h:37
int P_FFTFreqAxis
Definition: NDPluginFFT.h:63
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92
int P_FFTNumAveraged
Definition: NDPluginFFT.h:68
double * FFTImaginary
Definition: NDPluginFFT.h:44
int P_FFTAbsValue
Definition: NDPluginFFT.h:74