|
typedef std::complex< typename ComplexTraits::ComplexPrecision > | Complex |
|
typedef TRegularData2D< std::complex< typename ComplexTraits::ComplexPrecision > > | ComplexVector |
|
typedef TRegularData2D< std::complex< typenameComplexTraits::ComplexPrecision > >::IndexType | IndexType |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > > | VectorType |
| The type containing an STL vector of the appropriate type.
|
|
typedef TVector2< float > | CoordinateType |
| The coordinate type.
|
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::iterator | Iterator |
| A mutable iterator.
|
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_iterator | ConstIterator |
| A nonmutable iterator.
|
|
typedef std::complex< ComplexTraits::ComplexPrecision > | value_type |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::iterator | iterator |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_iterator | const_iterator |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::reference | reference |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_reference | const_reference |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::pointer | pointer |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::difference_type | difference_type |
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::size_type | size_type |
|
|
|
| TFFT2D () |
| Default constructor.
|
|
| TFFT2D (const TFFT2D &data) |
| Copy constructor.
|
|
| TFFT2D (Size nX, Size nY, double stepPhysX=1., double stepPhysY=1., Vector2 origin=Vector2(0., 0.), bool inFourierSpace=false) |
|
virtual | ~TFFT2D () |
| Destructor.
|
|
|
const TFFT2D & | operator= (const TFFT2D &fft_2d) |
| Assignment operator.
|
|
virtual void | clear () |
|
virtual void | destroy () |
|
| TRegularData2D () |
|
| TRegularData2D (const TRegularData2D< std::complex< ComplexTraits::ComplexPrecision > > &data) |
|
| TRegularData2D (const CoordinateType &origin, const CoordinateType &dimension, const CoordinateType &spacing) |
|
| TRegularData2D (const IndexType &size, const CoordinateType &origin=CoordinateType(0.0), const CoordinateType &dimension=CoordinateType(1.0)) |
|
virtual | ~TRegularData2D () |
|
TRegularData2D & | operator= (const TRegularData2D< std::complex< ComplexTraits::ComplexPrecision > > &data) |
|
bool | operator== (const TRegularData2D< std::complex< ComplexTraits::ComplexPrecision > > &data) const |
|
BALL_INLINE bool | operator!= (const TRegularData2D< std::complex< ComplexTraits::ComplexPrecision > > &data) const |
| Inequality operator.
|
|
BALL_INLINE bool | empty () const |
| Empty predicate.
|
|
bool | isInside (const CoordinateType &x) const |
| Test if a given point is inside the grid.
|
|
BALL_INLINE ConstIterator | begin () const |
|
BALL_INLINE Iterator | begin () |
|
BALL_INLINE ConstIterator | end () const |
|
BALL_INLINE Iterator | end () |
|
BALL_INLINE size_type | size () const |
|
BALL_INLINE size_type | max_size () const |
|
BALL_INLINE void | swap (TRegularData2D< std::complex< ComplexTraits::ComplexPrecision > > &data) |
|
const std::complex< ComplexTraits::ComplexPrecision > & | getData (const IndexType &index) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | getData (const IndexType &index) |
|
const std::complex< ComplexTraits::ComplexPrecision > & | getData (Position index) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | getData (Position index) |
|
const std::complex< ComplexTraits::ComplexPrecision > & | operator[] (const IndexType &index) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | operator[] (const IndexType &index) |
|
const std::complex< ComplexTraits::ComplexPrecision > & | operator[] (Position index) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | operator[] (Position index) |
|
std::complex< ComplexTraits::ComplexPrecision > | operator() (const CoordinateType &x) const |
|
std::complex< ComplexTraits::ComplexPrecision > | getInterpolatedValue (const CoordinateType &x) const |
|
const std::complex< ComplexTraits::ComplexPrecision > & | getClosestValue (const CoordinateType &x) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | getClosestValue (const CoordinateType &x) |
|
IndexType | getLowerIndex (const CoordinateType &v) const |
|
IndexType | getClosestIndex (const CoordinateType &v) const |
|
const IndexType & | getSize () const |
|
const CoordinateType & | getOrigin () const |
|
const CoordinateType & | getSpacing () const |
|
void | setOrigin (const CoordinateType &origin) |
|
const CoordinateType & | getDimension () const |
|
void | setDimension (const CoordinateType &dimension) |
|
void | resize (const IndexType &new_size) |
|
void | rescale (const IndexType &new_size) |
|
CoordinateType | getCoordinates (const IndexType &index) const |
|
CoordinateType | getCoordinates (Position index) const |
|
void | getEnclosingIndices (const CoordinateType &r, Position &ll, Position &lr, Position &ul, Position &ur) const |
|
void | getEnclosingValues (const CoordinateType &r, std::complex< ComplexTraits::ComplexPrecision > &ll, std::complex< ComplexTraits::ComplexPrecision > &lr, std::complex< ComplexTraits::ComplexPrecision > &ul, std::complex< ComplexTraits::ComplexPrecision > &ur) const |
|
std::complex< ComplexTraits::ComplexPrecision > | calculateMean () const |
|
std::complex< ComplexTraits::ComplexPrecision > | calculateSD () const |
|
void | binaryWrite (const String &filename) const |
|
void | binaryRead (const String &filename) |
|
template<typename ComplexTraits>
class BALL::TFFT2D< ComplexTraits >
A class to perform Fast Fourier Transforms and inverse Fast Fourier Transforms on regularly spaced two dimensional data.
- This class makes use of the freely available library FFTW, which can be found at http://www.fftw.org coordinate system can be handled automatically. The normaliztion is chosen symmetrically.
- S/TFFT2D.h
Definition at line 41 of file FFT2D.h.