SysCalRow

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

Bases: object

The SysCalRow class is a row of a SysCalTable.

Generated from model’s revision -1, branch

Methods Summary

antennaIdFromBin(row, eis)

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

clearPhaseDiffFlag()

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

clearPhaseDiffSpectrum()

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

clearTantFlag()

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

clearTantSpectrum()

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

clearTantTsysFlag()

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

clearTantTsysSpectrum()

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

clearTcalFlag()

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

clearTcalSpectrum()

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

clearTrxFlag()

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

clearTrxSpectrum()

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

clearTskyFlag()

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

clearTskySpectrum()

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

clearTsysFlag()

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

clearTsysSpectrum()

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

compareNoAutoInc(antennaId, …)

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

compareRequiredValue(numReceptor, numChan)

equalByRequiredValue(otherRow)

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

feedIdFromBin(row, eis)

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

getAntennaId()

Get antennaId.

getAntennaUsingAntennaId()

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

getFeedId()

Get feedId.

getFeeds()

Get the collection of rows in the Feed table having feedId == this.feedId

getNumChan()

Get numChan.

getNumReceptor()

Get numReceptor.

getPhaseDiffFlag()

Get phaseDiffFlag, which is optional.

getPhaseDiffSpectrum()

Get phaseDiffSpectrum, which is optional.

getSpectralWindowId()

Get spectralWindowId.

getSpectralWindowUsingSpectralWindowId()

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

getTable()

Return the table to which this row belongs.

getTantFlag()

Get tantFlag, which is optional.

getTantSpectrum()

Get tantSpectrum, which is optional.

getTantTsysFlag()

Get tantTsysFlag, which is optional.

getTantTsysSpectrum()

Get tantTsysSpectrum, which is optional.

getTcalFlag()

Get tcalFlag, which is optional.

getTcalSpectrum()

Get tcalSpectrum, which is optional.

getTimeInterval()

Get timeInterval.

getTrxFlag()

Get trxFlag, which is optional.

getTrxSpectrum()

Get trxSpectrum, which is optional.

getTskyFlag()

Get tskyFlag, which is optional.

getTskySpectrum()

Get tskySpectrum, which is optional.

getTsysFlag()

Get tsysFlag, which is optional.

getTsysSpectrum()

Get tsysSpectrum, which is optional.

initFromBinMethods()

isAdded()

isPhaseDiffFlagExists()

The attribute phaseDiffFlag is optional.

isPhaseDiffSpectrumExists()

The attribute phaseDiffSpectrum is optional.

isTantFlagExists()

The attribute tantFlag is optional.

isTantSpectrumExists()

The attribute tantSpectrum is optional.

isTantTsysFlagExists()

The attribute tantTsysFlag is optional.

isTantTsysSpectrumExists()

The attribute tantTsysSpectrum is optional.

isTcalFlagExists()

The attribute tcalFlag is optional.

isTcalSpectrumExists()

The attribute tcalSpectrum is optional.

isTrxFlagExists()

The attribute trxFlag is optional.

isTrxSpectrumExists()

The attribute trxSpectrum is optional.

isTskyFlagExists()

The attribute tskyFlag is optional.

isTskySpectrumExists()

The attribute tskySpectrum is optional.

isTsysFlagExists()

The attribute tsysFlag is optional.

isTsysSpectrumExists()

The attribute tsysSpectrum is optional.

numChanFromBin(row, eis)

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

numReceptorFromBin(row, eis)

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

phaseDiffFlagFromBin(row, eis)

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

phaseDiffSpectrumFromBin(row, eis)

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

setAntennaId(antennaId)

Set antennaId with the specified Tag value.

setFeedId(feedId)

Set feedId with the specified int value.

setFromXML(xmlrow)

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

setNumChan(numChan)

Set numChan with the specified int value.

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setPhaseDiffFlag(phaseDiffFlag)

Set phaseDiffFlag with the specified bool value.

setPhaseDiffSpectrum(phaseDiffSpectrum)

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

setSpectralWindowId(spectralWindowId)

Set spectralWindowId with the specified Tag value.

