CalPhaseRow

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

Bases: object

The CalPhaseRow class is a row of a CalPhaseTable.

Generated from model’s revision -1, branch

Methods Summary

ampliFromBin(row, eis)

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

antennaNamesFromBin(row, eis)

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

baselineLengthsFromBin(row, eis)

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

clearCorrectionValidity()

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

clearNumAntenna()

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

clearPhaseAnt()

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

clearPhaseAntRMS()

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

clearRefAntennaName()

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

clearSingleAntennaName()

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

compareNoAutoInc(basebandName, receiverBand, …)

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

compareRequiredValue(startValidTime, …)

correctionValidityFromBin(row, eis)

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

decorrelationFactorFromBin(row, eis)

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

getAmpli()

Get ampli.

getAntennaNames()

Get antennaNames.

getAtmPhaseCorrection()

Get atmPhaseCorrection.

getBasebandName()

Get basebandName.

getBaselineLengths()

Get baselineLengths.

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, which is optional.

getDecorrelationFactor()

Get decorrelationFactor.

getDirection()

Get direction.

getEndValidTime()

Get endValidTime.

getFrequencyRange()

Get frequencyRange.

getIntegrationTime()

Get integrationTime.

getNumAntenna()

Get numAntenna, which is optional.

getNumBaseline()

Get numBaseline.

getNumReceptor()

Get numReceptor.

getPhase()

Get phase.

getPhaseAnt()

Get phaseAnt, which is optional.

getPhaseAntRMS()

Get phaseAntRMS, which is optional.

getPhaseRMS()

Get phaseRMS.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getRefAntennaName()

Get refAntennaName, which is optional.

getSingleAntennaName()

Get singleAntennaName, which is optional.

getStartValidTime()

Get startValidTime.

getStatPhaseRMS()

Get statPhaseRMS.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

integrationTimeFromBin(row, eis)

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

isAdded()

isCorrectionValidityExists()

The attribute correctionValidity is optional.

isNumAntennaExists()

The attribute numAntenna is optional.

isPhaseAntExists()

The attribute phaseAnt is optional.

isPhaseAntRMSExists()

The attribute phaseAntRMS is optional.

isRefAntennaNameExists()

The attribute refAntennaName is optional.

isSingleAntennaNameExists()

The attribute singleAntennaName is optional.

numAntennaFromBin(row, eis)

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

numBaselineFromBin(row, eis)

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

numReceptorFromBin(row, eis)

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

phaseAntFromBin(row, eis)

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

phaseAntRMSFromBin(row, eis)

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

phaseFromBin(row, eis)

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

phaseRMSFromBin(row, eis)

Set the phaseRMS 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 optional refAntennaName in row from the EndianInput (eis) instance.

setAmpli(ampli)

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

setAntennaNames(antennaNames)

Set antennaNames with the specified str [] [] value.

setAtmPhaseCorrection(atmPhaseCorrection)

Set atmPhaseCorrection with the specified AtmPhaseCorrection value.

setBasebandName(basebandName)

Set basebandName with the specified BasebandName value.

setBaselineLengths(baselineLengths)

Set baselineLengths with the specified Length [] 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.

setDecorrelationFactor(decorrelationFactor)

Set decorrelationFactor with the specified float [] [] 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.

setNumAntenna(numAntenna)

Set numAntenna with the specified int value.

setNumBaseline(numBaseline)

Set numBaseline with the specified int value.

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setPhase(phase)

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

setPhaseAnt(phaseAnt)

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

setPhaseAntRMS(phaseAntRMS)

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

setPhaseRMS(phaseRMS)

Set phaseRMS 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.

setSingleAntennaName(singleAntennaName)

Set singleAntennaName with the specified str [] value.

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

setStatPhaseRMS(statPhaseRMS)

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

singleAntennaNameFromBin(row, eis)

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

startValidTimeFromBin(row, eis)

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

statPhaseRMSFromBin(row, eis)

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

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

static antennaNamesFromBin(row, eis)[source]

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

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

