public class FourierAnalysis extends java.lang.Object implements Data
Constructor and Description |
---|
FourierAnalysis() |
Modifier and Type | Method and Description |
---|---|
double[] |
doAnalysis(double[] x,
double[] z,
int gutter)
Fourier analyzes the given complex data z[] after adding gutter points at the start and end of the z[] array.
|
java.util.ArrayList |
getComplexDatasets()
Gets a complex dataset that contains the result of the last Fourier analysis.
|
double[][] |
getData2D()
Gets the frequencies, real, and imaginary coefficients.
|
double[][][] |
getData3D()
3D data is not available.
|
java.util.ArrayList |
getDatasets()
Gets the complex datasets that contain the result of the last Fourier analysis.
|
double[] |
getNaturalFreq()
Gets the frequencies of the Fourier spectrum.
|
double[] |
getNaturalOmega()
Gets the angular frequencies of the Fourier spectrum.
|
boolean |
isRadians()
Gets the radians flag.
|
double[] |
repeatAnalysis(double[] z)
Repeats the Fourier analysis of the complex data z[] with the previously set scale and gutter.
|
void |
useRadians(boolean radians)
Sets the radians flag for the frequency values of datasets.
|
public double[] doAnalysis(double[] x, double[] z, int gutter)
x
- double[]z
- double[]gutter
- intpublic double[] repeatAnalysis(double[] z)
z
- double[]public double[] getNaturalOmega()
public double[] getNaturalFreq()
public void useRadians(boolean radians)
radians
- booleanpublic boolean isRadians()
public java.util.ArrayList getComplexDatasets()
getComplexDatasets
in interface Data
public java.util.ArrayList getDatasets()
getDatasets
in interface Data
public double[][] getData2D()