Arithmetics
SCPI Command :
CALCulate:MATH<*>:ARIThmetics
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(math=Math.Default) Arithmetics[source]
# CALCulate:MATH<*>:ARIThmetics value: enums.Arithmetics = driver.calculate.math.arithmetics.get(math = repcap.Math.Default)
Selects the method to build the resulting math waveform from consecutive acquisitions. The processing is similar to the waveform arithmetics - instead of the acquired waveforms the results of the mathematic formula are used to create envelope, average and RMS. To define the reset condition for arithmetics calculation, use method
RsRtx.acquire.areset.mode().- Parameters:
math – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Math’)
- Returns:
arithmetics: Waveform arithmetic mode
OFF: The math waveform is built according to the mathematic formula.
ENVelope: Detects the minimum and maximum math values in a sample interval over a number of acquisitions.
AVERage: Calculates the average from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
RMS: The resulting math waveform is the root mean square of the current acquisition and a number of acquisitions before. The result is the average power spectrum. Number of acquisitions: ACQuire:COUNt
MAXHold: Determines the maximum result for each input value from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
MINHold: Determines the minimum result for each input value from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
- set(arithmetics: Arithmetics, math=Math.Default) None[source]
# CALCulate:MATH<*>:ARIThmetics driver.calculate.math.arithmetics.set(arithmetics = enums.Arithmetics.AVERage, math = repcap.Math.Default)
Selects the method to build the resulting math waveform from consecutive acquisitions. The processing is similar to the waveform arithmetics - instead of the acquired waveforms the results of the mathematic formula are used to create envelope, average and RMS. To define the reset condition for arithmetics calculation, use method
RsRtx.acquire.areset.mode().- Parameters:
arithmetics –
Waveform arithmetic mode
OFF: The math waveform is built according to the mathematic formula.
ENVelope: Detects the minimum and maximum math values in a sample interval over a number of acquisitions.
AVERage: Calculates the average from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
RMS: The resulting math waveform is the root mean square of the current acquisition and a number of acquisitions before. The result is the average power spectrum. Number of acquisitions: ACQuire:COUNt
MAXHold: Determines the maximum result for each input value from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
MINHold: Determines the minimum result for each input value from the math data of the current acquisition and a number of acquisitions before. To define the number of acquisitions, use ACQuire:COUNt.
math – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Math’)