#include <Fw2dFFT.h>
Public Types | |
using | DataFloat = float |
using | DftFloat = double |
using | Data = Real2dData< DataFloat > |
using | DFT = FftwReal2dDftData< DftFloat > |
using | Index = DFT::Index |
using | IndexArray = DFT::IndexArray |
using | Complex = DFT::Complex |
using | Plan = fftw_plan |
using | PlanMap = std::map< IndexArray, Plan > |
typedef double | FftwComplex[2] |
Public Member Functions | |
Fw2dFFT (Index ndatMax, Index opt) | |
~Fw2dFFT () | |
Index | checkDataSize (const IndexArray &nsams) const |
bool | haveForwardPlan (const IndexArray &nsams) const |
bool | haveBackwardPlan (const IndexArray &nsams) const |
Plan & | forwardPlan (const IndexArray &nsams) |
Plan & | backwardPlan (const IndexArray &nsams) |
int | fftForward (const Data &dat, DFT &dft, Index logLevel=0) |
int | fftBackward (const DFT &dft, Data &dat, Index logLevel=0) |
FftwComplex * | fftwOutData () |
DftFloat * | floatOutData () |
Private Attributes | |
Index | m_ndatMax |
Index | m_flag |
DftFloat * | m_inData |
Complex * | m_outData |
PlanMap | m_forwardPlans |
PlanMap | m_backwardPlans |
using Fw2dFFT::Complex = DFT::Complex |
using Fw2dFFT::Data = Real2dData<DataFloat> |
using Fw2dFFT::DataFloat = float |
using Fw2dFFT::DFT = FftwReal2dDftData<DftFloat> |
using Fw2dFFT::DftFloat = double |
using Fw2dFFT::Index = DFT::Index |
using Fw2dFFT::IndexArray = DFT::IndexArray |
using Fw2dFFT::Plan = fftw_plan |
using Fw2dFFT::PlanMap = std::map<IndexArray, Plan> |
Definition at line 22 of file Fw2dFFT.cxx.
Fw2dFFT::~Fw2dFFT | ( | ) |
Definition at line 30 of file Fw2dFFT.cxx.
Fw2dFFT::Plan & Fw2dFFT::backwardPlan | ( | const IndexArray & | nsams | ) |
Definition at line 77 of file Fw2dFFT.cxx.
Fw2dFFT::Index Fw2dFFT::checkDataSize | ( | const IndexArray & | nsams | ) | const |
Definition at line 39 of file Fw2dFFT.cxx.
Definition at line 123 of file Fw2dFFT.cxx.
Definition at line 93 of file Fw2dFFT.cxx.
|
inline |
Fw2dFFT::Plan & Fw2dFFT::forwardPlan | ( | const IndexArray & | nsams | ) |
Definition at line 62 of file Fw2dFFT.cxx.
bool Fw2dFFT::haveBackwardPlan | ( | const IndexArray & | nsams | ) | const |
Definition at line 56 of file Fw2dFFT.cxx.
bool Fw2dFFT::haveForwardPlan | ( | const IndexArray & | nsams | ) | const |
Definition at line 50 of file Fw2dFFT.cxx.