CalAntennaSolutionsRow

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

Bases: object

The CalAntennaSolutionsRow class is a row of a CalAntennaSolutionsTable.

Generated from model’s revision -1, branch

Methods Summary

amplitudeAntFromBin(row, eis)

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

amplitudeAntRMSFromBin(row, eis)

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

antennaNameFromBin(row, eis)

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

atmPhaseCorrectionFromBin(row, eis)

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

basebandNameFromBin(row, eis)

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

calDataIdFromBin(row, eis)

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

calReductionIdFromBin(row, eis)

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

compareNoAutoInc(antennaName, …)

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

compareRequiredValue(startValidTime, …)

correctionValidityFromBin(row, eis)

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

directionFromBin(row, eis)

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

endValidTimeFromBin(row, eis)

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

frequencyRangeFromBin(row, eis)

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

getAmplitudeAnt()

Get amplitudeAnt.

getAmplitudeAntRMS()

Get amplitudeAntRMS.

getAntennaName()

Get antennaName.

getAtmPhaseCorrection()

Get atmPhaseCorrection.

getBasebandName()

Get basebandName.

getCalDataId()

Get calDataId.

getCalDataUsingCalDataId()

Returns the row in the CalData table having CalData.calDataId == calDataId

getCalReductionId()

Get calReductionId.

getCalReductionUsingCalReductionId()

Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId

getCorrectionValidity()

Get correctionValidity.

getDirection()

Get direction.

getEndValidTime()

Get endValidTime.

getFrequencyRange()

Get frequencyRange.

getIntegrationTime()

Get integrationTime.

getNumReceptor()

Get numReceptor.

getPhaseAnt()

Get phaseAnt.

getPhaseAntRMS()

Get phaseAntRMS.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getRefAntennaName()

Get refAntennaName.

getSpectralWindowId()

Get spectralWindowId.

getSpectralWindowUsingSpectralWindowId()

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

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

integrationTimeFromBin(row, eis)

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

isAdded()

numReceptorFromBin(row, eis)

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

phaseAntFromBin(row, eis)

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

phaseAntRMSFromBin(row, eis)

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

polarizationTypesFromBin(row, eis)

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

receiverBandFromBin(row, eis)

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

refAntennaNameFromBin(row, eis)

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

setAmplitudeAnt(amplitudeAnt)

Set amplitudeAnt with the specified float [] value.

setAmplitudeAntRMS(amplitudeAntRMS)

Set amplitudeAntRMS with the specified float [] value.

setAntennaName(antennaName)

Set antennaName with the specified str value.

setAtmPhaseCorrection(atmPhaseCorrection)

Set atmPhaseCorrection with the specified AtmPhaseCorrection value.

setBasebandName(basebandName)

Set basebandName with the specified BasebandName value.

setCalDataId(calDataId)

Set calDataId with the specified Tag value.

setCalReductionId(calReductionId)

Set calReductionId with the specified Tag value.

setCorrectionValidity(correctionValidity)

Set correctionValidity with the specified bool value.

setDirection(direction)

Set direction with the specified Angle [] value.

setEndValidTime(endValidTime)

Set endValidTime with the specified ArrayTime value.

setFrequencyRange(frequencyRange)

Set frequencyRange with the specified Frequency [] value.

setFromXML(xmlrow)

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

setIntegrationTime(integrationTime)

Set integrationTime with the specified Interval value.

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setPhaseAnt(phaseAnt)

Set phaseAnt with the specified float [] value.

setPhaseAntRMS(phaseAntRMS)

Set phaseAntRMS with the specified float [] value.

setPolarizationTypes(polarizationTypes)

Set polarizationTypes with the specified PolarizationType [] value.

setReceiverBand(receiverBand)

Set receiverBand with the specified ReceiverBand value.

setRefAntennaName(refAntennaName)

Set refAntennaName with the specified str value.

setSpectralWindowId(spectralWindowId)

Set spectralWindowId with the specified Tag value.

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

spectralWindowIdFromBin(row, eis)

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

startValidTimeFromBin(row, eis)

Set the startValidTime 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

static amplitudeAntFromBin(row, eis)[source]

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

static amplitudeAntRMSFromBin(row, eis)[source]

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

static antennaNameFromBin(row, eis)[source]

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

