Npeak

SCPI Command :

FETCh:GPRF:MEASurement<Instance>:SPECtrum:MARKer<MarkerNo>:NPEak
class NpeakCls[source]

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

class FetchStruct[source]

Response structure. Fields:

  • Reliability: int: decimal See ‘Reliability indicator’

  • Xvalue: float: float X value

  • Yvalue: float: float Y value Unit: dBm

fetch(detector: Detector, statistic: Statistic, marker=Marker.Default) FetchStruct[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:SPECtrum:MARKer<MarkerNo>:NPEak
value: FetchStruct = driver.spectrum.marker.npeak.fetch(detector = enums.Detector.AUTopeak, statistic = enums.Statistic.AVERage, marker = repcap.Marker.Default)

Moves marker <MarkerNo> to the next lower (or equal) peak, relative to the current marker position. Returns the X and Y value of the new marker position. The trace is selected by <Detector> and <Statistic>.

param detector:

AVERage | RMS | SAMPle | MINPeak | MAXPeak | AUTopeak Selects the detector type, see ‘Detector hotkey’.

param statistic:

CURRent | AVERage | MAXimum | MINimum Selects the trace type.

param marker:

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

return:

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