|
typedef std::complex< typename ComplexTraits::ComplexPrecision > | Complex |
|
typedef TRegularData1D< std::complex< typename ComplexTraits::ComplexPrecision > > | ComplexVector |
|
typedef Position | IndexType |
| The IndexType.
|
|
typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > > | VectorType |
| The type containing an STL vector of the corresponding ValueType.
|
|
typedef double | 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 constant 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 |
|
|
|
| TFFT1D () |
| Default constructor.
|
|
| TFFT1D (const TFFT1D &data) |
| Copy constructor.
|
|
| TFFT1D (Size ldn, double stepPhys=1., double origin=0., bool inFourierSpace=false) |
|
virtual | ~TFFT1D () |
| Destructor.
|
|
|
const TFFT1D & | operator= (const TFFT1D &fft1d) |
| Assignment operator.
|
|
virtual void | clear () |
|
virtual void | destroy () |
|
| TRegularData1D () |
| Default constructor.
|
|
| TRegularData1D (const TRegularData1D &data) |
|
| TRegularData1D (const CoordinateType &origin, const CoordinateType &dimension, const CoordinateType &spacing) |
|
| TRegularData1D (const IndexType &size) |
|
| TRegularData1D (const VectorType &data, const CoordinateType &origin=0.0, const CoordinateType &dimension=1.0) |
|
virtual | ~TRegularData1D () |
| Destructor.
|
|
TRegularData1D & | operator= (const TRegularData1D< std::complex< ComplexTraits::ComplexPrecision > > &data) |
|
TRegularData1D & | operator= (const VectorType &data) |
|
bool | operator== (const TRegularData1D &data) const |
| Equality operator.
|
|
BALL_INLINE bool | operator!= (const TRegularData1D &data) const |
| Inequality operator.
|
|
BALL_INLINE bool | empty () const |
| Empty predicate.
|
|
bool | isInside (const CoordinateType &x) const |
| Test whether a 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 (TRegularData1D< 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 > & | operator[] (const IndexType &index) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | operator[] (const IndexType &index) |
|
std::complex< ComplexTraits::ComplexPrecision > | operator() (const CoordinateType &x) const |
|
std::complex< ComplexTraits::ComplexPrecision > | getInterpolatedValue (const CoordinateType &x) const |
|
void | getEnclosingIndices (const CoordinateType &x, Position &lower, Position &upper) const |
|
void | getEnclosingValues (const CoordinateType &x, std::complex< ComplexTraits::ComplexPrecision > &lower, std::complex< ComplexTraits::ComplexPrecision > &upper) const |
|
CoordinateType | getCoordinates (const IndexType &index) const |
|
IndexType | getClosestIndex (const CoordinateType &x) const |
|
IndexType | getLowerIndex (const CoordinateType &x) const |
|
const std::complex< ComplexTraits::ComplexPrecision > & | getClosestValue (const CoordinateType &x) const |
|
std::complex< ComplexTraits::ComplexPrecision > & | getClosestValue (const CoordinateType &x) |
|
BALL_INLINE IndexType | getSize () const |
| Return the number of points in the data set.
|
|
BALL_INLINE const CoordinateType & | getOrigin () const |
|
BALL_INLINE const CoordinateType & | getSpacing () const |
|
BALL_INLINE void | setOrigin (const CoordinateType &origin) |
|
BALL_INLINE const CoordinateType & | getDimension () const |
|
BALL_INLINE void | setDimension (const CoordinateType &dimension) |
|
void | resize (const IndexType &size) |
|
void | rescale (const IndexType &new_size) |
|
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::TFFT1D< ComplexTraits >
A class to perform Fast Fourier Transforms and inverse Fast Fourier Transforms on regularly spaced one 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.
Definition at line 37 of file FFT1D.h.