CalPointingModelRow¶
-
class
CalPointingModelRow(table, row=None)[source]¶ Bases:
objectThe CalPointingModelRow class is a row of a CalPointingModelTable.
Generated from model’s revision -1, branch
Methods Summary
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.
azimuthRMSFromBin(row, eis)Set the azimuthRMS 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.
clearCoeffFormula()Mark coeffFormula, which is an optional field, as non-existent.
clearNumObs()Mark numObs, which is an optional field, as non-existent.
coeffErrorFromBin(row, eis)Set the coeffError in row from the EndianInput (eis) instance.
coeffFixedFromBin(row, eis)Set the coeffFixed in row from the EndianInput (eis) instance.
coeffFormulaFromBin(row, eis)Set the optional coeffFormula in row from the EndianInput (eis) instance.
coeffNameFromBin(row, eis)Set the coeffName in row from the EndianInput (eis) instance.
coeffValFromBin(row, eis)Set the coeffVal in row from the EndianInput (eis) instance.
compareNoAutoInc(antennaName, receiverBand, …)Compare each attribute except the autoincrementable one of this CalPointingModelRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startValidTime, …)elevationRmsFromBin(row, eis)Set the elevationRms 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.
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.
getAntennaMake()Get antennaMake.
getAntennaName()Get antennaName.
getAzimuthRMS()Get azimuthRMS.
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
getCoeffError()Get coeffError.
getCoeffFixed()Get coeffFixed.
getCoeffFormula()Get coeffFormula, which is optional.
getCoeffName()Get coeffName.
getCoeffVal()Get coeffVal.
getElevationRms()Get elevationRms.
getEndValidTime()Get endValidTime.
getNumCoeff()Get numCoeff.
getNumObs()Get numObs, which is optional.
getPointingModelMode()Get pointingModelMode.
getPolarizationType()Get polarizationType.
getReceiverBand()Get receiverBand.
getReducedChiSquared()Get reducedChiSquared.
getSkyRMS()Get skyRMS.
getStartValidTime()Get startValidTime.
getTable()Return the table to which this row belongs.
initFromBinMethods()isAdded()isCoeffFormulaExists()The attribute coeffFormula is optional.
isNumObsExists()The attribute numObs is optional.
numCoeffFromBin(row, eis)Set the numCoeff in row from the EndianInput (eis) instance.
numObsFromBin(row, eis)Set the optional numObs in row from the EndianInput (eis) instance.
pointingModelModeFromBin(row, eis)Set the pointingModelMode in row from the EndianInput (eis) instance.
polarizationTypeFromBin(row, eis)Set the polarizationType in row from the EndianInput (eis) instance.
receiverBandFromBin(row, eis)Set the receiverBand in row from the EndianInput (eis) instance.
reducedChiSquaredFromBin(row, eis)Set the reducedChiSquared in row from the EndianInput (eis) instance.
setAntennaMake(antennaMake)Set antennaMake with the specified AntennaMake value.
setAntennaName(antennaName)Set antennaName with the specified str value.
setAzimuthRMS(azimuthRMS)Set azimuthRMS with the specified Angle value.
setCalDataId(calDataId)Set calDataId with the specified Tag value.
setCalReductionId(calReductionId)Set calReductionId with the specified Tag value.
setCoeffError(coeffError)Set coeffError with the specified float [] value.
setCoeffFixed(coeffFixed)Set coeffFixed with the specified bool [] value.
setCoeffFormula(coeffFormula)Set coeffFormula with the specified str [] value.
setCoeffName(coeffName)Set coeffName with the specified str [] value.
setCoeffVal(coeffVal)Set coeffVal with the specified float [] value.
setElevationRms(elevationRms)Set elevationRms with the specified Angle value.
setEndValidTime(endValidTime)Set endValidTime with the specified ArrayTime value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNumCoeff(numCoeff)Set numCoeff with the specified int value.
setNumObs(numObs)Set numObs with the specified int value.
setPointingModelMode(pointingModelMode)Set pointingModelMode with the specified PointingModelMode value.
setPolarizationType(polarizationType)Set polarizationType with the specified PolarizationType value.
setReceiverBand(receiverBand)Set receiverBand with the specified ReceiverBand value.
setReducedChiSquared(reducedChiSquared)Set reducedChiSquared with the specified float value.
setSkyRMS(skyRMS)Set skyRMS with the specified Angle value.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime value.
skyRMSFromBin(row, eis)Set the skyRMS in row from the EndianInput (eis) instance.
startValidTimeFromBin(row, eis)Set the startValidTime 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.
Methods Documentation
-
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
azimuthRMSFromBin(row, eis)[source]¶ Set the azimuthRMS 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.
-
static
coeffErrorFromBin(row, eis)[source]¶ Set the coeffError in row from the EndianInput (eis) instance.
-
static
coeffFixedFromBin(row, eis)[source]¶ Set the coeffFixed in row from the EndianInput (eis) instance.
-
static
coeffFormulaFromBin(row, eis)[source]¶ Set the optional coeffFormula in row from the EndianInput (eis) instance.
-
static
coeffNameFromBin(row, eis)[source]¶ Set the coeffName in row from the EndianInput (eis) instance.
-
static
coeffValFromBin(row, eis)[source]¶ Set the coeffVal in row from the EndianInput (eis) instance.
-
compareNoAutoInc(antennaName, receiverBand, calDataId, calReductionId, startValidTime, endValidTime, antennaMake, pointingModelMode, polarizationType, numCoeff, coeffName, coeffVal, coeffError, coeffFixed, azimuthRMS, elevationRms, skyRMS, reducedChiSquared)[source]¶ Compare each attribute except the autoincrementable one of this CalPointingModelRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, antennaMake, pointingModelMode, polarizationType, numCoeff, coeffName, coeffVal, coeffError, coeffFixed, azimuthRMS, elevationRms, skyRMS, reducedChiSquared)[source]¶
-
static
elevationRmsFromBin(row, eis)[source]¶ Set the elevationRms 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
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
-
getCoeffFormula()[source]¶ Get coeffFormula, which is optional. return coeffFormula as str [] raises ValueError If coeffFormula does not exist.
-
getNumObs()[source]¶ Get numObs, which is optional. return numObs as int raises ValueError If numObs does not exist.
-
getPointingModelMode()[source]¶ Get pointingModelMode. return pointingModelMode as PointingModelMode
-
isCoeffFormulaExists()[source]¶ The attribute coeffFormula is optional. Return True if this attribute exists. return True if and only if the coeffFormula attribute exists.
-
isNumObsExists()[source]¶ The attribute numObs is optional. Return True if this attribute exists. return True if and only if the numObs attribute exists.
-
static
numCoeffFromBin(row, eis)[source]¶ Set the numCoeff in row from the EndianInput (eis) instance.
-
static
numObsFromBin(row, eis)[source]¶ Set the optional numObs in row from the EndianInput (eis) instance.
-
static
pointingModelModeFromBin(row, eis)[source]¶ Set the pointingModelMode in row from the EndianInput (eis) instance.
-
static
polarizationTypeFromBin(row, eis)[source]¶ Set the polarizationType in row from the EndianInput (eis) instance.
-
static
receiverBandFromBin(row, eis)[source]¶ Set the receiverBand in row from the EndianInput (eis) instance.
-
static
reducedChiSquaredFromBin(row, eis)[source]¶ Set the reducedChiSquared in row from the EndianInput (eis) instance.
-
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.
-
setAzimuthRMS(azimuthRMS)[source]¶ Set azimuthRMS with the specified Angle value. azimuthRMS The Angle value to which azimuthRMS is to be set. The value of azimuthRMS can be anything allowed by the Angle 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.
-
setCoeffError(coeffError)[source]¶ Set coeffError with the specified float [] value. coeffError The float [] value to which coeffError is to be set.
-
setCoeffFixed(coeffFixed)[source]¶ Set coeffFixed with the specified bool [] value. coeffFixed The bool [] value to which coeffFixed is to be set.
-
setCoeffFormula(coeffFormula)[source]¶ Set coeffFormula with the specified str [] value. coeffFormula The str [] value to which coeffFormula is to be set.
-
setCoeffName(coeffName)[source]¶ Set coeffName with the specified str [] value. coeffName The str [] value to which coeffName is to be set.
-
setCoeffVal(coeffVal)[source]¶ Set coeffVal with the specified float [] value. coeffVal The float [] value to which coeffVal is to be set.
-
setElevationRms(elevationRms)[source]¶ Set elevationRms with the specified Angle value. elevationRms The Angle value to which elevationRms is to be set. The value of elevationRms 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.
-
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.
-
setNumCoeff(numCoeff)[source]¶ Set numCoeff with the specified int value. numCoeff The int value to which numCoeff is to be set.
-
setNumObs(numObs)[source]¶ Set numObs with the specified int value. numObs The int value to which numObs is to be set.
-
setPointingModelMode(pointingModelMode)[source]¶ Set pointingModelMode with the specified PointingModelMode value. pointingModelMode The PointingModelMode value to which pointingModelMode is to be set.
-
setPolarizationType(polarizationType)[source]¶ Set polarizationType with the specified PolarizationType value. polarizationType The PolarizationType value to which polarizationType is to be set.
-
setReceiverBand(receiverBand)[source]¶ Set receiverBand with the specified ReceiverBand value. receiverBand The ReceiverBand value to which receiverBand 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.
-
setReducedChiSquared(reducedChiSquared)[source]¶ Set reducedChiSquared with the specified float value. reducedChiSquared The float value to which reducedChiSquared is to be set.
-
setSkyRMS(skyRMS)[source]¶ Set skyRMS with the specified Angle value. skyRMS The Angle value to which skyRMS is to be set. The value of skyRMS can be anything allowed by the Angle constructor.
-
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.
-
static