CalCurveRow

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

Bases: object

The CalCurveRow class is a row of a CalCurveTable.

Generated from model’s revision -1, branch

Methods Summary

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.

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.

clearNumBaseline()

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

clearRms()

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

compareNoAutoInc(atmPhaseCorrection, …)

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

compareRequiredValue(startValidTime, …)

curveFromBin(row, eis)

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

getAntennaNames()

Get antennaNames.

getAtmPhaseCorrection()

Get atmPhaseCorrection.

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

getCurve()

Get curve.

getEndValidTime()

Get endValidTime.

getFrequencyRange()

Get frequencyRange.

getNumAntenna()

Get numAntenna.

getNumBaseline()

Get numBaseline, which is optional.

getNumPoly()

Get numPoly.

getNumReceptor()

Get numReceptor.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getReducedChiSquared()

Get reducedChiSquared.

getRefAntennaName()

Get refAntennaName.

getRms()

Get rms, which is optional.

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

getTypeCurve()

Get typeCurve.

initFromBinMethods()

isAdded()

isNumBaselineExists()

The attribute numBaseline is optional.

isRmsExists()

The attribute rms is optional.

numAntennaFromBin(row, eis)

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

numBaselineFromBin(row, eis)

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

numPolyFromBin(row, eis)

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

numReceptorFromBin(row, eis)

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

rmsFromBin(row, eis)

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

setAntennaNames(antennaNames)

Set antennaNames with the specified str [] value.

setAtmPhaseCorrection(atmPhaseCorrection)

Set atmPhaseCorrection with the specified AtmPhaseCorrection value.

setCalDataId(calDataId)

Set calDataId with the specified Tag value.

setCalReductionId(calReductionId)

Set calReductionId with the specified Tag value.

setCurve(curve)

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

setNumAntenna(numAntenna)

Set numAntenna with the specified int value.

setNumBaseline(numBaseline)

Set numBaseline with the specified int value.

setNumPoly(numPoly)

Set numPoly with the specified int value.

setNumReceptor(numReceptor)

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

setRms(rms)

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

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

setTypeCurve(typeCurve)

Set typeCurve with the specified CalCurveType value.

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.

typeCurveFromBin(row, eis)

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

Methods Documentation

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

clearNumBaseline()[source]

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

clearRms()[source]

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

compareNoAutoInc(atmPhaseCorrection, typeCurve, receiverBand, calDataId, calReductionId, startValidTime, endValidTime, frequencyRange, numAntenna, numPoly, numReceptor, antennaNames, refAntennaName, polarizationTypes, curve, reducedChiSquared)[source]

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

compareRequiredValue(startValidTime, endValidTime, frequencyRange, numAntenna, numPoly, numReceptor, antennaNames, refAntennaName, polarizationTypes, curve, reducedChiSquared)[source]
static curveFromBin(row, eis)[source]

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

getAntennaNames()[source]

Get antennaNames. return antennaNames as str []

getAtmPhaseCorrection()[source]

Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection

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

getCurve()[source]

Get curve. return curve as float [] [] []

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getFrequencyRange()[source]

Get frequencyRange. return frequencyRange as Frequency []

getNumAntenna()[source]

Get numAntenna. return numAntenna as int

getNumBaseline()[source]

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

getNumPoly()[source]

Get numPoly. return numPoly as int

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

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

getRms()[source]

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

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getTable()[source]

Return the table to which this row belongs.

getTypeCurve()[source]

Get typeCurve. return typeCurve as CalCurveType

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

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

isRmsExists()[source]

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

static numAntennaFromBin(row, eis)[source]

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

static numBaselineFromBin(row, eis)[source]

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

static numPolyFromBin(row, eis)[source]

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

static numReceptorFromBin(row, eis)[source]

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

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

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.

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.

setCurve(curve)[source]

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

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.

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.

setNumPoly(numPoly)[source]

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

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.

setRms(rms)[source]

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

setTypeCurve(typeCurve)[source]

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

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.

static typeCurveFromBin(row, eis)[source]

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