AfuMathOperation Class¶
-
class
NXOpen.CAE.
AfuMathOperation
¶ Bases:
object
Does math operations on the AFU Data Records
To obtain an instance of this class, refer to
NXOpen.CAE.AfuManager
New in version NX5.0.0.
Methods¶
Method | Description |
---|---|
CalculateMultiMathRecords | Does Multi Math Operations on AFU Data Records |
CalculateOverallMathRecords | Does Overall Math Operations on AFU Data Records |
CalculateSingleMathAbsoluteValue | Gets absolute values of AFU Data Records |
CalculateSingleMathComplexConjugate | Gets complex conjugate values of AFU Data Records |
CalculateSingleMathFourierTransform | Gets fourier transform values of AFU Data Records |
CalculateSingleMathFrequencyDifferentiation | Gets frequency differentiation values of AFU Data Records |
CalculateSingleMathFrequencyIntegration | Gets frequency integration values of AFU Data Records |
CalculateSingleMathIndependentDifferentiation | Gets independent differentiation values of AFU Data Records |
CalculateSingleMathIndependentIntegration | Gets independent integration values of AFU Data Records |
CalculateSingleMathInverse | Gets inverse values of AFU Data Records |
CalculateSingleMathLagrangianInterpolation | Interpolates AFU Data Records with lagrangian method |
CalculateSingleMathLinearInterpolation | Interpolates AFU Data Records with linear method |
CalculateSingleMathMovingAverage | Gets moving average values of AFU Data Records |
CalculateSingleMathOffsetByComplex | Offsets AFU Data Records by complex value |
CalculateSingleMathOffsetByReal | Offsets AFU Data Records by real value |
CalculateSingleMathScaleByComplex | Scales AFU Data Records by complex value |
CalculateSingleMathScaleByReal | Scales AFU Data Records by real value |
CalculateSingleMathShiftAbscissa | Shifts abscissa values of AFU Data Records |
CalculateSingleMathSignValue | Gets sign values of AFU Data Records |
CalculateSingleMathSquareMagnitude | Gets square of magnitude values of AFU Data Records |
CalculateSingleMathSquareRoot | Gets square root values of AFU Data Records |
SrsToTime | Convert SRS to Time |
SynchronizeRecords | Synchronize AFU Data Records |
TimeToSrs | Convert Time to SRS |
Enumerations¶
AfuMathOperationInterpolationMode Enumeration | Defines the interpolation mode |
AfuMathOperationMultiType Enumeration | Defines the type of Multi Math Operations |
AfuMathOperationOuterInterpolation Enumeration | Defines the outer interpolation method |
AfuMathOperationOutputType Enumeration | Defines the output type of new AFU Data Record |
AfuMathOperationOverall Enumeration | Defines the type of Overall Math Operations |
AfuMathOperationSrsToTimeOctave Enumeration | Defines the octave spacing for SRS to TIME |
AfuMathOperationSrsToTimeOption Enumeration | Defines the type of conversion option for SRS to TIME |
AfuMathOperationSrsToTimeStrategy Enumeration | Defines the conversion strategy for SRS to TIME when using the Wavelet method |
AfuMathOperationTimeToSrsAxisType Enumeration | Defines the frequency axis type for TIME to SRS |
AfuMathOperationTimeToSrsResponseType Enumeration | Defines the response type paramater for TIME to SRS |
Method Detail¶
CalculateMultiMathRecords¶
-
AfuMathOperation.
CalculateMultiMathRecords
¶ Does Multi Math Operations on AFU Data Records
Signature
CalculateMultiMathRecords(multiMathType, sourceAfuFileName1, sourceRecordIndex1, sourceAfuFileName2, sourceRecordIndex2, outputType, destinationAfuFileName)
Parameters: - multiMathType (
NXOpen.CAE.AfuMathOperationMultiType
) – Multi Math Operation type - sourceAfuFileName1 (str) – File name of the first source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex1 (int) – Index of the first source AFU Data Record
- sourceAfuFileName2 (str) – File name of the second source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex2 (int) – Index of the second source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
- multiMathType (
CalculateOverallMathRecords¶
-
AfuMathOperation.
CalculateOverallMathRecords
¶ Does Overall Math Operations on AFU Data Records
Signature
CalculateOverallMathRecords(overallType, sourceAfuFileNames, sourceRecordIndexes, outputType, destinationAfuFileName)
Parameters: - overallType (
NXOpen.CAE.AfuMathOperationOverall
) – Overall Math Operation type - sourceAfuFileNames (list of str) – File names of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndexes (list of int) – Indexes of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if outputType is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX6.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
- overallType (
CalculateSingleMathAbsoluteValue¶
-
AfuMathOperation.
CalculateSingleMathAbsoluteValue
¶ Gets absolute values of AFU Data Records
Signature
CalculateSingleMathAbsoluteValue(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathComplexConjugate¶
-
AfuMathOperation.
CalculateSingleMathComplexConjugate
¶ Gets complex conjugate values of AFU Data Records
Signature
CalculateSingleMathComplexConjugate(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathFourierTransform¶
-
AfuMathOperation.
CalculateSingleMathFourierTransform
¶ Gets fourier transform values of AFU Data Records
Signature
CalculateSingleMathFourierTransform(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathFrequencyDifferentiation¶
-
AfuMathOperation.
CalculateSingleMathFrequencyDifferentiation
¶ Gets frequency differentiation values of AFU Data Records
Signature
CalculateSingleMathFrequencyDifferentiation(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathFrequencyIntegration¶
-
AfuMathOperation.
CalculateSingleMathFrequencyIntegration
¶ Gets frequency integration values of AFU Data Records
Signature
CalculateSingleMathFrequencyIntegration(gUnitInchFormat, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - gUnitInchFormat (bool) – Convert g unit to inch/s if TRUE, convert g unit to mm/s if FALSE
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathIndependentDifferentiation¶
-
AfuMathOperation.
CalculateSingleMathIndependentDifferentiation
¶ Gets independent differentiation values of AFU Data Records
Signature
CalculateSingleMathIndependentDifferentiation(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathIndependentIntegration¶
-
AfuMathOperation.
CalculateSingleMathIndependentIntegration
¶ Gets independent integration values of AFU Data Records
Signature
CalculateSingleMathIndependentIntegration(gUnitInchFormat, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - gUnitInchFormat (bool) – Convert g unit to inch/s if TRUE, convert g unit to mm/s if FALSE
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX10.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathInverse¶
-
AfuMathOperation.
CalculateSingleMathInverse
¶ Gets inverse values of AFU Data Records
Signature
CalculateSingleMathInverse(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX9.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathLagrangianInterpolation¶
-
AfuMathOperation.
CalculateSingleMathLagrangianInterpolation
¶ Interpolates AFU Data Records with lagrangian method
Signature
CalculateSingleMathLagrangianInterpolation(polynomialOrder, outerInterpolation, newXIncrement, newXMinimum, newXMaximum, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - polynomialOrder (int) – Polynomial order which must be 1 thru 8
- outerInterpolation (
NXOpen.CAE.AfuMathOperationOuterInterpolation
) – Outer interpolation method - newXIncrement (float) – X increment of new AFU Data Record
- newXMinimum (float) – X minimum of new AFU Data Record
- newXMaximum (float) – X maximum of new AFU Data Record
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathLinearInterpolation¶
-
AfuMathOperation.
CalculateSingleMathLinearInterpolation
¶ Interpolates AFU Data Records with linear method
Signature
CalculateSingleMathLinearInterpolation(outerInterpolation, newXIncrement, newXMinimum, newXMaximum, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - outerInterpolation (
NXOpen.CAE.AfuMathOperationOuterInterpolation
) – Outer interpolation method - newXIncrement (float) – X increment of new AFU Data Record
- newXMinimum (float) – X minimum of new AFU Data Record
- newXMaximum (float) – X maximum of new AFU Data Record
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
- outerInterpolation (
CalculateSingleMathMovingAverage¶
-
AfuMathOperation.
CalculateSingleMathMovingAverage
¶ Gets moving average values of AFU Data Records
Signature
CalculateSingleMathMovingAverage(movingAverageNumber, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - movingAverageNumber (int) – Moving average number
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathOffsetByComplex¶
-
AfuMathOperation.
CalculateSingleMathOffsetByComplex
¶ Offsets AFU Data Records by complex value
Signature
CalculateSingleMathOffsetByComplex(offsetRealValue, offsetImaginaryValue, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - offsetRealValue (float) – Real value of offset
- offsetImaginaryValue (float) – Imaginary value of offset
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathOffsetByReal¶
-
AfuMathOperation.
CalculateSingleMathOffsetByReal
¶ Offsets AFU Data Records by real value
Signature
CalculateSingleMathOffsetByReal(offsetValue, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - offsetValue (float) – Value of offset
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathScaleByComplex¶
-
AfuMathOperation.
CalculateSingleMathScaleByComplex
¶ Scales AFU Data Records by complex value
Signature
CalculateSingleMathScaleByComplex(scaleRealValue, scaleImaginaryValue, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - scaleRealValue (float) – Real value of scale
- scaleImaginaryValue (float) – Imaginary value of scale
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathScaleByReal¶
-
AfuMathOperation.
CalculateSingleMathScaleByReal
¶ Scales AFU Data Records by real value
Signature
CalculateSingleMathScaleByReal(scaleValue, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - scaleValue (float) – Value of scale
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathShiftAbscissa¶
-
AfuMathOperation.
CalculateSingleMathShiftAbscissa
¶ Shifts abscissa values of AFU Data Records
Signature
CalculateSingleMathShiftAbscissa(shiftValue, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - shiftValue (float) – Value of shift abscissa
- sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathSignValue¶
-
AfuMathOperation.
CalculateSingleMathSignValue
¶ Gets sign values of AFU Data Records
Signature
CalculateSingleMathSignValue(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathSquareMagnitude¶
-
AfuMathOperation.
CalculateSingleMathSquareMagnitude
¶ Gets square of magnitude values of AFU Data Records
Signature
CalculateSingleMathSquareMagnitude(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
CalculateSingleMathSquareRoot¶
-
AfuMathOperation.
CalculateSingleMathSquareRoot
¶ Gets square root values of AFU Data Records
Signature
CalculateSingleMathSquareRoot(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)
Parameters: - sourceAfuFileName (str) – File name of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndex (int) – Index of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if output_type is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX5.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
SrsToTime¶
-
AfuMathOperation.
SrsToTime
¶ Convert SRS to Time
Signature
SrsToTime(inputAfuFileName, inputRecordId, conversionOption, dampingRatio, numTimePoints, iterations, octave, numTrials, strategy, saveSrsResults, outputAfuFileName, outputRecordName)
Parameters: - inputAfuFileName (str) – Input afu file name NOTE: The full Unicode character set is not supported for this parameter.
- inputRecordId (int) – Input record index
- conversionOption (
NXOpen.CAE.AfuMathOperationSrsToTimeOption
) – Conversion option - dampingRatio (float) – Damping ratio (of critical damping)
- numTimePoints (int) – Number of requested time points
- iterations (int) – Iterations for outer loop when conversionOption is
CAE.AfuMathOperationSrsToTimeOption.DampedSinusoid
- octave (
NXOpen.CAE.AfuMathOperationSrsToTimeOctave
) – Octave Spacing when conversionOption isCAE.AfuMathOperationSrsToTimeOption.Wavelet
- numTrials (int) – Number of trials conversionOption is
CAE.AfuMathOperationSrsToTimeOption.Wavelet
- strategy (
NXOpen.CAE.AfuMathOperationSrsToTimeStrategy
) – Conversion strategy conversionOption isCAE.AfuMathOperationSrsToTimeOption.Wavelet
- saveSrsResults (bool) – Save the two srs results when converting the srs function to time if TRUE
- outputAfuFileName (str) – Output AFU file name NOTE: The full Unicode character set is not supported for this parameter.
- outputRecordName (str) – Output record name of afu NOTE: The full Unicode character set is not supported for this parameter.
New in version NX6.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
SynchronizeRecords¶
-
AfuMathOperation.
SynchronizeRecords
¶ Synchronize AFU Data Records
Signature
SynchronizeRecords(newIncrement, interpolationMode, shiftToStartPoint, sourceAfuFileNames, sourceRecordIndexes, outputType, destinationAfuFileName)
Parameters: - newIncrement (float) – New x increment
- interpolationMode (
NXOpen.CAE.AfuMathOperationInterpolationMode
) – The mode of interpolating values - shiftToStartPoint (bool) – Shift x value to the start point if TRUE
- sourceAfuFileNames (list of str) – File names of the source AFU NOTE: The full Unicode character set is not supported for this parameter.
- sourceRecordIndexes (list of int) – Indexes of the source AFU Data Record
- outputType (
NXOpen.CAE.AfuMathOperationOutputType
) – Output type of new AFU Data Record - destinationAfuFileName (str) – Destination AFU file name. It is None if outputType is not
CAE.AfuMathOperationOutputType.OtherFile
. NOTE: The full Unicode character set is not supported for this parameter.
New in version NX6.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)
TimeToSrs¶
-
AfuMathOperation.
TimeToSrs
¶ Convert Time to SRS
Signature
TimeToSrs(inputAfuFileName, inputRecordId, dampingRatio, freqAxisType, frequencyMin, frequencyMax, frequenceIncrement, pointsPerDecades, responseType, outputAfuFileName, outputRecordName)
Parameters: - inputAfuFileName (str) – Input afu file name NOTE: The full Unicode character set is not supported for this parameter.
- inputRecordId (int) – Input record index
- dampingRatio (float) – Damping ratio (of critical damping)
- freqAxisType (
NXOpen.CAE.AfuMathOperationTimeToSrsAxisType
) – Frequency axis type - frequencyMin (float) – Frequency minimun value
- frequencyMax (float) – Frequency maximun value
- frequenceIncrement (float) – Frequency increment value when freqAxisType is
CAE.AfuMathOperationTimeToSrsAxisType.Linear
- pointsPerDecades (int) – Points per decads when freqAxisType is
CAE.AfuMathOperationTimeToSrsAxisType.Log
orCAE.AfuMathOperationTimeToSrsAxisType.Decade
- responseType (
NXOpen.CAE.AfuMathOperationTimeToSrsResponseType
) – Response type paramater - outputAfuFileName (str) – Output AFU file name NOTE: The full Unicode character set is not supported for this parameter.
- outputRecordName (str) – Output record name of afu NOTE: The full Unicode character set is not supported for this parameter.
New in version NX6.0.0.
License requirements: nx_ftk (“NX Advanced Graphing”)