Span

SCPI Command :

CALCulate:SPECtrum<*>:FREQuency:SPAN
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(spectrum=Spectrum.Default) float[source]
# CALCulate:SPECtrum<*>:FREQuency:SPAN
value: float = driver.calculate.spectrum.frequency.span.get(spectrum = repcap.Spectrum.Default)

The span is specified in Hertz and defines the width of the displayed frequency range, which is (Center - Span/2) to (Center + Span/2) . The position of the span is defined using the Center setting.

Parameters:

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

Returns:

span: 0 to 1E+26

set(span: float, spectrum=Spectrum.Default) None[source]
# CALCulate:SPECtrum<*>:FREQuency:SPAN
driver.calculate.spectrum.frequency.span.set(span = 1.0, spectrum = repcap.Spectrum.Default)

The span is specified in Hertz and defines the width of the displayed frequency range, which is (Center - Span/2) to (Center + Span/2) . The position of the span is defined using the Center setting.

Parameters:
  • span – 0 to 1E+26

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