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 |
---|---|
CalculateAndStoreFastRmsPsdFit | Calculate and store FastRMS Fitted PSD data from AFU Data Record |
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 |
NewFastRmsInfo | Constructs a new Fast RMS Info object. |
NewFastRmsOutput | Constructs a new Fast RMS Output object. |
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¶
CalculateAndStoreFastRmsPsdFit¶
-
AfuMathOperation.
CalculateAndStoreFastRmsPsdFit
¶ Calculate and store FastRMS Fitted PSD data from AFU Data Record
Signature
CalculateAndStoreFastRmsPsdFit(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName, fastRmsInfo)
Parameters: - sourceAfuFileName (str) – File name of the source AFU
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
. - fastRmsInfo (
NXOpen.CAE.AfuMathFastRMSInfo
) – Fast RMS information dataNXOpen.CAE.AfuMathFastRMSInfo
to be set
Returns: Fast RMS output data
NXOpen.CAE.AfuMathFastRMSOutput
to be obtainedReturn type: New in version NX11.0.0.
License requirements: None.
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
- sourceRecordIndex1 (int) – Index of the first source AFU Data Record
- sourceAfuFileName2 (str) – File name of the second source AFU
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
- 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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX6.0.0.
License requirements: None.
- 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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX10.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX10.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX10.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX10.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX9.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
- 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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX5.0.0.
License requirements: None.
NewFastRmsInfo¶
-
AfuMathOperation.
NewFastRmsInfo
¶ Constructs a new Fast RMS Info object.
Signature
NewFastRmsInfo()
Returns: Return type: NXOpen.CAE.AfuMathFastRMSInfo
New in version NX11.0.0.
License requirements: None.
NewFastRmsOutput¶
-
AfuMathOperation.
NewFastRmsOutput
¶ Constructs a new Fast RMS Output object.
Signature
NewFastRmsOutput()
Returns: Return type: NXOpen.CAE.AfuMathFastRMSOutput
New in version NX11.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationSrsToTimeOption.DampedSinusoid
- octave (
NXOpen.CAE.AfuMathOperationSrsToTimeOctave
) – Octave Spacing when conversionOption isNXOpen.CAE.AfuMathOperationSrsToTimeOption.Wavelet
- numTrials (int) – Number of trials conversionOption is
NXOpen.CAE.AfuMathOperationSrsToTimeOption.Wavelet
- strategy (
NXOpen.CAE.AfuMathOperationSrsToTimeStrategy
) – Conversion strategy conversionOption isNXOpen.CAE.AfuMathOperationSrsToTimeOption.Wavelet
- saveSrsResults (bool) – Save the two srs results when converting the srs function to time if TRUE
- outputAfuFileName (str) – Output AFU file name
- outputRecordName (str) – Output record name of afu
New in version NX6.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationOutputType.OtherFile
.
New in version NX6.0.0.
License requirements: None.
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
- 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
NXOpen.CAE.AfuMathOperationTimeToSrsAxisType.Linear
- pointsPerDecades (int) – Points per decads when freqAxisType is
NXOpen.CAE.AfuMathOperationTimeToSrsAxisType.Log
orNXOpen.CAE.AfuMathOperationTimeToSrsAxisType.Decade
- responseType (
NXOpen.CAE.AfuMathOperationTimeToSrsResponseType
) – Response type paramater - outputAfuFileName (str) – Output AFU file name
- outputRecordName (str) – Output record name of afu
New in version NX6.0.0.
License requirements: None.