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