Coefficients#
SCPI Commands :
- [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients
- [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:CATalog
- [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:LOAD
- [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:STORe
- Commands in total: 4Subgroups: 0Direct child commands: 4
- get ( ) CoefficientsStruct
- set ( ipart_0: float, j_0: float, i_1: float, j_1: float ) None
# [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients # get: value: CoefficientsStruct = driver.source.iq.dpd.shaping.polynomial.coefficients.get() # set: driver.source.iq.dpd.shaping.polynomial.coefficients.set(ipart_0 = 1.0, j_0 = 1.0, i_1 = 1.0, j_1 = 1.0)
Sets the polynomial coefficients as a list of up to 10 comma separated value pairs. In Cartesian coordinates system, the coefficients bn are expressed in degrees.
- Parameters:
ipart_0 – Range-1E6 to 1E6Increment1E-3
j_0 – float
i_1 – float
j_1 – float
- Returns:
structure: for return value, see the help for CoefficientsStruct structure arguments.
- class CoefficientsStruct
Response structure. Fields:
1 Ipart_0: float:
2 J_0: float: float
3 I_1: float:
4 J_1: float: float
- get_catalog ( ) List[str]
# [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:CATalog value: List[str] = driver.source.iq.dpd.shaping.polynomial.coefficients.get_catalog()Queries the available polynomial files in the default directory. Only files with the file extension dpd_poly are listed.
- Returns:
catalog: string
- load ( filename: str ) None
# [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:LOAD driver.source.iq.dpd.shaping.polynomial.coefficients.load(filename = 'abc')Loads the selected polynomial file.
- Parameters:
filename – string
- set_store ( filename: str ) None
# [SOURce<HW>]:IQ:DPD:SHAPing:POLYnomial:COEFficients:STORe driver.source.iq.dpd.shaping.polynomial.coefficients.set_store(filename = 'abc')Saves the polynomial function as polynomial file.
- Parameters:
filename – string