Result<Trace>
RepCap Settings
# Range: Tr1 .. Tr16
rc = driver.calculate.marker.function.ademod.thd.result.repcap_trace_get()
driver.calculate.marker.function.ademod.thd.result.repcap_trace_set(repcap.Trace.Tr1)
SCPI Command :
CALCulate<n>:MARKer<m>:FUNCtion:ADEMod:THD:RESult<t>
- class ResultCls[source]
Result commands group definition. 1 total commands, 0 Subgroups, 1 group commands Repeated Capability: Trace, default value after init: Trace.Tr1
- get(window=Window.Default, marker=Marker.Default, trace=Trace.Default) float [source]
# SCPI: CALCulate<n>:MARKer<m>:FUNCtion:ADEMod:THD:RESult<t> value: float = driver.calculate.marker.function.ademod.thd.result.get(window = repcap.Window.Default, marker = repcap.Marker.Default, trace = repcap.Trace.Default)
Queries the result of the total harmonic distortion (THD) measurement in the specified window. Note that this value is only calculated if an AF Spectrum window is displayed.
- param window
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)
- param marker
optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)
- param trace
optional repeated capability selector. Default value: Tr1 (settable in the interface ‘Result’)
- return
thd: Total harmonic distortion of the demodulated signal in dB.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.calculate.marker.function.ademod.thd.result.clone()