Mantid
|
MaxentTransformFourier : Defines a transformation from data space to image space (and vice-versa) where spaces are related by a 1D Fourier Transform. More...
#include <MaxentTransformFourier.h>
Public Member Functions | |
std::vector< double > | dataToImage (const std::vector< double > &data) override |
Transforms a 1D signal from data space to image space, performing a forward Fast Fourier Transform. More... | |
std::vector< double > | imageToData (const std::vector< double > &image) override |
Transforms a 1D signal from image space to data space, performing an inverse Fast Fourier Transform. More... | |
MaxentTransformFourier ()=delete | |
MaxentTransformFourier (MaxentSpace_sptr dataSpace, MaxentSpace_sptr imageSpace) | |
Constructor. More... | |
Public Member Functions inherited from Mantid::Algorithms::MaxentTransform | |
virtual std::vector< double > | dataToImage (const std::vector< double > &data)=0 |
virtual std::vector< double > | imageToData (const std::vector< double > &image)=0 |
MaxentTransform ()=default | |
virtual | ~MaxentTransform ()=default |
Private Attributes | |
MaxentSpace_sptr | m_dataSpace |
MaxentSpace_sptr | m_imageSpace |
MaxentTransformFourier : Defines a transformation from data space to image space (and vice-versa) where spaces are related by a 1D Fourier Transform.
Definition at line 18 of file MaxentTransformFourier.h.
|
delete |
Mantid::Algorithms::MaxentTransformFourier::MaxentTransformFourier | ( | MaxentSpace_sptr | dataSpace, |
MaxentSpace_sptr | imageSpace | ||
) |
Constructor.
Definition at line 19 of file MaxentTransformFourier.cpp.
|
overridevirtual |
Transforms a 1D signal from data space to image space, performing a forward Fast Fourier Transform.
See also GSL documentation on FFT. Input is assumed real or complex according to the type of data space given to the constructor. Return value is real or complex according to the type of image space given to the constructor. If complex, input & return vectors consist of real part immediately followed by imaginary part of each individual value.
data | : [input] Data as a vector |
Implements Mantid::Algorithms::MaxentTransform.
Reimplemented in Mantid::Algorithms::MaxentTransformMultiFourier.
Definition at line 68 of file MaxentTransformFourier.cpp.
References m_dataSpace, m_imageSpace, n, wavetable, and workspace.
Referenced by Mantid::Algorithms::MaxentTransformMultiFourier::dataToImage().
|
overridevirtual |
Transforms a 1D signal from image space to data space, performing an inverse Fast Fourier Transform.
See also GSL documentation on FFT. Input is assumed real or complex according to the type of image space given to the constructor. Return value is real or complex according to the type of data space given to the constructor. If complex, input & return vectors consist of real part immediately followed by imaginary part of each individual value.
image | : [input] Image as a vector |
Implements Mantid::Algorithms::MaxentTransform.
Reimplemented in Mantid::Algorithms::MaxentTransformMultiFourier.
Definition at line 34 of file MaxentTransformFourier.cpp.
References m_dataSpace, m_imageSpace, n, wavetable, and workspace.
Referenced by Mantid::Algorithms::MaxentTransformMultiFourier::imageToData().
|
private |
Definition at line 30 of file MaxentTransformFourier.h.
Referenced by dataToImage(), and imageToData().
|
private |
Definition at line 31 of file MaxentTransformFourier.h.
Referenced by dataToImage(), and imageToData().