|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javaseis.fft.SeisFft
public class SeisFft
| Nested Class Summary | |
|---|---|
static class |
SeisFft.Scale
|
static class |
SeisFft.Type
|
| Field Summary | |
|---|---|
protected float[] |
_cy
|
protected FftComplex |
_fftCplx
|
protected FftReal |
_fftReal
|
protected int |
_lendata
|
protected int |
_lenfft
|
protected int |
_lentran
|
protected IFFT.Scale |
_scale
|
protected float |
_scaleForward
|
protected float |
_scaleInverse
|
protected int |
_signForward
|
protected int |
_signInverse
|
protected IFFT.Type |
_type
|
protected float[] |
_wk
|
| Constructor Summary | |
|---|---|
SeisFft()
Default constructor for an empty transform |
|
SeisFft(int length)
Forward transform for real data with default padding, type, scaling, and sign |
|
SeisFft(int length,
float padPercent)
Forward transform for real data with specified length padding in percent |
|
SeisFft(int length,
float padPercent,
IFFT.Type type)
Forward transform for real data specifying length, padding, and transform type |
|
SeisFft(int length,
float padPercent,
IFFT.Type type,
int isign)
Forward transform for real data specifying length, padding, transform type, and sign |
|
SeisFft(int length,
float padPercent,
IFFT.Type type,
int isign,
IFFT.Scale scale)
Forward transform for real data specifying length, padding, transform type, sign, and scale |
|
| Method Summary | |
|---|---|
void |
complexForward(float[] cx)
Perform an in-place complex-to-complex forward transform |
void |
complexForward(float[] cx,
float[] cy)
|
void |
complexForward(float[] cx,
int offset)
|
void |
complexForward(float[] cx,
int xoff,
float[] cy,
int yoff)
|
void |
complexInverse(float[] cy)
Perform an in-place complex-to-complex inverse transform |
void |
complexInverse(float[] cy,
float[] cx)
|
void |
complexInverse(float[] cy,
int offset)
|
void |
complexInverse(float[] cy,
int yoff,
float[] cx,
int xoff)
|
void |
complexToReal(float[] cy)
Perform an in-place complex-to-real inverse transform |
void |
complexToReal(float[] cy,
float[] rx)
|
void |
complexToReal(float[] cy,
int offset)
|
void |
complexToReal(float[] cy,
int yoff,
float[] rx,
int xoff)
|
int |
getArrayLength()
Return the length of the transform array in 32 bit words (floats) |
int |
getLength()
Return the transform length |
static void |
main(java.lang.String[] args)
|
void |
realToComplex(float[] rx)
Perform an in-place real to complex forward transform |
void |
realToComplex(float[] rx,
float[] cy)
Out-of-place transforms that do not modify the input data |
void |
realToComplex(float[] rx,
int offset)
In place transforms with optional offset |
void |
realToComplex(float[] rx,
int xoff,
float[] cy,
int yoff)
Out-of-place transforms that do not modify the input data |
void |
setFftParms(int length,
IFFT.Type type,
IFFT.Scale scale,
float padPercent,
int forwardSign)
Set transform parameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected float[] _cy
protected FftComplex _fftCplx
protected FftReal _fftReal
protected int _lendata
protected int _lenfft
protected int _lentran
protected IFFT.Scale _scale
protected float _scaleForward
protected float _scaleInverse
protected int _signForward
protected int _signInverse
protected IFFT.Type _type
protected float[] _wk
| Constructor Detail |
|---|
public SeisFft()
public SeisFft(int length)
length - length of the input data to be transformed
public SeisFft(int length,
float padPercent)
length - length of the input data to be transformedpadPercent - requested zero padding as a percentage of the input length
public SeisFft(int length,
float padPercent,
IFFT.Type type)
length - length of the input data to be transformedpadPercent - requested zero padding as a percentage of the input lengthtype - transform type from the enum SeisFft.Type.REAL or SeisFft.Type.COMPLEX
public SeisFft(int length,
float padPercent,
IFFT.Type type,
int isign)
length - length of the input data to be transformedpadPercent - requested zero padding as a percentage of the input lengthtype - transform type from the enum SeisFft.Type.REAL or SeisFft.Type.COMPLEXisign - forward transform sign, -1 or +1
public SeisFft(int length,
float padPercent,
IFFT.Type type,
int isign,
IFFT.Scale scale)
length - length of the input data to be transformedpadPercent - requested zero padding as a percentage of the input lengthtype - transform type from the enum SeisFft.Type.REAL or SeisFft.Type.COMPLEXisign - forward transform sign, -1 or +1scale - transform scaling from the enum SeisFft.Scale.NONE, INVERSE, or SYMMETRIC| Method Detail |
|---|
public void complexForward(float[] cx)
complexForward in interface IFFTcx - input complex data, output complex forward transform
public void complexForward(float[] cx,
float[] cy)
complexForward in interface IFFT
public void complexForward(float[] cx,
int offset)
complexForward in interface IFFT
public void complexForward(float[] cx,
int xoff,
float[] cy,
int yoff)
complexForward in interface IFFTpublic void complexInverse(float[] cy)
complexInverse in interface IFFTcy - input complex transform, output complex inverse transform
public void complexInverse(float[] cy,
float[] cx)
complexInverse in interface IFFT
public void complexInverse(float[] cy,
int offset)
complexInverse in interface IFFT
public void complexInverse(float[] cy,
int yoff,
float[] cx,
int xoff)
complexInverse in interface IFFTpublic void complexToReal(float[] cy)
complexToReal in interface IFFTcy - input complex Fourier transform, output real inverse Fourier transform
public void complexToReal(float[] cy,
float[] rx)
complexToReal in interface IFFT
public void complexToReal(float[] cy,
int offset)
complexToReal in interface IFFT
public void complexToReal(float[] cy,
int yoff,
float[] rx,
int xoff)
complexToReal in interface IFFTpublic int getArrayLength()
getArrayLength in interface IFFTpublic int getLength()
getLength in interface IFFTpublic static void main(java.lang.String[] args)
args - public void realToComplex(float[] rx)
realToComplex in interface IFFTrx - input real data to be transformed, output complex Fourier transform
public void realToComplex(float[] rx,
float[] cy)
realToComplex in interface IFFTa - input array to be transformedb - output array containing transform
public void realToComplex(float[] rx,
int offset)
realToComplex in interface IFFTa - input array to be transformedoffset - starting index for transform within the array
public void realToComplex(float[] rx,
int xoff,
float[] cy,
int yoff)
realToComplex in interface IFFTa - input array to be transformedaindex - start index of the data in the input arrayb - output array containing transformbindex - start index for placing the output data
public void setFftParms(int length,
IFFT.Type type,
IFFT.Scale scale,
float padPercent,
int forwardSign)
setFftParms in interface IFFTlength - length of the input data to be transformedtype - transform type from the enum SeisFft.Type.REAL or SeisFft.Type.COMPLEXscale - transform scaling from the enum SeisFft.Scale.NONE, INVERSE, or SYMMETRICpadPercent - requested zero padding as a percentage of the input lengthisign - forward transform sign, -1 or +1
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||