CalSeeingRow¶
-
class
CalSeeingRow(table, row=None)[source]¶ Bases:
objectThe CalSeeingRow class is a row of a CalSeeingTable.
Generated from model’s revision -1, branch
Methods Summary
atmPhaseCorrectionFromBin(row, eis)Set the atmPhaseCorrection in row from the EndianInput (eis) instance.
baselineLengthsFromBin(row, eis)Set the baselineLengths 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.
clearExponent()Mark exponent, which is an optional field, as non-existent.
clearOuterScale()Mark outerScale, which is an optional field, as non-existent.
clearOuterScaleRMS()Mark outerScaleRMS, which is an optional field, as non-existent.
compareNoAutoInc(atmPhaseCorrection, …)Compare each attribute except the autoincrementable one of this CalSeeingRow 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.
exponentFromBin(row, eis)Set the optional exponent 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.
getAtmPhaseCorrection()Get atmPhaseCorrection.
getBaselineLengths()Get baselineLengths.
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
getEndValidTime()Get endValidTime.
getExponent()Get exponent, which is optional.
getFrequencyRange()Get frequencyRange.
getIntegrationTime()Get integrationTime.
getNumBaseLengths()Get numBaseLengths.
getOuterScale()Get outerScale, which is optional.
getOuterScaleRMS()Get outerScaleRMS, which is optional.
getPhaseRMS()Get phaseRMS.
getSeeing()Get seeing.
getSeeingError()Get seeingError.
getStartValidTime()Get startValidTime.
getTable()Return the table to which this row belongs.
initFromBinMethods()integrationTimeFromBin(row, eis)Set the integrationTime in row from the EndianInput (eis) instance.
isAdded()isExponentExists()The attribute exponent is optional.
isOuterScaleExists()The attribute outerScale is optional.
isOuterScaleRMSExists()The attribute outerScaleRMS is optional.
numBaseLengthsFromBin(row, eis)Set the numBaseLengths in row from the EndianInput (eis) instance.
outerScaleFromBin(row, eis)Set the optional outerScale in row from the EndianInput (eis) instance.
outerScaleRMSFromBin(row, eis)Set the optional outerScaleRMS in row from the EndianInput (eis) instance.
phaseRMSFromBin(row, eis)Set the phaseRMS in row from the EndianInput (eis) instance.
seeingErrorFromBin(row, eis)Set the seeingError in row from the EndianInput (eis) instance.
seeingFromBin(row, eis)Set the seeing in row from the EndianInput (eis) instance.
setAtmPhaseCorrection(atmPhaseCorrection)Set atmPhaseCorrection with the specified AtmPhaseCorrection value.
setBaselineLengths(baselineLengths)Set baselineLengths with the specified Length [] value.
setCalDataId(calDataId)Set calDataId with the specified Tag value.
setCalReductionId(calReductionId)Set calReductionId with the specified Tag value.
setEndValidTime(endValidTime)Set endValidTime with the specified ArrayTime value.
setExponent(exponent)Set exponent with the specified float 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.
setIntegrationTime(integrationTime)Set integrationTime with the specified Interval value.
setNumBaseLengths(numBaseLengths)Set numBaseLengths with the specified int value.
setOuterScale(outerScale)Set outerScale with the specified Length value.
setOuterScaleRMS(outerScaleRMS)Set outerScaleRMS with the specified Angle value.
setPhaseRMS(phaseRMS)Set phaseRMS with the specified Angle [] value.
setSeeing(seeing)Set seeing with the specified Angle value.
setSeeingError(seeingError)Set seeingError with the specified Angle 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
atmPhaseCorrectionFromBin(row, eis)[source]¶ Set the atmPhaseCorrection in row from the EndianInput (eis) instance.
-
static
baselineLengthsFromBin(row, eis)[source]¶ Set the baselineLengths 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.
-
compareNoAutoInc(atmPhaseCorrection, calDataId, calReductionId, startValidTime, endValidTime, frequencyRange, integrationTime, numBaseLengths, baselineLengths, phaseRMS, seeing, seeingError)[source]¶ Compare each attribute except the autoincrementable one of this CalSeeingRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, frequencyRange, integrationTime, numBaseLengths, baselineLengths, phaseRMS, seeing, seeingError)[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
exponentFromBin(row, eis)[source]¶ Set the optional exponent 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.
-
getAtmPhaseCorrection()[source]¶ Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection
-
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
-
getExponent()[source]¶ Get exponent, which is optional. return exponent as float raises ValueError If exponent does not exist.
-
getOuterScale()[source]¶ Get outerScale, which is optional. return outerScale as Length raises ValueError If outerScale does not exist.
-
getOuterScaleRMS()[source]¶ Get outerScaleRMS, which is optional. return outerScaleRMS as Angle raises ValueError If outerScaleRMS does not exist.
-
static
integrationTimeFromBin(row, eis)[source]¶ Set the integrationTime in row from the EndianInput (eis) instance.
-
isExponentExists()[source]¶ The attribute exponent is optional. Return True if this attribute exists. return True if and only if the exponent attribute exists.
-
isOuterScaleExists()[source]¶ The attribute outerScale is optional. Return True if this attribute exists. return True if and only if the outerScale attribute exists.
-
isOuterScaleRMSExists()[source]¶ The attribute outerScaleRMS is optional. Return True if this attribute exists. return True if and only if the outerScaleRMS attribute exists.
-
static
numBaseLengthsFromBin(row, eis)[source]¶ Set the numBaseLengths in row from the EndianInput (eis) instance.
-
static
outerScaleFromBin(row, eis)[source]¶ Set the optional outerScale in row from the EndianInput (eis) instance.
-
static
outerScaleRMSFromBin(row, eis)[source]¶ Set the optional outerScaleRMS in row from the EndianInput (eis) instance.
-
static
phaseRMSFromBin(row, eis)[source]¶ Set the phaseRMS in row from the EndianInput (eis) instance.
-
static
seeingErrorFromBin(row, eis)[source]¶ Set the seeingError in row from the EndianInput (eis) instance.
-
setAtmPhaseCorrection(atmPhaseCorrection)[source]¶ Set atmPhaseCorrection with the specified AtmPhaseCorrection value. atmPhaseCorrection The AtmPhaseCorrection value to which atmPhaseCorrection 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.
-
setBaselineLengths(baselineLengths)[source]¶ Set baselineLengths with the specified Length [] value. baselineLengths The Length [] value to which baselineLengths is to be set. The value of baselineLengths can be anything allowed by the Length [] 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.
-
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.
-
setExponent(exponent)[source]¶ Set exponent with the specified float value. exponent The float value to which exponent is to be set.
-
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.
-
setIntegrationTime(integrationTime)[source]¶ Set integrationTime with the specified Interval value. integrationTime The Interval value to which integrationTime is to be set. The value of integrationTime can be anything allowed by the Interval constructor.
-
setNumBaseLengths(numBaseLengths)[source]¶ Set numBaseLengths with the specified int value. numBaseLengths The int value to which numBaseLengths is to be set.
-
setOuterScale(outerScale)[source]¶ Set outerScale with the specified Length value. outerScale The Length value to which outerScale is to be set. The value of outerScale can be anything allowed by the Length constructor.
-
setOuterScaleRMS(outerScaleRMS)[source]¶ Set outerScaleRMS with the specified Angle value. outerScaleRMS The Angle value to which outerScaleRMS is to be set. The value of outerScaleRMS can be anything allowed by the Angle constructor.
-
setPhaseRMS(phaseRMS)[source]¶ Set phaseRMS with the specified Angle [] value. phaseRMS The Angle [] value to which phaseRMS is to be set. The value of phaseRMS can be anything allowed by the Angle [] constructor.
-
setSeeing(seeing)[source]¶ Set seeing with the specified Angle value. seeing The Angle value to which seeing is to be set. The value of seeing can be anything allowed by the Angle constructor.
-
setSeeingError(seeingError)[source]¶ Set seeingError with the specified Angle value. seeingError The Angle value to which seeingError is to be set. The value of seeingError 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