AfuDataConvertor Class¶
-
class
NXOpen.CAE.
AfuDataConvertor
¶ Bases:
object
Convert data values for the AFU Data Record
To obtain an instance of this class, refer to
NXOpen.CAE.AfuManager
New in version NX5.0.0.
Methods¶
Method | Description |
---|---|
GetFftComplexType | Get the complex type of ordinate data by FFT @return Complex type of ordinate data after FFT |
GetFftFrequencyData | Get the values by Forward FFT. |
GetFftTimeData | Get the values by Inverse FFT. |
Enumerations¶
AfuDataConvertorFft Enumeration | Defines the way of FFT on AFU Data Record |
Method Detail¶
GetFftComplexType¶
-
AfuDataConvertor.
GetFftComplexType
¶ Get the complex type of ordinate data by FFT
Signature
GetFftComplexType(fftType, inComplexType)
Parameters: - fftType (
NXOpen.CAE.AfuDataConvertorFft
) – The way of FFT - inComplexType (
NXOpen.CAE.AfuDataOrdinateType
) – Complex type of ordinate data before FFT
Returns: Complex type of ordinate data after FFT
Return type: New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
- fftType (
GetFftFrequencyData¶
-
AfuDataConvertor.
GetFftFrequencyData
¶ Get the values by Forward FFT.
The input data should be Real data on Time domain and the output data will be Complex data on Frequency domain.
Signature
GetFftFrequencyData(inXValues, inYValues)
Parameters: - inXValues (list of float) – X values of the input data
- inYValues (list of float) – Y values of the input data
Returns: a tuple
Return type: A tuple consisting of (zValues, xValues, yValues). zValues is a list of float. Imaginary part of Y values of the output data xValues is a list of float. X values of the output data yValues is a list of float. Real part of Y values of the output data
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
GetFftTimeData¶
-
AfuDataConvertor.
GetFftTimeData
¶ Get the values by Inverse FFT.
The input data should be Complex data on Frequency domain and the output data will be Real data on Time domain.
Signature
GetFftTimeData(inXValues, inYValues, inZValues)
Parameters: - inXValues (list of float) – X values of the input data
- inYValues (list of float) – Real part of Y values of the input data
- inZValues (list of float) – Imaginary part of Y values of the input data
Returns: a tuple
Return type: A tuple consisting of (yValues, xValues). yValues is a list of float. Y values of the output data xValues is a list of float. X values of the output data
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)