AnnotationRow

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

Bases: object

The AnnotationRow class is a row of a AnnotationTable.

Generated from model’s revision -1, branch

Methods Summary

addAntennaId(id)

Append a Tag to antennaId id the Tag to be appended to antennaId

annotationIdFromBin(row, eis)

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

antennaIdFromBin(row, eis)

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

basebandNameFromBin(row, eis)

Set the optional basebandName in row from the EndianInput (eis) instance.

clearAntennaId()

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

clearBasebandName()

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

clearDValue()

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

clearInterval()

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

clearLlValue()

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

clearNumAntenna()

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

clearNumBaseband()

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

clearSValue()

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

clearVdValue()

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

clearVllValue()

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

clearVvdValues()

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

clearVvllValue()

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

compareNoAutoInc(time, issue, details)

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

compareRequiredValue(time, issue, details)

dValueFromBin(row, eis)

Set the optional dValue in row from the EndianInput (eis) instance.

detailsFromBin(row, eis)

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

getAnnotationId()

Get annotationId.

getAntennaId()

Get antennaId, which is optional.

getAntennaUsingAntennaId(i)

Returns the AntennaRow linked to this row via the Tag stored in antennaId at position i.

getAntennasUsingAntennaId()

Returns the array of AntennaRow linked to this row via the Tags stored in antennaId

getBasebandName()

Get basebandName, which is optional.

getDValue()

Get dValue, which is optional.

getDetails()

Get details.

getInterval()

Get interval, which is optional.

getIssue()

Get issue.

getLlValue()

Get llValue, which is optional.

getNumAntenna()

Get numAntenna, which is optional.

getNumBaseband()

Get numBaseband, which is optional.

getOneAntennaId(i)

Returns the Tag stored in antennaId at position i.

getSValue()

Get sValue, which is optional.

getTable()

Return the table to which this row belongs.

getTime()

Get time.

getVdValue()

Get vdValue, which is optional.

getVllValue()

Get vllValue, which is optional.

getVvdValues()

Get vvdValues, which is optional.

getVvllValue()

Get vvllValue, which is optional.

initFromBinMethods()

intervalFromBin(row, eis)

Set the optional interval in row from the EndianInput (eis) instance.

isAdded()

isAntennaIdExists()

The attribute antennaId is optional.

isBasebandNameExists()

The attribute basebandName is optional.

isDValueExists()

The attribute dValue is optional.

isIntervalExists()

The attribute interval is optional.

isLlValueExists()

The attribute llValue is optional.

isNumAntennaExists()

The attribute numAntenna is optional.

isNumBasebandExists()

The attribute numBaseband is optional.

isSValueExists()

The attribute sValue is optional.

isVdValueExists()

The attribute vdValue is optional.

isVllValueExists()

The attribute vllValue is optional.

isVvdValuesExists()

The attribute vvdValues is optional.

isVvllValueExists()

The attribute vvllValue is optional.

issueFromBin(row, eis)

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

llValueFromBin(row, eis)

Set the optional llValue in row from the EndianInput (eis) instance.

numAntennaFromBin(row, eis)

Set the optional numAntenna in row from the EndianInput (eis) instance.

numBasebandFromBin(row, eis)

Set the optional numBaseband in row from the EndianInput (eis) instance.

sValueFromBin(row, eis)

Set the optional sValue in row from the EndianInput (eis) instance.

setAnnotationId(annotationId)

Set annotationId with the specified Tag value.

setAntennaId(antennaId)

Set antennaId with the specified Tag [] value.

setBasebandName(basebandName)

Set basebandName with the specified BasebandName [] value.

setDValue(dValue)

Set dValue with the specified float value.

setDetails(details)

Set details with the specified str value.

setFromXML(xmlrow)

Fill the values of this row from an XML string that was produced by the toXML() method.

setInterval(interval)

Set interval with the specified Interval value.

setIssue(issue)

Set issue with the specified str value.

setLlValue(llValue)

Set llValue with the specified int value.

setNumAntenna(numAntenna)

Set numAntenna with the specified int value.

setNumBaseband(numBaseband)

Set numBaseband with the specified int value.

setOneAntennaId(index, antennaId)

Set antennaId[index] with the specified Tag value.

setSValue(sValue)

Set sValue with the specified str value.

setTime(time)

Set time with the specified ArrayTime value.

setVdValue(vdValue)

Set vdValue with the specified float [] value.

setVllValue(vllValue)

Set vllValue with the specified int [] value.

setVvdValues(vvdValues)

Set vvdValues with the specified float [] [] value.

setVvllValue(vvllValue)

Set vvllValue with the specified int [] [] value.

timeFromBin(row, eis)

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

vdValueFromBin(row, eis)

Set the optional vdValue in row from the EndianInput (eis) instance.

vllValueFromBin(row, eis)

Set the optional vllValue in row from the EndianInput (eis) instance.

vvdValuesFromBin(row, eis)

Set the optional vvdValues in row from the EndianInput (eis) instance.

vvllValueFromBin(row, eis)

Set the optional vvllValue in row from the EndianInput (eis) instance.

Methods Documentation

addAntennaId(id)[source]

Append a Tag to antennaId id the Tag to be appended to antennaId

static annotationIdFromBin(row, eis)[source]

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

static antennaIdFromBin(row, eis)[source]

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

static basebandNameFromBin(row, eis)[source]

Set the optional basebandName in row from the EndianInput (eis) instance.

clearAntennaId()[source]

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

clearBasebandName()[source]

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

clearDValue()[source]

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

clearInterval()[source]

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

clearLlValue()[source]

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

clearNumAntenna()[source]

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

clearNumBaseband()[source]

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

