Spectrum

SCPI Commands :

POWer:SPECtrum:FREQuency
POWer:SPECtrum:AUToscale
POWer:SPECtrum:RCOunt
Commands in total: 7
Subgroups: 3
Direct child commands: 3
get_auto_scale() AutoScale[source]
# POWer:SPECtrum:AUToscale
value: enums.AutoScale = driver.power.spectrum.get_auto_scale()

Selects the scaling for the display of the results.

Returns:

auto_scale: AUTO | MANUAL

get_frequency() float[source]
# POWer:SPECtrum:FREQuency
value: float = driver.power.spectrum.get_frequency()

Sets the SMPS switching frequency.

Returns:

smps_frequency: 1 to 100E+6

get_rcount() float[source]
# POWer:SPECtrum:RCOunt
value: float = driver.power.spectrum.get_rcount()

Returns the total number of harmonics.

set_auto_scale(auto_scale: AutoScale) None[source]
# POWer:SPECtrum:AUToscale
driver.power.spectrum.set_auto_scale(auto_scale = enums.AutoScale.AUTO)

Selects the scaling for the display of the results.

Parameters:

auto_scale – AUTO | MANUAL

set_frequency(smps_frequency: float) None[source]
# POWer:SPECtrum:FREQuency
driver.power.spectrum.set_frequency(smps_frequency = 1.0)

Sets the SMPS switching frequency.

Parameters:

smps_frequency – 1 to 100E+6

Cloning the Group

# Create a copy of the original group, that exists independently
spectrum_copy = driver.power.spectrum.clone()

Subgroups