setTantFlag(tantFlag)

Set tantFlag with the specified bool value.

setTantSpectrum(tantSpectrum)

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

setTantTsysFlag(tantTsysFlag)

Set tantTsysFlag with the specified bool value.

setTantTsysSpectrum(tantTsysSpectrum)

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

setTcalFlag(tcalFlag)

Set tcalFlag with the specified bool value.

setTcalSpectrum(tcalSpectrum)

Set tcalSpectrum with the specified Temperature [] [] value.

setTimeInterval(timeInterval)

Set timeInterval with the specified ArrayTimeInterval value.

setTrxFlag(trxFlag)

Set trxFlag with the specified bool value.

setTrxSpectrum(trxSpectrum)

Set trxSpectrum with the specified Temperature [] [] value.

setTskyFlag(tskyFlag)

Set tskyFlag with the specified bool value.

setTskySpectrum(tskySpectrum)

Set tskySpectrum with the specified Temperature [] [] value.

setTsysFlag(tsysFlag)

Set tsysFlag with the specified bool value.

setTsysSpectrum(tsysSpectrum)

Set tsysSpectrum with the specified Temperature [] [] value.

spectralWindowIdFromBin(row, eis)

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

tantFlagFromBin(row, eis)

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

tantSpectrumFromBin(row, eis)

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

tantTsysFlagFromBin(row, eis)

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

tantTsysSpectrumFromBin(row, eis)

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

tcalFlagFromBin(row, eis)

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

tcalSpectrumFromBin(row, eis)

Set the optional tcalSpectrum 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.

trxFlagFromBin(row, eis)

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

trxSpectrumFromBin(row, eis)

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

tskyFlagFromBin(row, eis)

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

tskySpectrumFromBin(row, eis)

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

tsysFlagFromBin(row, eis)

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

tsysSpectrumFromBin(row, eis)

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

Methods Documentation

static antennaIdFromBin(row, eis)[source]

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

clearPhaseDiffFlag()[source]

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

clearPhaseDiffSpectrum()[source]

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

clearTantFlag()[source]

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

clearTantSpectrum()[source]

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

clearTantTsysFlag()[source]

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

clearTantTsysSpectrum()[source]

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

clearTcalFlag()[source]

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

clearTcalSpectrum()[source]

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

clearTrxFlag()[source]

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

clearTrxSpectrum()[source]

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

clearTskyFlag()[source]

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

clearTskySpectrum()[source]

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

clearTsysFlag()[source]

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

clearTsysSpectrum()[source]

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

compareNoAutoInc(antennaId, spectralWindowId, timeInterval, feedId, numReceptor, numChan)[source]

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

