NX Open C++ Reference Guide
|
Convert data values for the AFU Data Record
To obtain an instance of this class, refer to CAE::AfuManager
Created in NX5.0.0.
More...
Public Types | |
enum | Fft { FftForward = 1, FftInverse } |
Defines the way of FFT on AFU Data Record. More... | |
Public Member Functions | |
NXOpen::CAE::AfuData::OrdinateType | GetFftComplexType (NXOpen::CAE::AfuDataConvertor::Fft fftType, NXOpen::CAE::AfuData::OrdinateType inComplexType) |
Get the complex type of ordinate data by FFT. | |
std::vector< double > | GetFftFrequencyData (const std::vector< double > &inXValues, const std::vector< double > &inYValues, std::vector< double > &xValues, std::vector< double > &yValues) |
Get the values by Forward FFT. | |
std::vector< double > | GetFftTimeData (const std::vector< double > &inXValues, const std::vector< double > &inYValues, const std::vector< double > &inZValues, std::vector< double > &xValues) |
Get the values by Inverse FFT. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Convert data values for the AFU Data Record
To obtain an instance of this class, refer to CAE::AfuManager
Created in NX5.0.0.
NXOpen::CAE::AfuData::OrdinateType NXOpen::CAE::AfuDataConvertor::GetFftComplexType | ( | NXOpen::CAE::AfuDataConvertor::Fft | fftType, |
NXOpen::CAE::AfuData::OrdinateType | inComplexType | ||
) |
Get the complex type of ordinate data by FFT.
fftType | The way of FFT |
inComplexType | Complex type of ordinate data before FFT |
std::vector<double> NXOpen::CAE::AfuDataConvertor::GetFftFrequencyData | ( | const std::vector< double > & | inXValues, |
const std::vector< double > & | inYValues, | ||
std::vector< double > & | xValues, | ||
std::vector< double > & | yValues | ||
) |
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. @return Imaginary part of Y values of the output data
Created in NX5.0.0.
License requirements : nx_ftk ("NX Advanced Graphing")
inXValues | X values of the input data |
inYValues | Y values of the input data |
xValues | X values of the output data |
yValues | Real part of Y values of the output data |
std::vector<double> NXOpen::CAE::AfuDataConvertor::GetFftTimeData | ( | const std::vector< double > & | inXValues, |
const std::vector< double > & | inYValues, | ||
const std::vector< double > & | inZValues, | ||
std::vector< double > & | xValues | ||
) |
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. @return Y values of the output data
Created in NX5.0.0.
License requirements : nx_ftk ("NX Advanced Graphing")
inXValues | X values of the input data |
inYValues | Real part of Y values of the input data |
inZValues | Imaginary part of Y values of the input data |
xValues | X values of the output data |
tag_t NXOpen::CAE::AfuDataConvertor::Tag | ( | ) | const |
Returns the tag of this object.