math1
¶
The math1 commands module.
These commands are used in the following models: DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- MATH1:AUTOSCale {ON|OFF|1|0}
- MATH1:AUTOSCale?
- MATH1:DEFine <QString>
- MATH1:DEFine?
- MATH1:HORizontal:POSition <NR3>
- MATH1:HORizontal:POSition?
- MATH1:HORizontal:SCAle <NR3>
- MATH1:HORizontal:SCAle?
- MATH1:HORizontal:UNIts?
- MATH1:LABel <QString>
- MATH1:LABel?
- MATH1:SPECTral:MAG {LINEAr|DB}
- MATH1:SPECTral:MAG?
- MATH1:SPECTral:WINdow {RECTangular|HAMming|HANning|BLAckmanharris}
- MATH1:SPECTral:WINdow?
- MATH1:TYPe {DUAL|FFT|ADVanced|SPECTRUM}
- MATH1:TYPe?
- MATH1:VERTical:POSition <NR3>
- MATH1:VERTical:POSition?
- MATH1:VERTical:SCAle <NR3>
- MATH1:VERTical:SCAle?
- MATH1:VERTical:UNIts?
- MATH1?
Math1
¶
Bases: SCPICmdRead
The MATH1 command.
Description
- Returns the definition of the math waveform. The returned data depends on the setting of
the
MATH1:TYPEcommand.
Usage
- Using the
.query()method will send theMATH1?query. - Using the
.verify(value)method will send theMATH1?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MATH1?
Properties
.autoscale: TheMATH1:AUTOSCalecommand..define: TheMATH1:DEFinecommand..horizontal: TheMATH1:HORizontalcommand tree..label: TheMATH1:LABelcommand..spectral: TheMATH1:SPECTralcommand tree..type: TheMATH1:TYPecommand..vertical: TheMATH1:VERTicalcommand tree.
autoscale
property
¶
autoscale: Math1Autoscale
Return the MATH1:AUTOSCale command.
Description
- Sets (or queries) the state of automatic vertical scaling of the math waveform. The default state is ON (1).
Usage
- Using the
.query()method will send theMATH1:AUTOSCale?query. - Using the
.verify(value)method will send theMATH1:AUTOSCale?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:AUTOSCale valuecommand.
SCPI Syntax
- MATH1:AUTOSCale {ON|OFF|1|0}
- MATH1:AUTOSCale?
Info
1or ON enables automatic vertical scaling of the math waveform when the RF reference level falls below -25.0 dBm. Reference levels greater than or equal to -25.0 dBm cause the probe to go into BYPass mode. The reference level is set/queried using the commandRF:REFLevel.0or OFF disables math autoscaling.
define
property
¶
define: Math1Define
Return the MATH1:DEFine command.
Description
- This command specifies the current math function as a text string. You must also
specify the type (dual waveform, FFT, advanced math, or spectrum math) using
MATH1:TYPE Dualmath expressions are strings of the form, where the s are any combination of live analog or reference waveforms in the time domain display, the is any of +, -, * or /, and the type has been set to DUAL. FFT math expressions are strings of the form FFT( ), where is any live analog or reference waveforms in the time domain display, and the type has been set to FFT. Advanced math expressions extend beyond dual math expressions, incorporating combinations of advanced math functions, measurements, and operators. Spectrum math (MDO models) expressions are strings of the form , where the waveforms are any combination of live RF or reference traces in the frequency domain display, the is either + or -, and type has been set to SPECTRUM.
Usage
- Using the
.query()method will send theMATH1:DEFine?query. - Using the
.verify(value)method will send theMATH1:DEFine?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:DEFine valuecommand.
SCPI Syntax
- MATH1:DEFine <QString>
- MATH1:DEFine?
Info
<QString>quoted string argument is the mathematical expression that defines the waveform.:MATH:DEFINE 'FFT(CH1)'Automatic measurements of waveforms:MATH:DEFINE 'AMPlitude(CH1)':MATH:DEFINE 'AREA(CH1)':MATH:DEFINE 'BURST(CH1)':MATH:DEFINE 'CAREA(CH1)':MATH:DEFINE 'CMEAN(CH1)':MATH:DEFINE 'CRMS(CH1)':MATH:DEFINE 'DELAY(CH1,CH2)':MATH:DEFINE 'FALL(CH1)':MATH:DEFINE 'FREQUENCY(CH1)':MATH:DEFINE 'HIGH(CH1)*CH2':MATH:DEFINE 'LOW(CH1)':MATH:DEFINE 'MAXIMUM(CH1)':MATH:DEFINE 'MEAN(CH1)':MATH:DEFINE 'MINIMUM(CH1)':MATH:DEFINE 'NDUTY(CH1)':MATH:DEFINE 'NOVERSHOOT(CH1)':MATH:DEFINE 'NWIDTH(CH1)':MATH:DEFINE 'PDUTY(CH1)':MATH:DEFINE 'PERIOD(CH1)':MATH:DEFINE 'PHASE(CH1,CH2)':MATH:DEFINE 'PK2PK(CH1)':MATH:DEFINE 'POVERSHOOT(CH1)':MATH:DEFINE 'PWIDTH(CH1)':MATH:DEFINE 'RISE(CH1)':MATH:DEFINE 'RMS(CH1)':MATH:DEFINE 'SINE(CH1)'Trigonometric operations on expressions:MATH:DEFINE 'ABS(CH2-CH1)':MATH:DEFINE 'COSine(CH1)':MATH:DEFINE 'CH1 * DEG(VAR1)':MATH:DEFINE 'DIFF(CH1)':MATH:DEFINE 'DIFF(ABS(CH1))':MATH:DEFINE 'EXP(DIFF(CH1))':MATH:DEFINE 'FFT(CH1)':MATH:DEFINE 'FFT(CH1+CH2)':MATH:DEFINE 'FFT(CH1+ INT(CH2))':MATH:DEFINE 'CH1 + FFT(CH2)'Not acceptable.:MATH:DEFINE 'INTG(CH1)':MATH:DEFINE 'INTG(CH1+CH2)':MATH:DEFINE 'LOG(CH1)':MATH:DEFINE 'RAD(PHASE(CH1,CH2))':MATH:DEFINE 'SQRT(SINE(CH1))':MATH:DEFINE 'SINE(CH1+CH2)':MATH:DEFINE 'TAN(CH1)':MATH:DEFINE 'TRE(PERIOD(CH1))'User-defined variables:MATH:DEFINE 'VAR1+CH1'Relational and logical operators:MATH:DEFINE '(CH1 < CH2)':MATH:DEFINE '(CH1 > CH2)':MATH:DEFINE '(CH1 <= CH2)':MATH:DEFINE '(CH1 >= CH2)':MATH:DEFINE '(CH1 != CH2)':MATH:DEFINE 'CH1==CH2':MATH:DEFINE '(CH1 != CH2)(CH3 == CH4)':MATH:DEFINE '(CH1 != CH2) && (CH3 == CH4)':MATH:DEFINE '(CH2-CH1) * !(CH1 >= CH2)'
horizontal
property
¶
horizontal: Math1Horizontal
Return the MATH1:HORizontal command tree.
Usage
- Using the
.query()method will send theMATH1:HORizontal?query. - Using the
.verify(value)method will send theMATH1:HORizontal?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.position: TheMATH1:HORizontal:POSitioncommand..scale: TheMATH1:HORizontal:SCAlecommand..units: TheMATH1:HORizontal:UNItscommand.
label
property
¶
label: Math1Label
Return the MATH1:LABel command.
Description
- Sets or queries the waveform label for the math waveform.
Usage
- Using the
.query()method will send theMATH1:LABel?query. - Using the
.verify(value)method will send theMATH1:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:LABel valuecommand.
SCPI Syntax
- MATH1:LABel <QString>
- MATH1:LABel?
Info
<QString>is the quoted string used as the label for the math waveform.
spectral
property
¶
spectral: Math1Spectral
Return the MATH1:SPECTral command tree.
Usage
- Using the
.query()method will send theMATH1:SPECTral?query. - Using the
.verify(value)method will send theMATH1:SPECTral?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.mag: TheMATH1:SPECTral:MAGcommand..window: TheMATH1:SPECTral:WINdowcommand.
type
property
¶
type: Math1Type
Return the MATH1:TYPe command.
Description
- This command specifies the math type ( DUAL, FFT, ADVanced or SPECTRUM ). This command
is used along with
MATH1:DEFINE, which specifies the current mathematical expression as a text string which defines the waveform. You must specify the math type before defining the math expression. For a list of math expressions, seeMATH1:DEFINE.
Usage
- Using the
.query()method will send theMATH1:TYPe?query. - Using the
.verify(value)method will send theMATH1:TYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:TYPe valuecommand.
SCPI Syntax
- MATH1:TYPe {DUAL|FFT|ADVanced|SPECTRUM}
- MATH1:TYPe?
Info
DUALsets the type to dual waveform math, which can use any combination of live analog or reference waveforms in the time domain display.FFTsets the type to FFT math, which can use any live analog or reference waveform in the time domain.ADVancedsets the type to advanced math.SPECTRUMsets the type to spectrum, which can use any combination of live RF or reference traces in the frequency domain. This command requires option 3-SA3.
vertical
property
¶
vertical: Math1Vertical
Return the MATH1:VERTical command tree.
Usage
- Using the
.query()method will send theMATH1:VERTical?query. - Using the
.verify(value)method will send theMATH1:VERTical?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.position: TheMATH1:VERTical:POSitioncommand..scale: TheMATH1:VERTical:SCAlecommand..units: TheMATH1:VERTical:UNItscommand.
Math1Autoscale
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:AUTOSCale command.
Description
- Sets (or queries) the state of automatic vertical scaling of the math waveform. The default state is ON (1).
Usage
- Using the
.query()method will send theMATH1:AUTOSCale?query. - Using the
.verify(value)method will send theMATH1:AUTOSCale?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:AUTOSCale valuecommand.
SCPI Syntax
- MATH1:AUTOSCale {ON|OFF|1|0}
- MATH1:AUTOSCale?
Info
1or ON enables automatic vertical scaling of the math waveform when the RF reference level falls below -25.0 dBm. Reference levels greater than or equal to -25.0 dBm cause the probe to go into BYPass mode. The reference level is set/queried using the commandRF:REFLevel.0or OFF disables math autoscaling.
Math1Define
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:DEFine command.
Description
- This command specifies the current math function as a text string. You must also specify
the type (dual waveform, FFT, advanced math, or spectrum math) using
MATH1:TYPE Dualmath expressions are strings of the form, where the s are any combination of live analog or reference waveforms in the time domain display, the is any of +, -, * or /, and the type has been set to DUAL. FFT math expressions are strings of the form FFT( ), where is any live analog or reference waveforms in the time domain display, and the type has been set to FFT. Advanced math expressions extend beyond dual math expressions, incorporating combinations of advanced math functions, measurements, and operators. Spectrum math (MDO models) expressions are strings of the form , where the waveforms are any combination of live RF or reference traces in the frequency domain display, the is either + or -, and type has been set to SPECTRUM.
Usage
- Using the
.query()method will send theMATH1:DEFine?query. - Using the
.verify(value)method will send theMATH1:DEFine?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:DEFine valuecommand.
SCPI Syntax
- MATH1:DEFine <QString>
- MATH1:DEFine?
Info
<QString>quoted string argument is the mathematical expression that defines the waveform.:MATH:DEFINE 'FFT(CH1)'Automatic measurements of waveforms:MATH:DEFINE 'AMPlitude(CH1)':MATH:DEFINE 'AREA(CH1)':MATH:DEFINE 'BURST(CH1)':MATH:DEFINE 'CAREA(CH1)':MATH:DEFINE 'CMEAN(CH1)':MATH:DEFINE 'CRMS(CH1)':MATH:DEFINE 'DELAY(CH1,CH2)':MATH:DEFINE 'FALL(CH1)':MATH:DEFINE 'FREQUENCY(CH1)':MATH:DEFINE 'HIGH(CH1)*CH2':MATH:DEFINE 'LOW(CH1)':MATH:DEFINE 'MAXIMUM(CH1)':MATH:DEFINE 'MEAN(CH1)':MATH:DEFINE 'MINIMUM(CH1)':MATH:DEFINE 'NDUTY(CH1)':MATH:DEFINE 'NOVERSHOOT(CH1)':MATH:DEFINE 'NWIDTH(CH1)':MATH:DEFINE 'PDUTY(CH1)':MATH:DEFINE 'PERIOD(CH1)':MATH:DEFINE 'PHASE(CH1,CH2)':MATH:DEFINE 'PK2PK(CH1)':MATH:DEFINE 'POVERSHOOT(CH1)':MATH:DEFINE 'PWIDTH(CH1)':MATH:DEFINE 'RISE(CH1)':MATH:DEFINE 'RMS(CH1)':MATH:DEFINE 'SINE(CH1)'Trigonometric operations on expressions:MATH:DEFINE 'ABS(CH2-CH1)':MATH:DEFINE 'COSine(CH1)':MATH:DEFINE 'CH1 * DEG(VAR1)':MATH:DEFINE 'DIFF(CH1)':MATH:DEFINE 'DIFF(ABS(CH1))':MATH:DEFINE 'EXP(DIFF(CH1))':MATH:DEFINE 'FFT(CH1)':MATH:DEFINE 'FFT(CH1+CH2)':MATH:DEFINE 'FFT(CH1+ INT(CH2))':MATH:DEFINE 'CH1 + FFT(CH2)'Not acceptable.:MATH:DEFINE 'INTG(CH1)':MATH:DEFINE 'INTG(CH1+CH2)':MATH:DEFINE 'LOG(CH1)':MATH:DEFINE 'RAD(PHASE(CH1,CH2))':MATH:DEFINE 'SQRT(SINE(CH1))':MATH:DEFINE 'SINE(CH1+CH2)':MATH:DEFINE 'TAN(CH1)':MATH:DEFINE 'TRE(PERIOD(CH1))'User-defined variables:MATH:DEFINE 'VAR1+CH1'Relational and logical operators:MATH:DEFINE '(CH1 < CH2)':MATH:DEFINE '(CH1 > CH2)':MATH:DEFINE '(CH1 <= CH2)':MATH:DEFINE '(CH1 >= CH2)':MATH:DEFINE '(CH1 != CH2)':MATH:DEFINE 'CH1==CH2':MATH:DEFINE '(CH1 != CH2)(CH3 == CH4)':MATH:DEFINE '(CH1 != CH2) && (CH3 == CH4)':MATH:DEFINE '(CH2-CH1) * !(CH1 >= CH2)'
Math1Horizontal
¶
Bases: SCPICmdRead
The MATH1:HORizontal command tree.
Usage
- Using the
.query()method will send theMATH1:HORizontal?query. - Using the
.verify(value)method will send theMATH1:HORizontal?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.position: TheMATH1:HORizontal:POSitioncommand..scale: TheMATH1:HORizontal:SCAlecommand..units: TheMATH1:HORizontal:UNItscommand.
position
property
¶
position: Math1HorizontalPosition
Return the MATH1:HORizontal:POSition command.
Description
- This command specifies the math horizontal display position for FFT or (non-live) math reference waveforms.
Usage
- Using the
.query()method will send theMATH1:HORizontal:POSition?query. - Using the
.verify(value)method will send theMATH1:HORizontal:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:HORizontal:POSition valuecommand.
SCPI Syntax
- MATH1:HORizontal:POSition <NR3>
- MATH1:HORizontal:POSition?
Info
<NR3>is a floating point number that specifies the % of the math waveform that precedes center screen. It can vary from 0.0 to 100.0.
scale
property
¶
scale: Math1HorizontalScale
Return the MATH1:HORizontal:SCAle command.
Description
- This command specifies the math horizontal display scale for FFT or for dual math waveforms that have source waveforms that are reference waveforms. The horizontal scale of a dual math waveform with a channel source waveform is set through the command.
Usage
- Using the
.query()method will send theMATH1:HORizontal:SCAle?query. - Using the
.verify(value)method will send theMATH1:HORizontal:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:HORizontal:SCAle valuecommand.
SCPI Syntax
- MATH1:HORizontal:SCAle <NR3>
- MATH1:HORizontal:SCAle?
Info
<NR3>is a floating point number that specifies the math horizontal scale, in seconds.
units
property
¶
units: Math1HorizontalUnits
Return the MATH1:HORizontal:UNIts command.
Description
- Returns the math waveform horizontal measurement unit value.
Usage
- Using the
.query()method will send theMATH1:HORizontal:UNIts?query. - Using the
.verify(value)method will send theMATH1:HORizontal:UNIts?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MATH1:HORizontal:UNIts?
Math1HorizontalPosition
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:HORizontal:POSition command.
Description
- This command specifies the math horizontal display position for FFT or (non-live) math reference waveforms.
Usage
- Using the
.query()method will send theMATH1:HORizontal:POSition?query. - Using the
.verify(value)method will send theMATH1:HORizontal:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:HORizontal:POSition valuecommand.
SCPI Syntax
- MATH1:HORizontal:POSition <NR3>
- MATH1:HORizontal:POSition?
Info
<NR3>is a floating point number that specifies the % of the math waveform that precedes center screen. It can vary from 0.0 to 100.0.
Math1HorizontalScale
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:HORizontal:SCAle command.
Description
- This command specifies the math horizontal display scale for FFT or for dual math waveforms that have source waveforms that are reference waveforms. The horizontal scale of a dual math waveform with a channel source waveform is set through the command.
Usage
- Using the
.query()method will send theMATH1:HORizontal:SCAle?query. - Using the
.verify(value)method will send theMATH1:HORizontal:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:HORizontal:SCAle valuecommand.
SCPI Syntax
- MATH1:HORizontal:SCAle <NR3>
- MATH1:HORizontal:SCAle?
Info
<NR3>is a floating point number that specifies the math horizontal scale, in seconds.
Math1HorizontalUnits
¶
Bases: SCPICmdRead
The MATH1:HORizontal:UNIts command.
Description
- Returns the math waveform horizontal measurement unit value.
Usage
- Using the
.query()method will send theMATH1:HORizontal:UNIts?query. - Using the
.verify(value)method will send theMATH1:HORizontal:UNIts?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MATH1:HORizontal:UNIts?
Math1Label
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:LABel command.
Description
- Sets or queries the waveform label for the math waveform.
Usage
- Using the
.query()method will send theMATH1:LABel?query. - Using the
.verify(value)method will send theMATH1:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:LABel valuecommand.
SCPI Syntax
- MATH1:LABel <QString>
- MATH1:LABel?
Info
<QString>is the quoted string used as the label for the math waveform.
Math1Spectral
¶
Bases: SCPICmdRead
The MATH1:SPECTral command tree.
Usage
- Using the
.query()method will send theMATH1:SPECTral?query. - Using the
.verify(value)method will send theMATH1:SPECTral?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.mag: TheMATH1:SPECTral:MAGcommand..window: TheMATH1:SPECTral:WINdowcommand.
mag
property
¶
mag: Math1SpectralMag
Return the MATH1:SPECTral:MAG command.
Description
- This command specifies the units of the Spectral Magnification function in the math string.
Usage
- Using the
.query()method will send theMATH1:SPECTral:MAG?query. - Using the
.verify(value)method will send theMATH1:SPECTral:MAG?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:SPECTral:MAG valuecommand.
SCPI Syntax
- MATH1:SPECTral:MAG {LINEAr|DB}
- MATH1:SPECTral:MAG?
Info
LINEARsets the SpectralMag units to linear.DBsets the SpectralMag units to decibels.
window
property
¶
window: Math1SpectralWindow
Return the MATH1:SPECTral:WINdow command.
Description
- This command specifies the window function for the spectral analyzer input data for the specified math waveform. A spectral window determines what the filter shape of the spectral analyzer will be in the frequency domain. It can be described by a mathematical function that is multiplied point-by-point times the input data to the spectral analyzer.
Usage
- Using the
.query()method will send theMATH1:SPECTral:WINdow?query. - Using the
.verify(value)method will send theMATH1:SPECTral:WINdow?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:SPECTral:WINdow valuecommand.
SCPI Syntax
- MATH1:SPECTral:WINdow {RECTangular|HAMming|HANning|BLAckmanharris}
- MATH1:SPECTral:WINdow?
Info
RECTangularwindow function is equivalent to multiplying all gate data by one.HAMmingwindow function is based on a cosine series.HANningwindow function is based on a cosine series.BLAckmanharriswindow function is based on a cosine series.
Math1SpectralMag
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:SPECTral:MAG command.
Description
- This command specifies the units of the Spectral Magnification function in the math string.
Usage
- Using the
.query()method will send theMATH1:SPECTral:MAG?query. - Using the
.verify(value)method will send theMATH1:SPECTral:MAG?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:SPECTral:MAG valuecommand.
SCPI Syntax
- MATH1:SPECTral:MAG {LINEAr|DB}
- MATH1:SPECTral:MAG?
Info
LINEARsets the SpectralMag units to linear.DBsets the SpectralMag units to decibels.
Math1SpectralWindow
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:SPECTral:WINdow command.
Description
- This command specifies the window function for the spectral analyzer input data for the specified math waveform. A spectral window determines what the filter shape of the spectral analyzer will be in the frequency domain. It can be described by a mathematical function that is multiplied point-by-point times the input data to the spectral analyzer.
Usage
- Using the
.query()method will send theMATH1:SPECTral:WINdow?query. - Using the
.verify(value)method will send theMATH1:SPECTral:WINdow?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:SPECTral:WINdow valuecommand.
SCPI Syntax
- MATH1:SPECTral:WINdow {RECTangular|HAMming|HANning|BLAckmanharris}
- MATH1:SPECTral:WINdow?
Info
RECTangularwindow function is equivalent to multiplying all gate data by one.HAMmingwindow function is based on a cosine series.HANningwindow function is based on a cosine series.BLAckmanharriswindow function is based on a cosine series.
Math1Type
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:TYPe command.
Description
- This command specifies the math type ( DUAL, FFT, ADVanced or SPECTRUM ). This command is
used along with
MATH1:DEFINE, which specifies the current mathematical expression as a text string which defines the waveform. You must specify the math type before defining the math expression. For a list of math expressions, seeMATH1:DEFINE.
Usage
- Using the
.query()method will send theMATH1:TYPe?query. - Using the
.verify(value)method will send theMATH1:TYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:TYPe valuecommand.
SCPI Syntax
- MATH1:TYPe {DUAL|FFT|ADVanced|SPECTRUM}
- MATH1:TYPe?
Info
DUALsets the type to dual waveform math, which can use any combination of live analog or reference waveforms in the time domain display.FFTsets the type to FFT math, which can use any live analog or reference waveform in the time domain.ADVancedsets the type to advanced math.SPECTRUMsets the type to spectrum, which can use any combination of live RF or reference traces in the frequency domain. This command requires option 3-SA3.
Math1Vertical
¶
Bases: SCPICmdRead
The MATH1:VERTical command tree.
Usage
- Using the
.query()method will send theMATH1:VERTical?query. - Using the
.verify(value)method will send theMATH1:VERTical?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.position: TheMATH1:VERTical:POSitioncommand..scale: TheMATH1:VERTical:SCAlecommand..units: TheMATH1:VERTical:UNItscommand.
position
property
¶
position: Math1VerticalPosition
Return the MATH1:VERTical:POSition command.
Description
- This command specifies the vertical position of the currently selected math type.
Usage
- Using the
.query()method will send theMATH1:VERTical:POSition?query. - Using the
.verify(value)method will send theMATH1:VERTical:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:VERTical:POSition valuecommand.
SCPI Syntax
- MATH1:VERTical:POSition <NR3>
- MATH1:VERTical:POSition?
Info
<NR3>is a floating point number that specifies the desired position in divisions from the center graticule.
scale
property
¶
scale: Math1VerticalScale
Return the MATH1:VERTical:SCAle command.
Description
- This command specifies the vertical scale of the currently selected math type. This setting controls the display only, graphically scaling these waveforms and having no affect on the acquisition hardware. For a signal with constant amplitude, increasing the scale causes the waveform to be displayed smaller. Decreasing the scale causes the waveform to be displayed larger.
Usage
- Using the
.query()method will send theMATH1:VERTical:SCAle?query. - Using the
.verify(value)method will send theMATH1:VERTical:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:VERTical:SCAle valuecommand.
SCPI Syntax
- MATH1:VERTical:SCAle <NR3>
- MATH1:VERTical:SCAle?
Info
<NR3>is a floating point number that specifies the scale-per-division in the current math vertical units. The range is from 1.0E-12 through 500.0E+12.
units
property
¶
units: Math1VerticalUnits
Return the MATH1:VERTical:UNIts command.
Description
- Returns the math waveform vertical measurement unit value.
Usage
- Using the
.query()method will send theMATH1:VERTical:UNIts?query. - Using the
.verify(value)method will send theMATH1:VERTical:UNIts?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MATH1:VERTical:UNIts?
Math1VerticalPosition
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:VERTical:POSition command.
Description
- This command specifies the vertical position of the currently selected math type.
Usage
- Using the
.query()method will send theMATH1:VERTical:POSition?query. - Using the
.verify(value)method will send theMATH1:VERTical:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:VERTical:POSition valuecommand.
SCPI Syntax
- MATH1:VERTical:POSition <NR3>
- MATH1:VERTical:POSition?
Info
<NR3>is a floating point number that specifies the desired position in divisions from the center graticule.
Math1VerticalScale
¶
Bases: SCPICmdWrite, SCPICmdRead
The MATH1:VERTical:SCAle command.
Description
- This command specifies the vertical scale of the currently selected math type. This setting controls the display only, graphically scaling these waveforms and having no affect on the acquisition hardware. For a signal with constant amplitude, increasing the scale causes the waveform to be displayed smaller. Decreasing the scale causes the waveform to be displayed larger.
Usage
- Using the
.query()method will send theMATH1:VERTical:SCAle?query. - Using the
.verify(value)method will send theMATH1:VERTical:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMATH1:VERTical:SCAle valuecommand.
SCPI Syntax
- MATH1:VERTical:SCAle <NR3>
- MATH1:VERTical:SCAle?
Info
<NR3>is a floating point number that specifies the scale-per-division in the current math vertical units. The range is from 1.0E-12 through 500.0E+12.
Math1VerticalUnits
¶
Bases: SCPICmdRead
The MATH1:VERTical:UNIts command.
Description
- Returns the math waveform vertical measurement unit value.
Usage
- Using the
.query()method will send theMATH1:VERTical:UNIts?query. - Using the
.verify(value)method will send theMATH1:VERTical:UNIts?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MATH1:VERTical:UNIts?