Package pamMaths
Class WignerTransform
java.lang.Object
pamMaths.WignerTransform
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Called whenever a wigner calculation is updated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
getMaxValue
(double[][] array) static double
getMinValue
(double[][] array) static double[][]
wignerTransform
(double[] doubleData) Calculate Wigner transform of real data.static double[][]
wignerTransform
(double[] doubleData, WignerTransform.WignerUpdate wignerUpdate) Calculate Wigner transform of real data.static double[][]
wignerTransform
(double[] doubleData, WignerTransform.WignerUpdate wignerUpdate, boolean dump) Calculate Wigner transform of real data.static double[][]
wignerTransform
(ComplexArray complexData) Calculate the Wigner transform from data that has already been Hilbert transformed.
-
Constructor Details
-
WignerTransform
public WignerTransform()
-
-
Method Details
-
wignerTransform
public static double[][] wignerTransform(double[] doubleData) Calculate Wigner transform of real data. Will need to take the Hilbert transform and then call the complex function.- Parameters:
doubleData
- double array of Wigner data
-
wignerTransform
public static double[][] wignerTransform(double[] doubleData, WignerTransform.WignerUpdate wignerUpdate) Calculate Wigner transform of real data. Will need to take the Hilber transform and then call the complex function.- Parameters:
doubleData
- double array of Wigner datawignerUpdate
- - callback listener which returns every calculated complex line of wigner plot
-
wignerTransform
public static double[][] wignerTransform(double[] doubleData, WignerTransform.WignerUpdate wignerUpdate, boolean dump) Calculate Wigner transform of real data. Will need to take the Hilber transform and then call the complex function.- Parameters:
doubleData
- double array of Wigner datawignerUpdate
- - callback listener which returns every calculated complex line of wigner plotdump
- - true to dump data and save memory. If true function will always return null but data will have been passed through wignerUpdate listener.
-
wignerTransform
Calculate the Wigner transform from data that has already been Hilbert transformed.- Parameters:
complexData
-- Returns:
- double array of Wigner data
-
getMaxValue
public static double getMaxValue(double[][] array) -
getMinValue
public static double getMinValue(double[][] array)
-