PointingRow¶
-
class
PointingRow(table, row=None)[source]¶ Bases:
objectThe PointingRow class is a row of a PointingTable.
Generated from model’s revision -1, branch
Methods Summary
antennaIdFromBin(row, eis)Set the antennaId in row from the EndianInput (eis) instance.
atmosphericCorrectionFromBin(row, eis)Set the optional atmosphericCorrection in row from the EndianInput (eis) instance.
clearAtmosphericCorrection()Mark atmosphericCorrection, which is an optional field, as non-existent.
clearOverTheTop()Mark overTheTop, which is an optional field, as non-existent.
clearSampledTimeInterval()Mark sampledTimeInterval, which is an optional field, as non-existent.
clearSourceOffset()Mark sourceOffset, which is an optional field, as non-existent.
clearSourceOffsetEquinox()Mark sourceOffsetEquinox, which is an optional field, as non-existent.
clearSourceOffsetReferenceCode()Mark sourceOffsetReferenceCode, which is an optional field, as non-existent.
compareNoAutoInc(antennaId, timeInterval, …)Compare each attribute except the autoincrementable one of this PointingRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(numSample, encoder, …)encoderFromBin(row, eis)Set the encoder 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.
getAntennaId()Get antennaId.
getAntennaUsingAntennaId()Returns the row in the Antenna table having Antenna.antennaId == antennaId
getAtmosphericCorrection()Get atmosphericCorrection, which is optional.
getEncoder()Get encoder.
getNumSample()Get numSample.
getNumTerm()Get numTerm.
getOffset()Get offset.
getOverTheTop()Get overTheTop, which is optional.
getPointingDirection()Get pointingDirection.
getPointingModelId()Get pointingModelId.
getPointingModels()Get the collection of rows in the PointingModel table having pointingModelId == this.pointingModelId
getPointingTracking()Get pointingTracking.
getSampledTimeInterval()Get sampledTimeInterval, which is optional.
getSourceOffset()Get sourceOffset, which is optional.
getSourceOffsetEquinox()Get sourceOffsetEquinox, which is optional.
getSourceOffsetReferenceCode()Get sourceOffsetReferenceCode, which is optional.
getTable()Return the table to which this row belongs.
getTarget()Get target.
getTimeInterval()Get timeInterval.
getTimeOrigin()Get timeOrigin.
getUsePolynomials()Get usePolynomials.
initFromBinMethods()isAdded()isAtmosphericCorrectionExists()The attribute atmosphericCorrection is optional.
isOverTheTopExists()The attribute overTheTop is optional.
isSampledTimeIntervalExists()The attribute sampledTimeInterval is optional.
isSourceOffsetEquinoxExists()The attribute sourceOffsetEquinox is optional.
isSourceOffsetExists()The attribute sourceOffset is optional.
isSourceOffsetReferenceCodeExists()The attribute sourceOffsetReferenceCode is optional.
numSampleFromBin(row, eis)Set the numSample in row from the EndianInput (eis) instance.
numTermFromBin(row, eis)Set the numTerm in row from the EndianInput (eis) instance.
offsetFromBin(row, eis)Set the offset in row from the EndianInput (eis) instance.
overTheTopFromBin(row, eis)Set the optional overTheTop in row from the EndianInput (eis) instance.
pointingDirectionFromBin(row, eis)Set the pointingDirection in row from the EndianInput (eis) instance.
pointingModelIdFromBin(row, eis)Set the pointingModelId in row from the EndianInput (eis) instance.
pointingTrackingFromBin(row, eis)Set the pointingTracking in row from the EndianInput (eis) instance.
sampledTimeIntervalFromBin(row, eis)Set the optional sampledTimeInterval in row from the EndianInput (eis) instance.
setAntennaId(antennaId)Set antennaId with the specified Tag value.
setAtmosphericCorrection(atmosphericCorrection)Set atmosphericCorrection with the specified Angle [] [] value.
setEncoder(encoder)Set encoder with the specified Angle [] [] value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNumSample(numSample)Set numSample with the specified int value.
setNumTerm(numTerm)Set numTerm with the specified int value.
setOffset(offset)Set offset with the specified Angle [] [] value.
setOverTheTop(overTheTop)Set overTheTop with the specified bool value.
setPointingDirection(pointingDirection)Set pointingDirection with the specified Angle [] [] value.
setPointingModelId(pointingModelId)Set pointingModelId with the specified int value.
setPointingTracking(pointingTracking)Set pointingTracking with the specified bool value.
setSampledTimeInterval(sampledTimeInterval)Set sampledTimeInterval with the specified ArrayTimeInterval [] value.
setSourceOffset(sourceOffset)Set sourceOffset with the specified Angle [] [] value.
setSourceOffsetEquinox(sourceOffsetEquinox)Set sourceOffsetEquinox with the specified ArrayTime value.
setSourceOffsetReferenceCode(…)Set sourceOffsetReferenceCode with the specified DirectionReferenceCode value.
setTarget(target)Set target with the specified Angle [] [] value.
setTimeInterval(timeInterval)Set timeInterval with the specified ArrayTimeInterval value.
setTimeOrigin(timeOrigin)Set timeOrigin with the specified ArrayTime value.
setUsePolynomials(usePolynomials)Set usePolynomials with the specified bool value.
sourceOffsetEquinoxFromBin(row, eis)Set the optional sourceOffsetEquinox in row from the EndianInput (eis) instance.
sourceOffsetFromBin(row, eis)Set the optional sourceOffset in row from the EndianInput (eis) instance.
sourceOffsetReferenceCodeFromBin(row, eis)Set the optional sourceOffsetReferenceCode in row from the EndianInput (eis) instance.
targetFromBin(row, eis)Set the target in row from the EndianInput (eis) instance.
timeIntervalFromBin(row, eis)Set the timeInterval in row from the EndianInput (eis) instance.
timeOriginFromBin(row, eis)Set the timeOrigin 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.
usePolynomialsFromBin(row, eis)Set the usePolynomials in row from the EndianInput (eis) instance.
Methods Documentation
-
static
antennaIdFromBin(row, eis)[source]¶ Set the antennaId in row from the EndianInput (eis) instance.
-
static
atmosphericCorrectionFromBin(row, eis)[source]¶ Set the optional atmosphericCorrection in row from the EndianInput (eis) instance.
-
clearAtmosphericCorrection()[source]¶ Mark atmosphericCorrection, which is an optional field, as non-existent.
-
clearSampledTimeInterval()[source]¶ Mark sampledTimeInterval, which is an optional field, as non-existent.
-
clearSourceOffsetEquinox()[source]¶ Mark sourceOffsetEquinox, which is an optional field, as non-existent.
-
clearSourceOffsetReferenceCode()[source]¶ Mark sourceOffsetReferenceCode, which is an optional field, as non-existent.
-
compareNoAutoInc(antennaId, timeInterval, numSample, encoder, pointingTracking, usePolynomials, timeOrigin, numTerm, pointingDirection, target, offset, pointingModelId)[source]¶ Compare each attribute except the autoincrementable one of this PointingRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(numSample, encoder, pointingTracking, usePolynomials, timeOrigin, numTerm, pointingDirection, target, offset, pointingModelId)[source]¶
-
static
encoderFromBin(row, eis)[source]¶ Set the encoder 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.
-
getAntennaUsingAntennaId()[source]¶ Returns the row in the Antenna table having Antenna.antennaId == antennaId
-
getAtmosphericCorrection()[source]¶ Get atmosphericCorrection, which is optional. return atmosphericCorrection as Angle [] [] raises ValueError If atmosphericCorrection does not exist.
-
getOverTheTop()[source]¶ Get overTheTop, which is optional. return overTheTop as bool raises ValueError If overTheTop does not exist.
-
getPointingModels()[source]¶ Get the collection of rows in the PointingModel table having pointingModelId == this.pointingModelId
-
getSampledTimeInterval()[source]¶ Get sampledTimeInterval, which is optional. return sampledTimeInterval as ArrayTimeInterval [] raises ValueError If sampledTimeInterval does not exist.
-
getSourceOffset()[source]¶ Get sourceOffset, which is optional. return sourceOffset as Angle [] [] raises ValueError If sourceOffset does not exist.
-
getSourceOffsetEquinox()[source]¶ Get sourceOffsetEquinox, which is optional. return sourceOffsetEquinox as ArrayTime raises ValueError If sourceOffsetEquinox does not exist.
-
getSourceOffsetReferenceCode()[source]¶ Get sourceOffsetReferenceCode, which is optional. return sourceOffsetReferenceCode as DirectionReferenceCode raises ValueError If sourceOffsetReferenceCode does not exist.
-
isAtmosphericCorrectionExists()[source]¶ The attribute atmosphericCorrection is optional. Return True if this attribute exists. return True if and only if the atmosphericCorrection attribute exists.
-
isOverTheTopExists()[source]¶ The attribute overTheTop is optional. Return True if this attribute exists. return True if and only if the overTheTop attribute exists.
-
isSampledTimeIntervalExists()[source]¶ The attribute sampledTimeInterval is optional. Return True if this attribute exists. return True if and only if the sampledTimeInterval attribute exists.
-
isSourceOffsetEquinoxExists()[source]¶ The attribute sourceOffsetEquinox is optional. Return True if this attribute exists. return True if and only if the sourceOffsetEquinox attribute exists.
-
isSourceOffsetExists()[source]¶ The attribute sourceOffset is optional. Return True if this attribute exists. return True if and only if the sourceOffset attribute exists.
-
isSourceOffsetReferenceCodeExists()[source]¶ The attribute sourceOffsetReferenceCode is optional. Return True if this attribute exists. return True if and only if the sourceOffsetReferenceCode attribute exists.
-
static
numSampleFromBin(row, eis)[source]¶ Set the numSample in row from the EndianInput (eis) instance.
-
static
numTermFromBin(row, eis)[source]¶ Set the numTerm in row from the EndianInput (eis) instance.
-
static
overTheTopFromBin(row, eis)[source]¶ Set the optional overTheTop in row from the EndianInput (eis) instance.
-
static
pointingDirectionFromBin(row, eis)[source]¶ Set the pointingDirection in row from the EndianInput (eis) instance.
-
static
pointingModelIdFromBin(row, eis)[source]¶ Set the pointingModelId in row from the EndianInput (eis) instance.
-
static
pointingTrackingFromBin(row, eis)[source]¶ Set the pointingTracking in row from the EndianInput (eis) instance.
-
static
sampledTimeIntervalFromBin(row, eis)[source]¶ Set the optional sampledTimeInterval in row from the EndianInput (eis) instance.
-
setAntennaId(antennaId)[source]¶ Set antennaId with the specified Tag value. antennaId The Tag value to which antennaId is to be set. The value of antennaId 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.
-
setAtmosphericCorrection(atmosphericCorrection)[source]¶ Set atmosphericCorrection with the specified Angle [] [] value. atmosphericCorrection The Angle [] [] value to which atmosphericCorrection is to be set. The value of atmosphericCorrection can be anything allowed by the Angle [] [] constructor.
-
setEncoder(encoder)[source]¶ Set encoder with the specified Angle [] [] value. encoder The Angle [] [] value to which encoder is to be set. The value of encoder can be anything allowed by the Angle [] [] 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.
-
setNumSample(numSample)[source]¶ Set numSample with the specified int value. numSample The int value to which numSample is to be set.
-
setNumTerm(numTerm)[source]¶ Set numTerm with the specified int value. numTerm The int value to which numTerm is to be set.
-
setOffset(offset)[source]¶ Set offset with the specified Angle [] [] value. offset The Angle [] [] value to which offset is to be set. The value of offset can be anything allowed by the Angle [] [] constructor.
-
setOverTheTop(overTheTop)[source]¶ Set overTheTop with the specified bool value. overTheTop The bool value to which overTheTop is to be set.
-
setPointingDirection(pointingDirection)[source]¶ Set pointingDirection with the specified Angle [] [] value. pointingDirection The Angle [] [] value to which pointingDirection is to be set. The value of pointingDirection can be anything allowed by the Angle [] [] constructor.
-
setPointingModelId(pointingModelId)[source]¶ Set pointingModelId with the specified int value. pointingModelId The int value to which pointingModelId is to be set.
-
setPointingTracking(pointingTracking)[source]¶ Set pointingTracking with the specified bool value. pointingTracking The bool value to which pointingTracking is to be set.
-
setSampledTimeInterval(sampledTimeInterval)[source]¶ Set sampledTimeInterval with the specified ArrayTimeInterval [] value. sampledTimeInterval The ArrayTimeInterval [] value to which sampledTimeInterval is to be set. The value of sampledTimeInterval can be anything allowed by the ArrayTimeInterval [] constructor.
-
setSourceOffset(sourceOffset)[source]¶ Set sourceOffset with the specified Angle [] [] value. sourceOffset The Angle [] [] value to which sourceOffset is to be set. The value of sourceOffset can be anything allowed by the Angle [] [] constructor.
-
setSourceOffsetEquinox(sourceOffsetEquinox)[source]¶ Set sourceOffsetEquinox with the specified ArrayTime value. sourceOffsetEquinox The ArrayTime value to which sourceOffsetEquinox is to be set. The value of sourceOffsetEquinox can be anything allowed by the ArrayTime constructor.
-
setSourceOffsetReferenceCode(sourceOffsetReferenceCode)[source]¶ Set sourceOffsetReferenceCode with the specified DirectionReferenceCode value. sourceOffsetReferenceCode The DirectionReferenceCode value to which sourceOffsetReferenceCode is to be set.
-
setTarget(target)[source]¶ Set target with the specified Angle [] [] value. target The Angle [] [] value to which target is to be set. The value of target can be anything allowed by the Angle [] [] constructor.
-
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.
-
setTimeOrigin(timeOrigin)[source]¶ Set timeOrigin with the specified ArrayTime value. timeOrigin The ArrayTime value to which timeOrigin is to be set. The value of timeOrigin can be anything allowed by the ArrayTime constructor.
-
setUsePolynomials(usePolynomials)[source]¶ Set usePolynomials with the specified bool value. usePolynomials The bool value to which usePolynomials is to be set.
-
static
sourceOffsetEquinoxFromBin(row, eis)[source]¶ Set the optional sourceOffsetEquinox in row from the EndianInput (eis) instance.
-
static
sourceOffsetFromBin(row, eis)[source]¶ Set the optional sourceOffset in row from the EndianInput (eis) instance.
-
static
sourceOffsetReferenceCodeFromBin(row, eis)[source]¶ Set the optional sourceOffsetReferenceCode in row from the EndianInput (eis) instance.
-
static
timeIntervalFromBin(row, eis)[source]¶ Set the timeInterval in row from the EndianInput (eis) instance.
-
static