RF Explorer for Python
Public Member Functions | Public Attributes | List of all members
RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData Class Reference

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
 

Detailed Description

note this is shared with RFEGenTest

Constructor & Destructor Documentation

§ __init__()

def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.__init__ (   self)

Member Function Documentation

§ DeleteCal()

def RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.DeleteCal (   self)
Delete calibration data collection 

§ GetCalSize()

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  

§ GetClosestFrequencyIndex()

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

§ GetEstimatedAmplitude()

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

§ GetEstimatedAmplitudeArray()

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

§ InitializeCal()

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

Member Data Documentation

§ arrFirmware

RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.arrFirmware

§ m_arrDeltaAmplitude

RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrDeltaAmplitude

§ m_arrSignalGeneratorCalRanges_KHZ

RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrSignalGeneratorCalRanges_KHZ

§ m_arrSignalGeneratorEmbeddedCalibrationActual30DBM

RFExplorer.RFE6GEN_CalibrationData.RFE6GEN_CalibrationData.m_arrSignalGeneratorEmbeddedCalibrationActual30DBM

The documentation for this class was generated from the following file: