CalFocusModelRow¶
-
class
CalFocusModelRow(table, row=None)[source]¶ Bases:
objectThe CalFocusModelRow class is a row of a CalFocusModelTable.
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.
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.
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 coeffFormula in row from the EndianInput (eis) instance.
coeffNameFromBin(row, eis)Set the coeffName in row from the EndianInput (eis) instance.
coeffValueFromBin(row, eis)Set the coeffValue in row from the EndianInput (eis) instance.
compareNoAutoInc(antennaName, receiverBand, …)Compare each attribute except the autoincrementable one of this CalFocusModelRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startValidTime, …)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.
focusModelFromBin(row, eis)Set the focusModel in row from the EndianInput (eis) instance.
focusRMSFromBin(row, eis)Set the focusRMS 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.
getAntennaMake()Get antennaMake.
getAntennaName()Get antennaName.
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.
getCoeffName()Get coeffName.
getCoeffValue()Get coeffValue.
getEndValidTime()Get endValidTime.
getFocusModel()Get focusModel.
getFocusRMS()Get focusRMS.
getNumCoeff()Get numCoeff.
getNumSourceObs()Get numSourceObs.
getPolarizationType()Get polarizationType.
getReceiverBand()Get receiverBand.
getReducedChiSquared()Get reducedChiSquared.
getStartValidTime()Get startValidTime.
getTable()Return the table to which this row belongs.
initFromBinMethods()isAdded()numCoeffFromBin(row, eis)Set the numCoeff in row from the EndianInput (eis) instance.
numSourceObsFromBin(row, eis)Set the numSourceObs 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.
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.
setCoeffValue(coeffValue)Set coeffValue with the specified float [] value.
setEndValidTime(endValidTime)Set endValidTime with the specified ArrayTime value.
setFocusModel(focusModel)Set focusModel with the specified str value.
setFocusRMS(focusRMS)Set focusRMS with the specified Length [] 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.
setNumSourceObs(numSourceObs)Set numSourceObs with the specified int 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.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime value.
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
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 coeffFormula in row from the EndianInput (eis) instance.
-
static
coeffNameFromBin(row, eis)[source]¶ Set the coeffName in row from the EndianInput (eis) instance.
-
static
coeffValueFromBin(row, eis)[source]¶ Set the coeffValue in row from the EndianInput (eis) instance.
-
compareNoAutoInc(antennaName, receiverBand, polarizationType, calDataId, calReductionId, startValidTime, endValidTime, antennaMake, numCoeff, numSourceObs, coeffName, coeffFormula, coeffValue, coeffError, coeffFixed, focusModel, focusRMS, reducedChiSquared)[source]¶ Compare each attribute except the autoincrementable one of this CalFocusModelRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, antennaMake, numCoeff, numSourceObs, coeffName, coeffFormula, coeffValue, coeffError, coeffFixed, focusModel, focusRMS, reducedChiSquared)[source]¶
-
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
focusModelFromBin(row, eis)[source]¶ Set the focusModel in row from the EndianInput (eis) instance.
-
static
focusRMSFromBin(row, eis)[source]¶ Set the focusRMS 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
-
static
numCoeffFromBin(row, eis)[source]¶ Set the numCoeff in row from the EndianInput (eis) instance.
-
static
numSourceObsFromBin(row, eis)[source]¶ Set the numSourceObs 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.
-
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.
-
setCoeffValue(coeffValue)[source]¶ Set coeffValue with the specified float [] value. coeffValue The float [] value to which coeffValue is to be set.
-
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.
-
setFocusModel(focusModel)[source]¶ Set focusModel with the specified str value. focusModel The str value to which focusModel is to be set.
-
setFocusRMS(focusRMS)[source]¶ Set focusRMS with the specified Length [] value. focusRMS The Length [] value to which focusRMS is to be set. The value of focusRMS can be anything allowed by the Length [] 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.
-
setNumSourceObs(numSourceObs)[source]¶ Set numSourceObs with the specified int value. numSourceObs The int value to which numSourceObs 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.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
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.
-
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