Npeak

SCPI Command :

FETCh:GPRF:MEASurement<Instance>:SPECtrum:REFMarker: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) FetchStruct[source]
# SCPI: FETCh:GPRF:MEASurement<Instance>:SPECtrum:REFMarker:NPEak
value: FetchStruct = driver.spectrum.referenceMarker.npeak.fetch(detector = enums.Detector.AUTopeak, statistic = enums.Statistic.AVERage)

Moves the reference marker 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.

return:

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