clearSValue()[source]

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

clearVdValue()[source]

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

clearVllValue()[source]

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

clearVvdValues()[source]

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

clearVvllValue()[source]

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

compareNoAutoInc(time, issue, details)[source]

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

compareRequiredValue(time, issue, details)[source]
static dValueFromBin(row, eis)[source]

Set the optional dValue in row from the EndianInput (eis) instance.

static detailsFromBin(row, eis)[source]

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

getAnnotationId()[source]

Get annotationId. return annotationId as Tag

getAntennaId()[source]

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

getAntennaUsingAntennaId(i)[source]

Returns the AntennaRow linked to this row via the Tag stored in antennaId at position i.

getAntennasUsingAntennaId()[source]

Returns the array of AntennaRow linked to this row via the Tags stored in antennaId

getBasebandName()[source]

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

getDValue()[source]

Get dValue, which is optional. return dValue as float raises ValueError If dValue does not exist.

getDetails()[source]

Get details. return details as str

getInterval()[source]

Get interval, which is optional. return interval as Interval raises ValueError If interval does not exist.

getIssue()[source]

Get issue. return issue as str

getLlValue()[source]

Get llValue, which is optional. return llValue as int raises ValueError If llValue does not exist.

getNumAntenna()[source]

Get numAntenna, which is optional. return numAntenna as int raises ValueError If numAntenna does not exist.

getNumBaseband()[source]

Get numBaseband, which is optional. return numBaseband as int raises ValueError If numBaseband does not exist.

getOneAntennaId(i)[source]

Returns the Tag stored in antennaId at position i.

getSValue()[source]

Get sValue, which is optional. return sValue as str raises ValueError If sValue does not exist.

getTable()[source]

Return the table to which this row belongs.

getTime()[source]

Get time. return time as ArrayTime

getVdValue()[source]

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

getVllValue()[source]

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

getVvdValues()[source]

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

getVvllValue()[source]

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

static initFromBinMethods()[source]
static intervalFromBin(row, eis)[source]

Set the optional interval in row from the EndianInput (eis) instance.

isAdded()[source]
isAntennaIdExists()[source]

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

isBasebandNameExists()[source]

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

isDValueExists()[source]

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

isIntervalExists()[source]

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

isLlValueExists()[source]

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

isNumAntennaExists()[source]

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

isNumBasebandExists()[source]

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

isSValueExists()[source]

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

isVdValueExists()[source]

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

isVllValueExists()[source]

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

isVvdValuesExists()[source]

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

isVvllValueExists()[source]

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

static issueFromBin(row, eis)[source]

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

static llValueFromBin(row, eis)[source]

Set the optional llValue in row from the EndianInput (eis) instance.

static numAntennaFromBin(row, eis)[source]

Set the optional numAntenna in row from the EndianInput (eis) instance.

static numBasebandFromBin(row, eis)[source]

Set the optional numBaseband in row from the EndianInput (eis) instance.

static sValueFromBin(row, eis)[source]

Set the optional sValue in row from the EndianInput (eis) instance.

setAnnotationId(annotationId)[source]

Set annotationId with the specified Tag value. annotationId The Tag value to which annotationId is to be set. The value of annotationId 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.

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.

setBasebandName(basebandName)[source]

Set basebandName with the specified BasebandName [] value. basebandName The BasebandName [] value to which basebandName is to be set.

setDValue(dValue)[source]

Set dValue with the specified float value. dValue The float value to which dValue is to be set.

setDetails(details)[source]

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

setInterval(interval)[source]

Set interval with the specified Interval value. interval The Interval value to which interval is to be set. The value of interval can be anything allowed by the Interval constructor.

setIssue(issue)[source]

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

setLlValue(llValue)[source]

Set llValue with the specified int value. llValue The int value to which llValue is to be set.

setNumAntenna(numAntenna)[source]

Set numAntenna with the specified int value. numAntenna The int value to which numAntenna is to be set.

setNumBaseband(numBaseband)[source]

Set numBaseband with the specified int value. numBaseband The int value to which numBaseband is to be set.

setOneAntennaId(index, antennaId)[source]

Set antennaId[index] with the specified Tag value. index The index in antennaId where to set the Tag value. antennaId The Tag value to which antennaId[index] is to be set. Raises an exception if that value does not already exist in this row

setSValue(sValue)[source]

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

setTime(time)[source]

Set time with the specified ArrayTime value. time The ArrayTime value to which time is to be set. The value of time can be anything allowed by the ArrayTime constructor.

setVdValue(vdValue)[source]

Set vdValue with the specified float [] value. vdValue The float [] value to which vdValue is to be set.

setVllValue(vllValue)[source]

Set vllValue with the specified int [] value. vllValue The int [] value to which vllValue is to be set.

setVvdValues(vvdValues)[source]

Set vvdValues with the specified float [] [] value. vvdValues The float [] [] value to which vvdValues is to be set.

setVvllValue(vvllValue)[source]

Set vvllValue with the specified int [] [] value. vvllValue The int [] [] value to which vvllValue is to be set.

static timeFromBin(row, eis)[source]

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

toBin(eos)[source]

Write this row out to the EndianOutput instance, eos.

toXML()[source]

Return this row in the form of an XML string.

static vdValueFromBin(row, eis)[source]

Set the optional vdValue in row from the EndianInput (eis) instance.

static vllValueFromBin(row, eis)[source]

Set the optional vllValue in row from the EndianInput (eis) instance.

static vvdValuesFromBin(row, eis)[source]

Set the optional vvdValues in row from the EndianInput (eis) instance.

static vvllValueFromBin(row, eis)[source]

Set the optional vvllValue in row from the EndianInput (eis) instance.