CalHolographyRow¶
-
class
CalHolographyRow(table, row=None)[source]¶ Bases:
objectThe CalHolographyRow class is a row of a CalHolographyTable.
Generated from model’s revision -1, branch
Methods Summary
ambientTemperatureFromBin(row, eis)Set the ambientTemperature in row from the EndianInput (eis) instance.
antennaMakeFromBin(row, eis)Set the antennaMake in row from the EndianInput (eis) instance.
antennaNameFromBin(row, eis)Set the antennaName in row from the EndianInput (eis) instance.
beamMapUIDFromBin(row, eis)Set the beamMapUID in row from the EndianInput (eis) instance.
calDataIdFromBin(row, eis)Set the calDataId in row from the EndianInput (eis) instance.
calReductionIdFromBin(row, eis)Set the calReductionId in row from the EndianInput (eis) instance.
clearGravCorrection()Mark gravCorrection, which is an optional field, as non-existent.
clearGravOptRange()Mark gravOptRange, which is an optional field, as non-existent.
clearNumScrew()Mark numScrew, which is an optional field, as non-existent.
clearScrewMotion()Mark screwMotion, which is an optional field, as non-existent.
clearScrewMotionError()Mark screwMotionError, which is an optional field, as non-existent.
clearScrewName()Mark screwName, which is an optional field, as non-existent.
clearTempCorrection()Mark tempCorrection, which is an optional field, as non-existent.
clearTempOptRange()Mark tempOptRange, which is an optional field, as non-existent.
compareNoAutoInc(antennaName, calDataId, …)Compare each attribute except the autoincrementable one of this CalHolographyRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(antennaMake, …)directionFromBin(row, eis)Set the direction in row from the EndianInput (eis) instance.
endValidTimeFromBin(row, eis)Set the endValidTime in row from the EndianInput (eis) instance.
equalByRequiredValue(otherRow)Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
focusPositionFromBin(row, eis)Set the focusPosition in row from the EndianInput (eis) instance.
frequencyRangeFromBin(row, eis)Set the frequencyRange in row from the EndianInput (eis) instance.
fromBin(eis, table, attributesSeq)Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.
getAmbientTemperature()Get ambientTemperature.
getAntennaMake()Get antennaMake.
getAntennaName()Get antennaName.
getBeamMapUID()Get beamMapUID.
getCalDataId()Get calDataId.
getCalDataUsingCalDataId()Returns the row in the CalData table having CalData.calDataId == calDataId
getCalReductionId()Get calReductionId.
getCalReductionUsingCalReductionId()Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId
getDirection()Get direction.
getEndValidTime()Get endValidTime.
getFocusPosition()Get focusPosition.
getFrequencyRange()Get frequencyRange.
getGravCorrection()Get gravCorrection, which is optional.
getGravOptRange()Get gravOptRange, which is optional.
getIlluminationTaper()Get illuminationTaper.
getNumPanelModes()Get numPanelModes.
getNumReceptor()Get numReceptor.
getNumScrew()Get numScrew, which is optional.
getPolarizationTypes()Get polarizationTypes.
getRawRMS()Get rawRMS.
getReceiverBand()Get receiverBand.
getScrewMotion()Get screwMotion, which is optional.
getScrewMotionError()Get screwMotionError, which is optional.
getScrewName()Get screwName, which is optional.
getStartValidTime()Get startValidTime.
getSurfaceMapUID()Get surfaceMapUID.
getTable()Return the table to which this row belongs.
getTempCorrection()Get tempCorrection, which is optional.
getTempOptRange()Get tempOptRange, which is optional.
getWeightedRMS()Get weightedRMS.
gravCorrectionFromBin(row, eis)Set the optional gravCorrection in row from the EndianInput (eis) instance.
gravOptRangeFromBin(row, eis)Set the optional gravOptRange in row from the EndianInput (eis) instance.
illuminationTaperFromBin(row, eis)Set the illuminationTaper in row from the EndianInput (eis) instance.
initFromBinMethods()isAdded()isGravCorrectionExists()The attribute gravCorrection is optional.
isGravOptRangeExists()The attribute gravOptRange is optional.
isNumScrewExists()The attribute numScrew is optional.
isScrewMotionErrorExists()The attribute screwMotionError is optional.
isScrewMotionExists()The attribute screwMotion is optional.
isScrewNameExists()The attribute screwName is optional.
isTempCorrectionExists()The attribute tempCorrection is optional.
isTempOptRangeExists()The attribute tempOptRange is optional.
numPanelModesFromBin(row, eis)Set the numPanelModes in row from the EndianInput (eis) instance.
numReceptorFromBin(row, eis)Set the numReceptor in row from the EndianInput (eis) instance.
numScrewFromBin(row, eis)Set the optional numScrew in row from the EndianInput (eis) instance.
polarizationTypesFromBin(row, eis)Set the polarizationTypes in row from the EndianInput (eis) instance.
rawRMSFromBin(row, eis)Set the rawRMS in row from the EndianInput (eis) instance.
receiverBandFromBin(row, eis)Set the receiverBand in row from the EndianInput (eis) instance.
screwMotionErrorFromBin(row, eis)Set the optional screwMotionError in row from the EndianInput (eis) instance.
screwMotionFromBin(row, eis)Set the optional screwMotion in row from the EndianInput (eis) instance.
screwNameFromBin(row, eis)Set the optional screwName in row from the EndianInput (eis) instance.
setAmbientTemperature(ambientTemperature)Set ambientTemperature with the specified Temperature value.
setAntennaMake(antennaMake)Set antennaMake with the specified AntennaMake value.
setAntennaName(antennaName)Set antennaName with the specified str value.
setBeamMapUID(beamMapUID)Set beamMapUID with the specified EntityRef value.
setCalDataId(calDataId)Set calDataId with the specified Tag value.
setCalReductionId(calReductionId)Set calReductionId with the specified Tag value.
setDirection(direction)Set direction with the specified Angle [] value.
setEndValidTime(endValidTime)Set endValidTime with the specified ArrayTime value.
setFocusPosition(focusPosition)Set focusPosition with the specified Length [] value.
setFrequencyRange(frequencyRange)Set frequencyRange with the specified Frequency [] value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setGravCorrection(gravCorrection)Set gravCorrection with the specified bool value.
setGravOptRange(gravOptRange)Set gravOptRange with the specified Angle [] value.
setIlluminationTaper(illuminationTaper)Set illuminationTaper with the specified float value.
setNumPanelModes(numPanelModes)Set numPanelModes with the specified int value.
setNumReceptor(numReceptor)Set numReceptor with the specified int value.
setNumScrew(numScrew)Set numScrew with the specified int value.
setPolarizationTypes(polarizationTypes)Set polarizationTypes with the specified PolarizationType [] value.
setRawRMS(rawRMS)Set rawRMS with the specified Length value.
setReceiverBand(receiverBand)Set receiverBand with the specified ReceiverBand value.
setScrewMotion(screwMotion)Set screwMotion with the specified Length [] value.
setScrewMotionError(screwMotionError)Set screwMotionError with the specified Length [] value.
setScrewName(screwName)Set screwName with the specified str [] value.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime value.
setSurfaceMapUID(surfaceMapUID)Set surfaceMapUID with the specified EntityRef value.
setTempCorrection(tempCorrection)Set tempCorrection with the specified bool value.
setTempOptRange(tempOptRange)Set tempOptRange with the specified Temperature [] value.
setWeightedRMS(weightedRMS)Set weightedRMS with the specified Length value.
startValidTimeFromBin(row, eis)Set the startValidTime in row from the EndianInput (eis) instance.
surfaceMapUIDFromBin(row, eis)Set the surfaceMapUID in row from the EndianInput (eis) instance.
tempCorrectionFromBin(row, eis)Set the optional tempCorrection in row from the EndianInput (eis) instance.
tempOptRangeFromBin(row, eis)Set the optional tempOptRange in row from the EndianInput (eis) instance.
toBin(eos)Write this row out to the EndianOutput instance, eos.
toXML()Return this row in the form of an XML string.
weightedRMSFromBin(row, eis)Set the weightedRMS in row from the EndianInput (eis) instance.
Methods Documentation
-
static
ambientTemperatureFromBin(row, eis)[source]¶ Set the ambientTemperature in row from the EndianInput (eis) instance.
-
static
antennaMakeFromBin(row, eis)[source]¶ Set the antennaMake in row from the EndianInput (eis) instance.
-
static
antennaNameFromBin(row, eis)[source]¶ Set the antennaName in row from the EndianInput (eis) instance.
-
static
beamMapUIDFromBin(row, eis)[source]¶ Set the beamMapUID in row from the EndianInput (eis) instance.
-
static
calDataIdFromBin(row, eis)[source]¶ Set the calDataId in row from the EndianInput (eis) instance.
-
static
calReductionIdFromBin(row, eis)[source]¶ Set the calReductionId in row from the EndianInput (eis) instance.
-
clearScrewMotionError()[source]¶ Mark screwMotionError, which is an optional field, as non-existent.
-
compareNoAutoInc(antennaName, calDataId, calReductionId, antennaMake, startValidTime, endValidTime, ambientTemperature, focusPosition, frequencyRange, illuminationTaper, numReceptor, polarizationTypes, numPanelModes, receiverBand, beamMapUID, rawRMS, weightedRMS, surfaceMapUID, direction)[source]¶ Compare each attribute except the autoincrementable one of this CalHolographyRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(antennaMake, startValidTime, endValidTime, ambientTemperature, focusPosition, frequencyRange, illuminationTaper, numReceptor, polarizationTypes, numPanelModes, receiverBand, beamMapUID, rawRMS, weightedRMS, surfaceMapUID, direction)[source]¶
-
static
directionFromBin(row, eis)[source]¶ Set the direction in row from the EndianInput (eis) instance.
-
static
endValidTimeFromBin(row, eis)[source]¶ Set the endValidTime in row from the EndianInput (eis) instance.
-
equalByRequiredValue(otherRow)[source]¶ Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
-
static
focusPositionFromBin(row, eis)[source]¶ Set the focusPosition in row from the EndianInput (eis) instance.
-
static
frequencyRangeFromBin(row, eis)[source]¶ Set the frequencyRange in row from the EndianInput (eis) instance.
-
static
fromBin(eis, table, attributesSeq)[source]¶ Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.
The new row object is returned.
-
getCalDataUsingCalDataId()[source]¶ Returns the row in the CalData table having CalData.calDataId == calDataId
-
getCalReductionUsingCalReductionId()[source]¶ Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId
-
getGravCorrection()[source]¶ Get gravCorrection, which is optional. return gravCorrection as bool raises ValueError If gravCorrection does not exist.
-
getGravOptRange()[source]¶ Get gravOptRange, which is optional. return gravOptRange as Angle [] raises ValueError If gravOptRange does not exist.
-
getNumScrew()[source]¶ Get numScrew, which is optional. return numScrew as int raises ValueError If numScrew does not exist.
-
getPolarizationTypes()[source]¶ Get polarizationTypes. return polarizationTypes as PolarizationType []
-
getScrewMotion()[source]¶ Get screwMotion, which is optional. return screwMotion as Length [] raises ValueError If screwMotion does not exist.
-
getScrewMotionError()[source]¶ Get screwMotionError, which is optional. return screwMotionError as Length [] raises ValueError If screwMotionError does not exist.
-
getScrewName()[source]¶ Get screwName, which is optional. return screwName as str [] raises ValueError If screwName does not exist.
-
getTempCorrection()[source]¶ Get tempCorrection, which is optional. return tempCorrection as bool raises ValueError If tempCorrection does not exist.
-
getTempOptRange()[source]¶ Get tempOptRange, which is optional. return tempOptRange as Temperature [] raises ValueError If tempOptRange does not exist.
-
static
gravCorrectionFromBin(row, eis)[source]¶ Set the optional gravCorrection in row from the EndianInput (eis) instance.
-
static
gravOptRangeFromBin(row, eis)[source]¶ Set the optional gravOptRange in row from the EndianInput (eis) instance.
-
static
illuminationTaperFromBin(row, eis)[source]¶ Set the illuminationTaper in row from the EndianInput (eis) instance.
-
isGravCorrectionExists()[source]¶ The attribute gravCorrection is optional. Return True if this attribute exists. return True if and only if the gravCorrection attribute exists.
-
isGravOptRangeExists()[source]¶ The attribute gravOptRange is optional. Return True if this attribute exists. return True if and only if the gravOptRange attribute exists.
-
isNumScrewExists()[source]¶ The attribute numScrew is optional. Return True if this attribute exists. return True if and only if the numScrew attribute exists.
-
isScrewMotionErrorExists()[source]¶ The attribute screwMotionError is optional. Return True if this attribute exists. return True if and only if the screwMotionError attribute exists.
-
isScrewMotionExists()[source]¶ The attribute screwMotion is optional. Return True if this attribute exists. return True if and only if the screwMotion attribute exists.
-
isScrewNameExists()[source]¶ The attribute screwName is optional. Return True if this attribute exists. return True if and only if the screwName attribute exists.
-
isTempCorrectionExists()[source]¶ The attribute tempCorrection is optional. Return True if this attribute exists. return True if and only if the tempCorrection attribute exists.
-
isTempOptRangeExists()[source]¶ The attribute tempOptRange is optional. Return True if this attribute exists. return True if and only if the tempOptRange attribute exists.
-
static
numPanelModesFromBin(row, eis)[source]¶ Set the numPanelModes in row from the EndianInput (eis) instance.
-
static
numReceptorFromBin(row, eis)[source]¶ Set the numReceptor in row from the EndianInput (eis) instance.
-
static
numScrewFromBin(row, eis)[source]¶ Set the optional numScrew in row from the EndianInput (eis) instance.
-
static
polarizationTypesFromBin(row, eis)[source]¶ Set the polarizationTypes in row from the EndianInput (eis) instance.
-
static
receiverBandFromBin(row, eis)[source]¶ Set the receiverBand in row from the EndianInput (eis) instance.
-
static
screwMotionErrorFromBin(row, eis)[source]¶ Set the optional screwMotionError in row from the EndianInput (eis) instance.
-
static
screwMotionFromBin(row, eis)[source]¶ Set the optional screwMotion in row from the EndianInput (eis) instance.
-
static
screwNameFromBin(row, eis)[source]¶ Set the optional screwName in row from the EndianInput (eis) instance.
-
setAmbientTemperature(ambientTemperature)[source]¶ Set ambientTemperature with the specified Temperature value. ambientTemperature The Temperature value to which ambientTemperature is to be set. The value of ambientTemperature can be anything allowed by the Temperature constructor.
-
setAntennaMake(antennaMake)[source]¶ Set antennaMake with the specified AntennaMake value. antennaMake The AntennaMake value to which antennaMake is to be set.
-
setAntennaName(antennaName)[source]¶ Set antennaName with the specified str value. antennaName The str value to which antennaName is to be set.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
setBeamMapUID(beamMapUID)[source]¶ Set beamMapUID with the specified EntityRef value. beamMapUID The EntityRef value to which beamMapUID is to be set. The value of beamMapUID can be anything allowed by the EntityRef constructor.
-
setCalDataId(calDataId)[source]¶ Set calDataId with the specified Tag value. calDataId The Tag value to which calDataId is to be set. The value of calDataId can be anything allowed by the Tag constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
setCalReductionId(calReductionId)[source]¶ Set calReductionId with the specified Tag value. calReductionId The Tag value to which calReductionId is to be set. The value of calReductionId can be anything allowed by the Tag constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
setDirection(direction)[source]¶ Set direction with the specified Angle [] value. direction The Angle [] value to which direction is to be set. The value of direction can be anything allowed by the Angle [] constructor.
-
setEndValidTime(endValidTime)[source]¶ Set endValidTime with the specified ArrayTime value. endValidTime The ArrayTime value to which endValidTime is to be set. The value of endValidTime can be anything allowed by the ArrayTime constructor.
-
setFocusPosition(focusPosition)[source]¶ Set focusPosition with the specified Length [] value. focusPosition The Length [] value to which focusPosition is to be set. The value of focusPosition can be anything allowed by the Length [] constructor.
-
setFrequencyRange(frequencyRange)[source]¶ Set frequencyRange with the specified Frequency [] value. frequencyRange The Frequency [] value to which frequencyRange is to be set. The value of frequencyRange can be anything allowed by the Frequency [] constructor.
-
setFromXML(xmlrow)[source]¶ Fill the values of this row from an XML string that was produced by the toXML() method. If xmlrow is a minidom.Element with a nodeName of row then it will be used as is. Anything else that is not a string is an error.
-
setGravCorrection(gravCorrection)[source]¶ Set gravCorrection with the specified bool value. gravCorrection The bool value to which gravCorrection is to be set.
-
setGravOptRange(gravOptRange)[source]¶ Set gravOptRange with the specified Angle [] value. gravOptRange The Angle [] value to which gravOptRange is to be set. The value of gravOptRange can be anything allowed by the Angle [] constructor.
-
setIlluminationTaper(illuminationTaper)[source]¶ Set illuminationTaper with the specified float value. illuminationTaper The float value to which illuminationTaper is to be set.
-
setNumPanelModes(numPanelModes)[source]¶ Set numPanelModes with the specified int value. numPanelModes The int value to which numPanelModes is to be set.
-
setNumReceptor(numReceptor)[source]¶ Set numReceptor with the specified int value. numReceptor The int value to which numReceptor is to be set.
-
setNumScrew(numScrew)[source]¶ Set numScrew with the specified int value. numScrew The int value to which numScrew is to be set.
-
setPolarizationTypes(polarizationTypes)[source]¶ Set polarizationTypes with the specified PolarizationType [] value. polarizationTypes The PolarizationType [] value to which polarizationTypes is to be set.
-
setRawRMS(rawRMS)[source]¶ Set rawRMS with the specified Length value. rawRMS The Length value to which rawRMS is to be set. The value of rawRMS can be anything allowed by the Length constructor.
-
setReceiverBand(receiverBand)[source]¶ Set receiverBand with the specified ReceiverBand value. receiverBand The ReceiverBand value to which receiverBand is to be set.
-
setScrewMotion(screwMotion)[source]¶ Set screwMotion with the specified Length [] value. screwMotion The Length [] value to which screwMotion is to be set. The value of screwMotion can be anything allowed by the Length [] constructor.
-
setScrewMotionError(screwMotionError)[source]¶ Set screwMotionError with the specified Length [] value. screwMotionError The Length [] value to which screwMotionError is to be set. The value of screwMotionError can be anything allowed by the Length [] constructor.
-
setScrewName(screwName)[source]¶ Set screwName with the specified str [] value. screwName The str [] value to which screwName is to be set.
-
setStartValidTime(startValidTime)[source]¶ Set startValidTime with the specified ArrayTime value. startValidTime The ArrayTime value to which startValidTime is to be set. The value of startValidTime can be anything allowed by the ArrayTime constructor.
-
setSurfaceMapUID(surfaceMapUID)[source]¶ Set surfaceMapUID with the specified EntityRef value. surfaceMapUID The EntityRef value to which surfaceMapUID is to be set. The value of surfaceMapUID can be anything allowed by the EntityRef constructor.
-
setTempCorrection(tempCorrection)[source]¶ Set tempCorrection with the specified bool value. tempCorrection The bool value to which tempCorrection is to be set.
-
setTempOptRange(tempOptRange)[source]¶ Set tempOptRange with the specified Temperature [] value. tempOptRange The Temperature [] value to which tempOptRange is to be set. The value of tempOptRange can be anything allowed by the Temperature [] constructor.
-
setWeightedRMS(weightedRMS)[source]¶ Set weightedRMS with the specified Length value. weightedRMS The Length value to which weightedRMS is to be set. The value of weightedRMS can be anything allowed by the Length constructor.
-
static
startValidTimeFromBin(row, eis)[source]¶ Set the startValidTime in row from the EndianInput (eis) instance.
-
static
surfaceMapUIDFromBin(row, eis)[source]¶ Set the surfaceMapUID in row from the EndianInput (eis) instance.
-
static
tempCorrectionFromBin(row, eis)[source]¶ Set the optional tempCorrection in row from the EndianInput (eis) instance.
-
static