static atmPhaseCorrectionFromBin(row, eis)[source]

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

static basebandNameFromBin(row, eis)[source]

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

static calDataIdFromBin(row, eis)[source]

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

static calReductionIdFromBin(row, eis)[source]

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

compareNoAutoInc(antennaName, atmPhaseCorrection, receiverBand, basebandName, calDataId, calReductionId, spectralWindowId, startValidTime, endValidTime, numReceptor, refAntennaName, direction, frequencyRange, integrationTime, polarizationTypes, correctionValidity, phaseAnt, phaseAntRMS, amplitudeAnt, amplitudeAntRMS)[source]

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

compareRequiredValue(startValidTime, endValidTime, numReceptor, refAntennaName, direction, frequencyRange, integrationTime, polarizationTypes, correctionValidity, phaseAnt, phaseAntRMS, amplitudeAnt, amplitudeAntRMS)[source]
static correctionValidityFromBin(row, eis)[source]

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

static directionFromBin(row, eis)[source]

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

static endValidTimeFromBin(row, eis)[source]

Set the endValidTime 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 frequencyRangeFromBin(row, eis)[source]

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

getAmplitudeAnt()[source]

Get amplitudeAnt. return amplitudeAnt as float []

getAmplitudeAntRMS()[source]

Get amplitudeAntRMS. return amplitudeAntRMS as float []

getAntennaName()[source]

Get antennaName. return antennaName as str

getAtmPhaseCorrection()[source]

Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection

getBasebandName()[source]

Get basebandName. return basebandName as BasebandName

getCalDataId()[source]

Get calDataId. return calDataId as Tag

getCalDataUsingCalDataId()[source]

Returns the row in the CalData table having CalData.calDataId == calDataId

getCalReductionId()[source]

Get calReductionId. return calReductionId as Tag

getCalReductionUsingCalReductionId()[source]

Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId

getCorrectionValidity()[source]

Get correctionValidity. return correctionValidity as bool

getDirection()[source]

Get direction. return direction as Angle []

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getFrequencyRange()[source]

Get frequencyRange. return frequencyRange as Frequency []

getIntegrationTime()[source]

Get integrationTime. return integrationTime as Interval

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getPhaseAnt()[source]

Get phaseAnt. return phaseAnt as float []

getPhaseAntRMS()[source]

Get phaseAntRMS. return phaseAntRMS as float []

getPolarizationTypes()[source]

Get polarizationTypes. return polarizationTypes as PolarizationType []

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getRefAntennaName()[source]

Get refAntennaName. return refAntennaName as str

getSpectralWindowId()[source]

Get spectralWindowId. return spectralWindowId as Tag

getSpectralWindowUsingSpectralWindowId()[source]

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

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getTable()[source]

Return the table to which this row belongs.

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

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

isAdded()[source]
static numReceptorFromBin(row, eis)[source]

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

static phaseAntFromBin(row, eis)[source]

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

static phaseAntRMSFromBin(row, eis)[source]

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

static polarizationTypesFromBin(row, eis)[source]

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

static receiverBandFromBin(row, eis)[source]

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

static refAntennaNameFromBin(row, eis)[source]

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

setAmplitudeAnt(amplitudeAnt)[source]

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

setAmplitudeAntRMS(amplitudeAntRMS)[source]

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

setAntennaName(antennaName)[source]

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

setAtmPhaseCorrection(atmPhaseCorrection)[source]

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

setBasebandName(basebandName)[source]

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

setCalDataId(calDataId)[source]

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

setCalReductionId(calReductionId)[source]

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

setCorrectionValidity(correctionValidity)[source]

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

setDirection(direction)[source]

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

setEndValidTime(endValidTime)[source]

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

setFrequencyRange(frequencyRange)[source]

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

setIntegrationTime(integrationTime)[source]

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

setNumReceptor(numReceptor)[source]

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

setPhaseAnt(phaseAnt)[source]

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

setPhaseAntRMS(phaseAntRMS)[source]

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

setPolarizationTypes(polarizationTypes)[source]

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

Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.

setRefAntennaName(refAntennaName)[source]

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

setStartValidTime(startValidTime)[source]

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

static spectralWindowIdFromBin(row, eis)[source]

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

static startValidTimeFromBin(row, eis)[source]

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