public class RealFloat2DFFT_Even extends Object
d[i,j]) = data[i*rowspan+j]where rowspan >= ncols+2.
WARNING! Note that rowspan must be greater than the number of columns, and the next 2 values, as well as the data itself, are overwritten in order to store enough of the complex transformation in place. (In fact, it can be done completely in place, but where one has to look for various real and imaginary parts is quite complicated).
The physical layout in the transformed (complex) array data, of the mathematical data D[i,j] is as follows:
Re(D[i,j]) = data[2*(i*rowspan+j)] Im(D[i,j]) = data[2*(i*rowspan+j)+1]
The transformed data in each row is complex for frequencies from 0, 1/(n delta), ... 1/(2 delta), where delta is the time difference between the column values.
The transformed data for columns is in `wrap-around' order; that is from 0, 1/(n delta)... +/- 1/(2 delta) ... -1/(n delta)
Constructor and Description |
---|
RealFloat2DFFT_Even(int nrows,
int ncols)
Create an FFT for transforming nrows*ncols points of Complex, double precision
data.
|
Modifier and Type | Method and Description |
---|---|
void |
backtransform(float[] data)
Compute the (unnomalized) inverse FFT of data, leaving it in place.
|
void |
backtransform(float[] data,
int rowspan)
Compute the (unnomalized) inverse FFT of data, leaving it in place.
|
protected void |
checkData(float[] data,
int rowspan) |
void |
inverse(float[] data)
Compute the (nomalized) inverse FFT of data, leaving it in place.
|
void |
inverse(float[] data,
int rowspan)
Compute the (nomalized) inverse FFT of data, leaving it in place.
|
float |
normalization()
Return the normalization factor.
|
float[] |
toWraparoundOrder(float[] data,
int rowspan)
Return data in wraparound order.
|
void |
transform(float[] data)
Compute the Fast Fourier Transform of data leaving the result in data.
|
void |
transform(float[] data,
int rowspan)
Compute the Fast Fourier Transform of data leaving the result in data.
|
public RealFloat2DFFT_Even(int nrows, int ncols)
protected void checkData(float[] data, int rowspan)
public void transform(float[] data)
public void transform(float[] data, int rowspan)
public float[] toWraparoundOrder(float[] data, int rowspan)
public void backtransform(float[] data)
public void backtransform(float[] data, int rowspan)
public float normalization()
public void inverse(float[] data)
public void inverse(float[] data, int rowspan)
Copyright © 2012. All Rights Reserved.