compareRequiredValue(numReceptor, numChan)[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 feedIdFromBin(row, eis)[source]

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

getAntennaId()[source]

Get antennaId. return antennaId as Tag

getAntennaUsingAntennaId()[source]

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

getFeedId()[source]

Get feedId. return feedId as int

getFeeds()[source]

Get the collection of rows in the Feed table having feedId == this.feedId

getNumChan()[source]

Get numChan. return numChan as int

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getPhaseDiffFlag()[source]

Get phaseDiffFlag, which is optional. return phaseDiffFlag as bool raises ValueError If phaseDiffFlag does not exist.

getPhaseDiffSpectrum()[source]

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

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.

getTantFlag()[source]

Get tantFlag, which is optional. return tantFlag as bool raises ValueError If tantFlag does not exist.

getTantSpectrum()[source]

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

getTantTsysFlag()[source]

Get tantTsysFlag, which is optional. return tantTsysFlag as bool raises ValueError If tantTsysFlag does not exist.

getTantTsysSpectrum()[source]

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

getTcalFlag()[source]

Get tcalFlag, which is optional. return tcalFlag as bool raises ValueError If tcalFlag does not exist.

getTcalSpectrum()[source]

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

getTimeInterval()[source]

Get timeInterval. return timeInterval as ArrayTimeInterval

getTrxFlag()[source]

Get trxFlag, which is optional. return trxFlag as bool raises ValueError If trxFlag does not exist.

getTrxSpectrum()[source]

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

getTskyFlag()[source]

Get tskyFlag, which is optional. return tskyFlag as bool raises ValueError If tskyFlag does not exist.

getTskySpectrum()[source]

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

getTsysFlag()[source]

Get tsysFlag, which is optional. return tsysFlag as bool raises ValueError If tsysFlag does not exist.

getTsysSpectrum()[source]

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

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

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

isPhaseDiffSpectrumExists()[source]

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

isTantFlagExists()[source]

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

isTantSpectrumExists()[source]

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

isTantTsysFlagExists()[source]

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

isTantTsysSpectrumExists()[source]

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

isTcalFlagExists()[source]

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

isTcalSpectrumExists()[source]

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

isTrxFlagExists()[source]

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

isTrxSpectrumExists()[source]

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

isTskyFlagExists()[source]

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

isTskySpectrumExists()[source]

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

isTsysFlagExists()[source]

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

isTsysSpectrumExists()[source]

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

static numChanFromBin(row, eis)[source]

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

static numReceptorFromBin(row, eis)[source]

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

static phaseDiffFlagFromBin(row, eis)[source]

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

static phaseDiffSpectrumFromBin(row, eis)[source]

Set the optional phaseDiffSpectrum 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.

setFeedId(feedId)[source]

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

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.

setNumChan(numChan)[source]

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

setNumReceptor(numReceptor)[source]

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

setPhaseDiffFlag(phaseDiffFlag)[source]

Set phaseDiffFlag with the specified bool value. phaseDiffFlag The bool value to which phaseDiffFlag is to be set.

setPhaseDiffSpectrum(phaseDiffSpectrum)[source]

Set phaseDiffSpectrum with the specified float [] [] value. phaseDiffSpectrum The float [] [] value to which phaseDiffSpectrum 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.

setTantFlag(tantFlag)[source]

Set tantFlag with the specified bool value. tantFlag The bool value to which tantFlag is to be set.

setTantSpectrum(tantSpectrum)[source]

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

setTantTsysFlag(tantTsysFlag)[source]

Set tantTsysFlag with the specified bool value. tantTsysFlag The bool value to which tantTsysFlag is to be set.

setTantTsysSpectrum(tantTsysSpectrum)[source]

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

setTcalFlag(tcalFlag)[source]

Set tcalFlag with the specified bool value. tcalFlag The bool value to which tcalFlag is to be set.

setTcalSpectrum(tcalSpectrum)[source]

Set tcalSpectrum with the specified Temperature [] [] value. tcalSpectrum The Temperature [] [] value to which tcalSpectrum is to be set. The value of tcalSpectrum can be anything allowed by the Temperature [] [] 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.

setTrxFlag(trxFlag)[source]

Set trxFlag with the specified bool value. trxFlag The bool value to which trxFlag is to be set.

setTrxSpectrum(trxSpectrum)[source]

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

setTskyFlag(tskyFlag)[source]

Set tskyFlag with the specified bool value. tskyFlag The bool value to which tskyFlag is to be set.

setTskySpectrum(tskySpectrum)[source]

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

setTsysFlag(tsysFlag)[source]

Set tsysFlag with the specified bool value. tsysFlag The bool value to which tsysFlag is to be set.

setTsysSpectrum(tsysSpectrum)[source]

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

static spectralWindowIdFromBin(row, eis)[source]

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

static tantFlagFromBin(row, eis)[source]

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

static tantSpectrumFromBin(row, eis)[source]

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

static tantTsysFlagFromBin(row, eis)[source]

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

static tantTsysSpectrumFromBin(row, eis)[source]

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

static tcalFlagFromBin(row, eis)[source]

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

static tcalSpectrumFromBin(row, eis)[source]

Set the optional tcalSpectrum 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.

static trxFlagFromBin(row, eis)[source]

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

static trxSpectrumFromBin(row, eis)[source]

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

static tskyFlagFromBin(row, eis)[source]

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

static tskySpectrumFromBin(row, eis)[source]

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

static tsysFlagFromBin(row, eis)[source]

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

static tsysSpectrumFromBin(row, eis)[source]

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