ReceiverRow

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

Bases: object

The ReceiverRow class is a row of a ReceiverTable.

Generated from model’s revision -1, branch

Methods Summary

compareNoAutoInc(spectralWindowId, …)

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

compareRequiredValue(name, numLO, …)

equalByRequiredValue(otherRow)

Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.

freqLOFromBin(row, eis)

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

frequencyBandFromBin(row, eis)

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

getFreqLO()

Get freqLO.

getFrequencyBand()

Get frequencyBand.

getName()

Get name.

getNumLO()

Get numLO.

getReceiverId()

Get receiverId.

getReceiverSideband()

Get receiverSideband.

getSidebandLO()

Get sidebandLO.

getSpectralWindowId()

Get spectralWindowId.

getSpectralWindowUsingSpectralWindowId()

Returns the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId

getTable()

Return the table to which this row belongs.

getTimeInterval()

Get timeInterval.

initFromBinMethods()

isAdded()

nameFromBin(row, eis)

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

numLOFromBin(row, eis)

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

receiverIdFromBin(row, eis)

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

receiverSidebandFromBin(row, eis)

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

setFreqLO(freqLO)

Set freqLO with the specified Frequency [] value.

setFrequencyBand(frequencyBand)

Set frequencyBand with the specified ReceiverBand value.

setFromXML(xmlrow)

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

setName(name)

Set name with the specified str value.

setNumLO(numLO)

Set numLO with the specified int value.

setReceiverId(receiverId)

Set receiverId with the specified int value.

setReceiverSideband(receiverSideband)

Set receiverSideband with the specified ReceiverSideband value.

setSidebandLO(sidebandLO)

Set sidebandLO with the specified NetSideband [] value.

setSpectralWindowId(spectralWindowId)

Set spectralWindowId with the specified Tag value.

setTimeInterval(timeInterval)

Set timeInterval with the specified ArrayTimeInterval value.

sidebandLOFromBin(row, eis)

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

spectralWindowIdFromBin(row, eis)

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

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

compareNoAutoInc(spectralWindowId, timeInterval, name, numLO, frequencyBand, freqLO, receiverSideband, sidebandLO)[source]

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

compareRequiredValue(name, numLO, frequencyBand, freqLO, receiverSideband, sidebandLO)[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 freqLOFromBin(row, eis)[source]

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

static frequencyBandFromBin(row, eis)[source]

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

getFreqLO()[source]

Get freqLO. return freqLO as Frequency []

getFrequencyBand()[source]

Get frequencyBand. return frequencyBand as ReceiverBand

getName()[source]

Get name. return name as str

getNumLO()[source]

Get numLO. return numLO as int

getReceiverId()[source]

Get receiverId. return receiverId as int

getReceiverSideband()[source]

Get receiverSideband. return receiverSideband as ReceiverSideband

getSidebandLO()[source]

Get sidebandLO. return sidebandLO as NetSideband []

getSpectralWindowId()[source]

Get spectralWindowId. return spectralWindowId as Tag

getSpectralWindowUsingSpectralWindowId()[source]

Returns the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId

getTable()[source]

Return the table to which this row belongs.

getTimeInterval()[source]

Get timeInterval. return timeInterval as ArrayTimeInterval

static initFromBinMethods()[source]
isAdded()[source]
static nameFromBin(row, eis)[source]

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

static numLOFromBin(row, eis)[source]

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

static receiverIdFromBin(row, eis)[source]

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

static receiverSidebandFromBin(row, eis)[source]

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

setFreqLO(freqLO)[source]

Set freqLO with the specified Frequency [] value. freqLO The Frequency [] value to which freqLO is to be set. The value of freqLO can be anything allowed by the Frequency [] constructor.

setFrequencyBand(frequencyBand)[source]

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

setName(name)[source]

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

setNumLO(numLO)[source]

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

setReceiverId(receiverId)[source]

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

setReceiverSideband(receiverSideband)[source]

Set receiverSideband with the specified ReceiverSideband value. receiverSideband The ReceiverSideband value to which receiverSideband is to be set.

setSidebandLO(sidebandLO)[source]

Set sidebandLO with the specified NetSideband [] value. sidebandLO The NetSideband [] value to which sidebandLO is to be set.

setSpectralWindowId(spectralWindowId)[source]

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

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

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

static spectralWindowIdFromBin(row, eis)[source]

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

static timeIntervalFromBin(row, eis)[source]

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