Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
FourierTransform.h
Go to the documentation of this file.
1
#ifndef FourierTransform_h
2
#define FourierTransform_h
3
25
#include <complex>
26
#include <vector>
27
#include "
Constants.h
"
28
29
namespace
Isis {
48
class
FourierTransform
{
49
public
:
50
FourierTransform
();
51
~FourierTransform
();
52
std::vector< std::complex<double> >
Transform
(std::vector< std::complex<double> > input);
53
std::vector< std::complex<double> >
Inverse
(std::vector< std::complex<double> > input);
54
bool
IsPowerOfTwo
(
int
n);
55
int
lg
(
int
n);
56
int
BitReverse
(
int
n,
int
x);
57
int
NextPowerOfTwo
(
int
n);
58
};
59
}
60
61
#endif
Isis::FourierTransform::Transform
std::vector< std::complex< double > > Transform(std::vector< std::complex< double > > input)
Applies the Fourier transform on the input data and returns the result.
Definition:
FourierTransform.cpp:43
Isis::FourierTransform::Inverse
std::vector< std::complex< double > > Inverse(std::vector< std::complex< double > > input)
Applies the inverse Fourier transform on the input data and returns the result.
Definition:
FourierTransform.cpp:90
Constants.h
Isis::FourierTransform::NextPowerOfTwo
int NextPowerOfTwo(int n)
This function returns the next power of two greater than or equal to n.
Definition:
FourierTransform.cpp:175
Isis::FourierTransform::lg
int lg(int n)
This function returns the floor of log2(n)
Definition:
FourierTransform.cpp:131
Isis::FourierTransform::~FourierTransform
~FourierTransform()
Destroys the FourierTransform object.
Definition:
FourierTransform.cpp:32
Isis::FourierTransform::BitReverse
int BitReverse(int n, int x)
Reverses the binary representation of the input integer in the number of bits specified.
Definition:
FourierTransform.cpp:152
Isis::FourierTransform::IsPowerOfTwo
bool IsPowerOfTwo(int n)
Checks to see if the input integer is a power of two.
Definition:
FourierTransform.cpp:115
Isis::FourierTransform::FourierTransform
FourierTransform()
Constructs the FourierTransform object.
Definition:
FourierTransform.cpp:29
Isis::FourierTransform
Fourier Transform class.
Definition:
FourierTransform.h:48
U.S. Department of the Interior
|
U.S. Geological Survey
ISIS
|
Privacy & Disclaimers
|
Astrogeology Research Program
To contact us, please post comments and questions on the
ISIS Support Center
File Modified: 07/12/2023 23:18:27