PointingModelRow

class PointingModelRow(table, row=None)[source]

Bases: object

The PointingModelRow class is a row of a PointingModelTable.

Generated from model’s revision -1, branch

Methods Summary

antennaIdFromBin(row, eis)

Set the antennaId in row from the EndianInput (eis) instance.

assocNatureFromBin(row, eis)

Set the assocNature in row from the EndianInput (eis) instance.

assocPointingModelIdFromBin(row, eis)

Set the assocPointingModelId in row from the EndianInput (eis) instance.

clearCoeffFormula()

Mark coeffFormula, which is an optional field, as non-existent.

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(antennaId, numCoeff, …)

Compare each attribute except the autoincrementable one of this PointingModelRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(numCoeff, coeffName, …)

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

getAssocNature()

Get assocNature.

getAssocPointingModelId()

Get assocPointingModelId.

getCoeffFormula()

Get coeffFormula, which is optional.

getCoeffName()

Get coeffName.

getCoeffVal()

Get coeffVal.

getNumCoeff()

Get numCoeff.

getPointingModelId()

Get pointingModelId.

getPointingModels()

Get the collection of rows in the PointingModel table having pointingModelId == this.pointingModelId

getPolarizationType()

Get polarizationType.

getReceiverBand()

Get receiverBand.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

isAdded()

isCoeffFormulaExists()

The attribute coeffFormula is optional.

numCoeffFromBin(row, eis)

Set the numCoeff in row from the EndianInput (eis) instance.

pointingModelIdFromBin(row, eis)

Set the pointingModelId 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.

setAntennaId(antennaId)

Set antennaId with the specified Tag value.

setAssocNature(assocNature)

Set assocNature with the specified str value.

setAssocPointingModelId(assocPointingModelId)

Set assocPointingModelId with the specified int 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.

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.

setPointingModelId(pointingModelId)

Set pointingModelId with the specified int value.

setPolarizationType(polarizationType)

Set polarizationType with the specified PolarizationType value.

setReceiverBand(receiverBand)

Set receiverBand with the specified ReceiverBand value.

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 antennaIdFromBin(row, eis)[source]

Set the antennaId in row from the EndianInput (eis) instance.

static assocNatureFromBin(row, eis)[source]

Set the assocNature in row from the EndianInput (eis) instance.

static assocPointingModelIdFromBin(row, eis)[source]

Set the assocPointingModelId in row from the EndianInput (eis) instance.

clearCoeffFormula()[source]

Mark coeffFormula, which is an optional field, as non-existent.

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(antennaId, numCoeff, coeffName, coeffVal, polarizationType, receiverBand, assocNature, assocPointingModelId)[source]

Compare each attribute except the autoincrementable one of this PointingModelRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(numCoeff, coeffName, coeffVal, polarizationType, receiverBand, assocNature, assocPointingModelId)[source]
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.

getAntennaId()[source]

Get antennaId. return antennaId as Tag

getAntennaUsingAntennaId()[source]

Returns the row in the Antenna table having Antenna.antennaId == antennaId

getAssocNature()[source]

Get assocNature. return assocNature as str

getAssocPointingModelId()[source]

Get assocPointingModelId. return assocPointingModelId as int

getCoeffFormula()[source]

Get coeffFormula, which is optional. return coeffFormula as str [] raises ValueError If coeffFormula does not exist.

getCoeffName()[source]

Get coeffName. return coeffName as str []

getCoeffVal()[source]

Get coeffVal. return coeffVal as float []

getNumCoeff()[source]

Get numCoeff. return numCoeff as int

getPointingModelId()[source]

Get pointingModelId. return pointingModelId as int

getPointingModels()[source]

Get the collection of rows in the PointingModel table having pointingModelId == this.pointingModelId

getPolarizationType()[source]

Get polarizationType. return polarizationType as PolarizationType

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getTable()[source]

Return the table to which this row belongs.

static initFromBinMethods()[source]
isAdded()[source]
isCoeffFormulaExists()[source]

The attribute coeffFormula is optional. Return True if this attribute exists. return True if and only if the coeffFormula attribute exists.

static numCoeffFromBin(row, eis)[source]

Set the numCoeff in row from the EndianInput (eis) instance.

static pointingModelIdFromBin(row, eis)[source]

Set the pointingModelId 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.

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.

setAssocNature(assocNature)[source]

Set assocNature with the specified str value. assocNature The str value to which assocNature is to be set.

setAssocPointingModelId(assocPointingModelId)[source]

Set assocPointingModelId with the specified int value. assocPointingModelId The int value to which assocPointingModelId 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.

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.

setPointingModelId(pointingModelId)[source]

Set pointingModelId with the specified int value. pointingModelId The int value to which pointingModelId 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.

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.

toBin(eos)[source]

Write this row out to the EndianOutput instance, eos.

toXML()[source]

Return this row in the form of an XML string.