7 : fSize (transformSize)
10 std::lock_guard<std::mutex> lock(
mutex_);
16 fIn = fftw_malloc(
sizeof(
double)*
fSize);
20 rIn = fftw_malloc(
sizeof(fftw_complex)*fFreqSize);
21 rOut= fftw_malloc(
sizeof(
double)*fSize);
27 fftw_destroy_plan((fftw_plan)fPlan);
31 fftw_free((fftw_complex*)fOut);
34 fftw_destroy_plan((fftw_plan)rPlan);
36 fftw_free((fftw_complex*)rIn);
47 std::transform(fOption.begin(), fOption.end(),fOption.begin(), ::toupper);
48 if (fOption.find(
"ES")!=string::npos)
50 if (fOption.find(
"M")!=string::npos)
52 if (fOption.find(
"P")!=string::npos)
54 if (fOption.find(
"EX")!=string::npos)
55 return FFTW_EXHAUSTIVE;
LArFFTWPlan(int transformSize, const std::string &option)
unsigned int MapFFTWOption()