SeeingRow¶
-
class
SeeingRow(table, row=None)[source]¶ Bases:
objectThe SeeingRow class is a row of a SeeingTable.
Generated from model’s revision -1, branch
Methods Summary
baseLengthFromBin(row, eis)Set the baseLength in row from the EndianInput (eis) instance.
compareNoAutoInc(timeInterval, …)Compare each attribute except the autoincrementable one of this SeeingRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(numBaseLength, …)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 exponent 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.
getBaseLength()Get baseLength.
getExponent()Get exponent.
getNumBaseLength()Get numBaseLength.
getPhaseRms()Get phaseRms.
getSeeing()Get seeing.
getTable()Return the table to which this row belongs.
getTimeInterval()Get timeInterval.
initFromBinMethods()isAdded()numBaseLengthFromBin(row, eis)Set the numBaseLength in row from the EndianInput (eis) instance.
phaseRmsFromBin(row, eis)Set the phaseRms in row from the EndianInput (eis) instance.
seeingFromBin(row, eis)Set the seeing in row from the EndianInput (eis) instance.
setBaseLength(baseLength)Set baseLength with the specified Length [] value.
setExponent(exponent)Set exponent with the specified float value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNumBaseLength(numBaseLength)Set numBaseLength with the specified int value.
setPhaseRms(phaseRms)Set phaseRms with the specified Angle [] value.
setSeeing(seeing)Set seeing with the specified float value.
setTimeInterval(timeInterval)Set timeInterval with the specified ArrayTimeInterval value.
timeIntervalFromBin(row, eis)Set the timeInterval 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
baseLengthFromBin(row, eis)[source]¶ Set the baseLength in row from the EndianInput (eis) instance.
-
compareNoAutoInc(timeInterval, numBaseLength, baseLength, phaseRms, seeing, exponent)[source]¶ Compare each attribute except the autoincrementable one of this SeeingRow with the corresponding parameters and return True if there is a match and False otherwise.
-
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 exponent 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.
-
static
numBaseLengthFromBin(row, eis)[source]¶ Set the numBaseLength in row from the EndianInput (eis) instance.
-
static
phaseRmsFromBin(row, eis)[source]¶ Set the phaseRms in row from the EndianInput (eis) instance.
-
setBaseLength(baseLength)[source]¶ Set baseLength with the specified Length [] value. baseLength The Length [] value to which baseLength is to be set. The value of baseLength can be anything allowed by the Length [] constructor.
-
setExponent(exponent)[source]¶ Set exponent with the specified float value. exponent The float value to which exponent is to be set.
-
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.
-
setNumBaseLength(numBaseLength)[source]¶ Set numBaseLength with the specified int value. numBaseLength The int value to which numBaseLength is to be set.
-
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 float value. seeing The float value to which seeing is to be set.
-
setTimeInterval(timeInterval)[source]¶ Set timeInterval with the specified ArrayTimeInterval value. timeInterval The ArrayTimeInterval value to which timeInterval is to be set. The value of timeInterval can be anything allowed by the ArrayTimeInterval constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
static