Result<Trace>

SCPI Command :

CALCulate<n>:MARKer<m>:FUNCtion:ADEMod:THD:RESult<t>
Commands in total: 1
Subgroups: 0
Direct child commands: 1

Repeated Capability Setting:

# Range: Tr1 .. Tr16

driver.calculate.marker.function.ademod.thd.result.repcap_trace_set(repcap.Trace.Tr1)
get(window=Window.Default, marker=Marker.Default, trace=Trace.Default) float[source]
# 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.

Parameters:
  • window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

  • marker – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Marker’)

  • trace – optional repeated capability selector. Default value: Tr1 (settable in the interface ‘Result’)

Returns:

thd: Total harmonic distortion of the demodulated signal in dB.

Cloning the Group

# Create a copy of the original group, that exists independently
result_copy = driver.calculate.marker.function.ademod.thd.result.clone()