CalDelayRow

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

Bases: object

The CalDelayRow class is a row of a CalDelayTable.

Generated from model’s revision -1, branch

Methods Summary

antennaNameFromBin(row, eis)

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

appliedDelayFromBin(row, eis)

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

clearCrossDelayOffset()

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

clearCrossDelayOffsetError()

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

clearNumSideband()

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

clearRefFreq()

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

clearRefFreqPhase()

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

clearSidebands()

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

compareNoAutoInc(antennaName, …)

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

compareRequiredValue(startValidTime, …)

crossDelayOffsetErrorFromBin(row, eis)

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

crossDelayOffsetFromBin(row, eis)

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

delayErrorFromBin(row, eis)

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

delayOffsetFromBin(row, eis)

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

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.

getAntennaName()

Get antennaName.

getAppliedDelay()

Get appliedDelay.

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

getCrossDelayOffset()

Get crossDelayOffset, which is optional.

getCrossDelayOffsetError()

Get crossDelayOffsetError, which is optional.

getDelayError()

Get delayError.

getDelayOffset()

Get delayOffset.

getEndValidTime()

Get endValidTime.

getNumReceptor()

Get numReceptor.

getNumSideband()

Get numSideband, which is optional.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getReducedChiSquared()

Get reducedChiSquared.

getRefAntennaName()

Get refAntennaName.

getRefFreq()

Get refFreq, which is optional.

getRefFreqPhase()

Get refFreqPhase, which is optional.

getSidebands()

Get sidebands, which is optional.

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

isAdded()

isCrossDelayOffsetErrorExists()

The attribute crossDelayOffsetError is optional.

isCrossDelayOffsetExists()

The attribute crossDelayOffset is optional.

isNumSidebandExists()

The attribute numSideband is optional.

isRefFreqExists()

The attribute refFreq is optional.

isRefFreqPhaseExists()

The attribute refFreqPhase is optional.

isSidebandsExists()

The attribute sidebands is optional.

numReceptorFromBin(row, eis)

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

numSidebandFromBin(row, eis)

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

reducedChiSquaredFromBin(row, eis)

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

refAntennaNameFromBin(row, eis)

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

refFreqFromBin(row, eis)

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

refFreqPhaseFromBin(row, eis)

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

setAntennaName(antennaName)

Set antennaName with the specified str value.

setAppliedDelay(appliedDelay)

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

setCrossDelayOffset(crossDelayOffset)

Set crossDelayOffset with the specified float value.

setCrossDelayOffsetError(crossDelayOffsetError)

Set crossDelayOffsetError with the specified float value.

setDelayError(delayError)

Set delayError with the specified float [] value.

setDelayOffset(delayOffset)

Set delayOffset with the specified float [] value.

setEndValidTime(endValidTime)

Set endValidTime with the specified ArrayTime value.

setFromXML(xmlrow)

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

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setNumSideband(numSideband)

Set numSideband with the specified int value.

setPolarizationTypes(polarizationTypes)

Set polarizationTypes with the specified PolarizationType [] value.

setReceiverBand(receiverBand)

Set receiverBand with the specified ReceiverBand value.

setReducedChiSquared(reducedChiSquared)

Set reducedChiSquared with the specified float [] value.

setRefAntennaName(refAntennaName)

Set refAntennaName with the specified str value.

setRefFreq(refFreq)

Set refFreq with the specified Frequency [] value.

setRefFreqPhase(refFreqPhase)

Set refFreqPhase with the specified Angle [] value.

setSidebands(sidebands)

Set sidebands with the specified ReceiverSideband [] value.

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

sidebandsFromBin(row, eis)

Set the optional sidebands 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 antennaNameFromBin(row, eis)[source]

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

static appliedDelayFromBin(row, eis)[source]

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

clearCrossDelayOffset()[source]

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

clearCrossDelayOffsetError()[source]

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

clearNumSideband()[source]

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

clearRefFreq()[source]

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

clearRefFreqPhase()[source]

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

clearSidebands()[source]

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

compareNoAutoInc(antennaName, atmPhaseCorrection, basebandName, receiverBand, calDataId, calReductionId, startValidTime, endValidTime, refAntennaName, numReceptor, delayError, delayOffset, polarizationTypes, reducedChiSquared, appliedDelay)[source]

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

compareRequiredValue(startValidTime, endValidTime, refAntennaName, numReceptor, delayError, delayOffset, polarizationTypes, reducedChiSquared, appliedDelay)[source]
static crossDelayOffsetErrorFromBin(row, eis)[source]

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

static crossDelayOffsetFromBin(row, eis)[source]

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

static delayErrorFromBin(row, eis)[source]

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

static delayOffsetFromBin(row, eis)[source]

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

getAntennaName()[source]

Get antennaName. return antennaName as str

getAppliedDelay()[source]

Get appliedDelay. return appliedDelay as float []

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

getCrossDelayOffset()[source]

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

getCrossDelayOffsetError()[source]

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

getDelayError()[source]

Get delayError. return delayError as float []

getDelayOffset()[source]

Get delayOffset. return delayOffset as float []

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getNumSideband()[source]

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

getPolarizationTypes()[source]

Get polarizationTypes. return polarizationTypes as PolarizationType []

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getReducedChiSquared()[source]

Get reducedChiSquared. return reducedChiSquared as float []

getRefAntennaName()[source]

Get refAntennaName. return refAntennaName as str

getRefFreq()[source]

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

getRefFreqPhase()[source]

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

getSidebands()[source]

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

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getTable()[source]

Return the table to which this row belongs.

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

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

isCrossDelayOffsetExists()[source]

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

isNumSidebandExists()[source]

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

isRefFreqExists()[source]

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

isRefFreqPhaseExists()[source]

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

isSidebandsExists()[source]

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

static numReceptorFromBin(row, eis)[source]

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

static numSidebandFromBin(row, eis)[source]

Set the optional numSideband 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 reducedChiSquaredFromBin(row, eis)[source]

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

static refAntennaNameFromBin(row, eis)[source]

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

static refFreqFromBin(row, eis)[source]

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

static refFreqPhaseFromBin(row, eis)[source]

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

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.

setAppliedDelay(appliedDelay)[source]

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

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.

setCrossDelayOffset(crossDelayOffset)[source]

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

setCrossDelayOffsetError(crossDelayOffsetError)[source]

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

setDelayError(delayError)[source]

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

setDelayOffset(delayOffset)[source]

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

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.

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.

setNumReceptor(numReceptor)[source]

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

setNumSideband(numSideband)[source]

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

setReducedChiSquared(reducedChiSquared)[source]

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

setRefAntennaName(refAntennaName)[source]

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

setRefFreq(refFreq)[source]

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

setRefFreqPhase(refFreqPhase)[source]

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

setSidebands(sidebands)[source]

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

static sidebandsFromBin(row, eis)[source]

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