[docs]classPowerCls:"""Power commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("power",core,parent)
[docs]defget_step(self)->float:"""SCPI: [SOURce<HW>]:BB:MCCW:EDIT:CARRier:POWer:STEP \n Snippet: value: float = driver.source.bb.mccw.edit.carrier.power.get_step() \n Sets the step width by which the starting power of the carriers in the defined carrier range is incremented. \n :return: step: float Range: -80 to 80 """response=self._core.io.query_str('SOURce<HwInstance>:BB:MCCW:EDIT:CARRier:POWer:STEP?')returnConversions.str_to_float(response)
[docs]defset_step(self,step:float)->None:"""SCPI: [SOURce<HW>]:BB:MCCW:EDIT:CARRier:POWer:STEP \n Snippet: driver.source.bb.mccw.edit.carrier.power.set_step(step = 1.0) \n Sets the step width by which the starting power of the carriers in the defined carrier range is incremented. \n :param step: float Range: -80 to 80 """param=Conversions.decimal_value_to_str(step)self._core.io.write(f'SOURce<HwInstance>:BB:MCCW:EDIT:CARRier:POWer:STEP {param}')
[docs]defget_start(self)->float:"""SCPI: [SOURce<HW>]:BB:MCCW:EDIT:CARRier:POWer:[STARt] \n Snippet: value: float = driver.source.bb.mccw.edit.carrier.power.get_start() \n Sets the power/pahse for the starting carrier. The power of the remaining carriers is stepped up or down by the power specified with the [:SOURce<hw>]:BB:MCCW:EDIT:CARRier:POWer:STEP command. \n :return: start: float Range: -80 to 0 """response=self._core.io.query_str('SOURce<HwInstance>:BB:MCCW:EDIT:CARRier:POWer:STARt?')returnConversions.str_to_float(response)
[docs]defset_start(self,start:float)->None:"""SCPI: [SOURce<HW>]:BB:MCCW:EDIT:CARRier:POWer:[STARt] \n Snippet: driver.source.bb.mccw.edit.carrier.power.set_start(start = 1.0) \n Sets the power/pahse for the starting carrier. The power of the remaining carriers is stepped up or down by the power specified with the [:SOURce<hw>]:BB:MCCW:EDIT:CARRier:POWer:STEP command. \n :param start: float Range: -80 to 0 """param=Conversions.decimal_value_to_str(start)self._core.io.write(f'SOURce<HwInstance>:BB:MCCW:EDIT:CARRier:POWer:STARt {param}')