Distortion

SCPI Command :

CALCulate<n>:MARKer<m>:FUNCtion:HARMonics:DISTortion
class DistortionCls[source]

Distortion commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class GetStruct[source]

Response structure. Fields:

  • Distortion_Pct: float: No parameter help available

  • Distortion_Db: float: No parameter help available

get(result: Optional[RsFsw.enums.ResultTypeD] = None, window=Window.Default, marker=Marker.Default) GetStruct[source]
# SCPI: 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.K10x_Lte.Initiate.Continuous.set.

param result

TOTal

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

return

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