clearCorrectionValidity()[source]

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

clearNumAntenna()[source]

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

clearPhaseAnt()[source]

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

clearPhaseAntRMS()[source]

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

clearRefAntennaName()[source]

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

clearSingleAntennaName()[source]

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

compareNoAutoInc(basebandName, receiverBand, atmPhaseCorrection, calDataId, calReductionId, startValidTime, endValidTime, numBaseline, numReceptor, ampli, antennaNames, baselineLengths, decorrelationFactor, direction, frequencyRange, integrationTime, phase, polarizationTypes, phaseRMS, statPhaseRMS)[source]

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

compareRequiredValue(startValidTime, endValidTime, numBaseline, numReceptor, ampli, antennaNames, baselineLengths, decorrelationFactor, direction, frequencyRange, integrationTime, phase, polarizationTypes, phaseRMS, statPhaseRMS)[source]
static correctionValidityFromBin(row, eis)[source]

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

static decorrelationFactorFromBin(row, eis)[source]

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

getAmpli()[source]

Get ampli. return ampli as float [] []

getAntennaNames()[source]

Get antennaNames. return antennaNames as str [] []

getAtmPhaseCorrection()[source]

Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection

getBasebandName()[source]

Get basebandName. return basebandName as BasebandName

getBaselineLengths()[source]

Get baselineLengths. return baselineLengths as Length []

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, which is optional. return correctionValidity as bool [] raises ValueError If correctionValidity does not exist.

getDecorrelationFactor()[source]

Get decorrelationFactor. return decorrelationFactor as float [] []

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

getNumAntenna()[source]

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

getNumBaseline()[source]

Get numBaseline. return numBaseline as int

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getPhase()[source]

Get phase. return phase as float [] []

getPhaseAnt()[source]

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

getPhaseAntRMS()[source]

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

getPhaseRMS()[source]

Get phaseRMS. return phaseRMS as float [] []

getPolarizationTypes()[source]

Get polarizationTypes. return polarizationTypes as PolarizationType []

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getRefAntennaName()[source]

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

getSingleAntennaName()[source]

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

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getStatPhaseRMS()[source]

Get statPhaseRMS. return statPhaseRMS as float [] []

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]
isCorrectionValidityExists()[source]

The attribute correctionValidity is optional. Return True if this attribute exists. return True if and only if the correctionValidity 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.

isPhaseAntExists()[source]

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

isPhaseAntRMSExists()[source]

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

isRefAntennaNameExists()[source]

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

isSingleAntennaNameExists()[source]

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

static numAntennaFromBin(row, eis)[source]

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

static numBaselineFromBin(row, eis)[source]

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

static numReceptorFromBin(row, eis)[source]

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

static phaseAntFromBin(row, eis)[source]

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

static phaseAntRMSFromBin(row, eis)[source]

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

static phaseFromBin(row, eis)[source]

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

static phaseRMSFromBin(row, eis)[source]

Set the phaseRMS 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 optional refAntennaName in row from the EndianInput (eis) instance.

setAmpli(ampli)[source]

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

setAntennaNames(antennaNames)[source]

Set antennaNames with the specified str [] [] value. antennaNames The str [] [] value to which antennaNames is to be set.

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.

setBaselineLengths(baselineLengths)[source]

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

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.

setDecorrelationFactor(decorrelationFactor)[source]

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

setNumAntenna(numAntenna)[source]

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

setNumBaseline(numBaseline)[source]

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

setPhase(phase)[source]

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

setPhaseRMS(phaseRMS)[source]

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

setSingleAntennaName(singleAntennaName)[source]

Set singleAntennaName with the specified str [] value. singleAntennaName The str [] value to which singleAntennaName is to be set.

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.

setStatPhaseRMS(statPhaseRMS)[source]

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

static singleAntennaNameFromBin(row, eis)[source]

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

static startValidTimeFromBin(row, eis)[source]

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

static statPhaseRMSFromBin(row, eis)[source]

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