Distortion

SCPI Command :

CALCulate<n>:MARKer<m>:FUNCtion:HARMonics:DISTortion
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class GetStruct[source]

Response structure. Fields:

  • 1 Distortion_Pct: float: No parameter help available

  • 2 Distortion_Db: float: No parameter help available

get(result: ResultTypeD = None, window=Window.Default, marker=Marker.Default) GetStruct[source]
# CALCulate<n>:MARKer<m>:FUNCtion:HARMonics:DISTortion
value: GetStruct = driver.calculate.marker.function.harmonics.distortion.get(result = enums.ResultTypeD.TOTal, window = repcap.Window.Default, marker = repcap.Marker.Default)

Queries the total harmonic distortion of the signal. To get a valid result, you have to perform a complete measurement with synchronization to the end of the measurement before reading out the result. This is only possible for single sweep mode. See also method RsFsw.applications.k10Xlte.initiate.continuous.set() .

Parameters:
  • result – TOTal

  • 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’)

Returns:

structure: for return value, see the help for GetStruct structure arguments.