[docs]classMethodCls:"""Method commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("method",core,parent)
[docs]defset(self,method:enums.GprdMeasMethod)->None:"""SCPI: [SENSe]:ADEMod:MCPHase:METHod \n Snippet: driver.applications.k17Mcgd.sense.ademod.mcPhase.method.set(method = enums.GprdMeasMethod.FLATtop) \n Selects the method used for group delay measurements. This command is maintained for compatibility reasons only. As the FSW MCGD application only supports orthogonal measurements, this command returns an error if the FLATtop parameter is used. \n :param method: ORTHogonal | FLATtop """param=Conversions.enum_scalar_to_str(method,enums.GprdMeasMethod)self._core.io.write(f'SENSe:ADEMod:MCPHase:METHod {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.GprdMeasMethod:"""SCPI: [SENSe]:ADEMod:MCPHase:METHod \n Snippet: value: enums.GprdMeasMethod = driver.applications.k17Mcgd.sense.ademod.mcPhase.method.get() \n Selects the method used for group delay measurements. This command is maintained for compatibility reasons only. As the FSW MCGD application only supports orthogonal measurements, this command returns an error if the FLATtop parameter is used. \n :return: method: ORTHogonal | FLATtop"""response=self._core.io.query_str(f'SENSe:ADEMod:MCPHase:METHod?')returnConversions.str_to_scalar_enum(response,enums.GprdMeasMethod)