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:
Returns:

Fast RMS output data NXOpen.CAE.AfuMathFastRMSOutput to be obtained

Return type:

NXOpen.CAE.AfuMathFastRMSOutput

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:

New in version NX5.0.0.

License requirements: None.

CalculateOverallMathRecords

AfuMathOperation.CalculateOverallMathRecords

Does Overall Math Operations on AFU Data Records

Signature CalculateOverallMathRecords(overallType, sourceAfuFileNames, sourceRecordIndexes, outputType, destinationAfuFileName)

Parameters:

New in version NX6.0.0.

License requirements: None.

CalculateSingleMathAbsoluteValue

AfuMathOperation.CalculateSingleMathAbsoluteValue

Gets absolute values of AFU Data Records

Signature CalculateSingleMathAbsoluteValue(sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)

Parameters:

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:

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:

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:

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:

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:

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:

New in version NX5.0.0.

License requirements: None.

CalculateSingleMathMovingAverage

AfuMathOperation.CalculateSingleMathMovingAverage

Gets moving average values of AFU Data Records

Signature CalculateSingleMathMovingAverage(movingAverageNumber, sourceAfuFileName, sourceRecordIndex, outputType, destinationAfuFileName)

Parameters:

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:

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:

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:

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:

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:

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:

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:

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:

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:

New in version NX6.0.0.

License requirements: None.