|
RF Explorer for Python
|
Public Member Functions | |
| def | __init__ (self) |
| def | GetCalSize (self) |
| def | DeleteCal (self) |
| def | InitializeCal (self, nSize, sLine) |
| def | GetEstimatedAmplitudeArray (self, dFrequencyMHZ) |
| def | GetClosestFrequencyIndex (self, dFrequencyMHZ) |
| def | GetEstimatedAmplitude (self, dFrequencyMHZ, bHighPowerSwitch, nPowerLevel) |
Public Attributes | |
| m_arrSignalGeneratorEmbeddedCalibrationActual30DBM | |
| m_arrSignalGeneratorCalRanges_KHZ | |
| m_arrDeltaAmplitude | |
| arrFirmware | |
note this is shared with RFEGenTest
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.__init__ | ( | self | ) |
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.DeleteCal | ( | self | ) |
Delete calibration data collection
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.GetCalSize | ( | self | ) |
Return the number of calibraton data if any, otherwise -1
Returns:
Integer the number of calibraton data if any, otherwise -1
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.GetClosestFrequencyIndex | ( | self, | |
| dFrequencyMHZ | |||
| ) |
Return the index of the calibration data collection based on specific frequency
Parameters:
dFrequencyMHZ -- Frequency of interest
Returns:
Integer the closet frequency Index
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.GetEstimatedAmplitude | ( | self, | |
| dFrequencyMHZ, | |||
| bHighPowerSwitch, | |||
| nPowerLevel | |||
| ) |
Returns best matching amplitude value based on internal -30dBm calibration table, and configured power switch/attenuator
If not available, this returns the estimated value based on hardcoded measured amplitude values
Parameters:
dFrequencyMHZ -- Frequency of interest
bHighPowerSwitch -- True if it is disable, otherwise False
nPowerLevel -- Power level from min. 4 to max. 0
Returns:
Float Estimated amplitude in dBm
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.GetEstimatedAmplitudeArray | ( | self, | |
| dFrequencyMHZ | |||
| ) |
Return estimated output power level array with 8 different power position for specific frequency
Parameters:
dFrequencyMHZ -- Frequency of interest
Returns:
List Amplitude array
| def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.InitializeCal | ( | self, | |
| nSize, | |||
| sLine | |||
| ) |
Initialize calibration data collection
Parameters:
nSize -- Size of the collection
sLine -- Line of text to process and create the collection
Returns:
String Embedded calibration Signal Generator data received
| RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.arrFirmware |
| RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrDeltaAmplitude |
| RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrSignalGeneratorCalRanges_KHZ |
| RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrSignalGeneratorEmbeddedCalibrationActual30DBM |
1.8.12