CalBandpassRow

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

Bases: object

The CalBandpassRow class is a row of a CalBandpassTable.

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.

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.

chanFreqStartFromBin(row, eis)

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

chanFreqStepFromBin(row, eis)

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

clearChanFreqStart()

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

clearChanFreqStep()

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

clearFrequencyRange()

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

clearNumBaseline()

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

clearNumFreq()

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

clearNumSpectralWindow()

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

clearNumSpectralWindowChan()

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

clearRms()

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

clearSpectrum()

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

compareNoAutoInc(basebandName, sideband, …)

Compare each attribute except the autoincrementable one of this CalBandpassRow 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.

freqLimitsFromBin(row, eis)

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

frequencyRangeFromBin(row, eis)

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

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

getChanFreqStart()

Get chanFreqStart, which is optional.

getChanFreqStep()

Get chanFreqStep, which is optional.

getCurve()

Get curve.

getEndValidTime()

Get endValidTime.

getFreqLimits()

Get freqLimits.

getFrequencyRange()

Get frequencyRange, which is optional.

getNumAntenna()

Get numAntenna.

getNumBaseline()

Get numBaseline, which is optional.

getNumFreq()

Get numFreq, which is optional.

getNumPoly()

Get numPoly.

getNumReceptor()

Get numReceptor.

getNumSpectralWindow()

Get numSpectralWindow, which is optional.

getNumSpectralWindowChan()

Get numSpectralWindowChan, which is optional.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getReducedChiSquared()

Get reducedChiSquared.

getRefAntennaName()

Get refAntennaName.

getRms()

Get rms, which is optional.

getSideband()

Get sideband.

getSpectrum()

Get spectrum, which is optional.

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

getTypeCurve()

Get typeCurve.

initFromBinMethods()

isAdded()

isChanFreqStartExists()

The attribute chanFreqStart is optional.

isChanFreqStepExists()

The attribute chanFreqStep is optional.

isFrequencyRangeExists()

The attribute frequencyRange is optional.

isNumBaselineExists()

The attribute numBaseline is optional.

isNumFreqExists()

The attribute numFreq is optional.

isNumSpectralWindowChanExists()

The attribute numSpectralWindowChan is optional.

isNumSpectralWindowExists()

The attribute numSpectralWindow is optional.

isRmsExists()

The attribute rms is optional.

isSpectrumExists()

The attribute spectrum 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.

numFreqFromBin(row, eis)

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

numSpectralWindowChanFromBin(row, eis)

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

numSpectralWindowFromBin(row, eis)

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

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.

setChanFreqStart(chanFreqStart)

Set chanFreqStart with the specified Frequency [] value.

setChanFreqStep(chanFreqStep)

Set chanFreqStep with the specified Frequency [] value.

setCurve(curve)

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

setEndValidTime(endValidTime)

Set endValidTime with the specified ArrayTime value.

setFreqLimits(freqLimits)

Set freqLimits with the specified Frequency [] 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.

setNumFreq(numFreq)

Set numFreq with the specified int value.

setNumPoly(numPoly)

Set numPoly with the specified int value.

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setNumSpectralWindow(numSpectralWindow)

Set numSpectralWindow with the specified int value.

setNumSpectralWindowChan(numSpectralWindowChan)

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

setSideband(sideband)

Set sideband with the specified NetSideband value.

setSpectrum(spectrum)

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

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

setTypeCurve(typeCurve)

Set typeCurve with the specified CalCurveType value.

sidebandFromBin(row, eis)

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

spectrumFromBin(row, eis)

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

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

static chanFreqStartFromBin(row, eis)[source]

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

static chanFreqStepFromBin(row, eis)[source]

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

clearChanFreqStart()[source]

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

clearChanFreqStep()[source]

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

clearFrequencyRange()[source]

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

clearNumBaseline()[source]

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

clearNumFreq()[source]

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

clearNumSpectralWindow()[source]

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

clearNumSpectralWindowChan()[source]

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

clearRms()[source]

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

clearSpectrum()[source]

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

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

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

compareRequiredValue(startValidTime, endValidTime, numAntenna, numPoly, numReceptor, antennaNames, refAntennaName, freqLimits, 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 freqLimitsFromBin(row, eis)[source]

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

static frequencyRangeFromBin(row, eis)[source]

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

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

getChanFreqStart()[source]

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

getChanFreqStep()[source]

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

getCurve()[source]

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

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getFreqLimits()[source]

Get freqLimits. return freqLimits as Frequency []

getFrequencyRange()[source]

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

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.

getNumFreq()[source]

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

getNumPoly()[source]

Get numPoly. return numPoly as int

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getNumSpectralWindow()[source]

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

getNumSpectralWindowChan()[source]

Get numSpectralWindowChan, which is optional. return numSpectralWindowChan as int [] raises ValueError If numSpectralWindowChan 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

getRms()[source]

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

getSideband()[source]

Get sideband. return sideband as NetSideband

getSpectrum()[source]

Get spectrum, which is optional. return spectrum as float [] [] [] raises ValueError If spectrum 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]
isChanFreqStartExists()[source]

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

isChanFreqStepExists()[source]

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

isFrequencyRangeExists()[source]

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

isNumBaselineExists()[source]

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

isNumFreqExists()[source]

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

isNumSpectralWindowChanExists()[source]

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

isNumSpectralWindowExists()[source]

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

isSpectrumExists()[source]

The attribute spectrum is optional. Return True if this attribute exists. return True if and only if the spectrum 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 numFreqFromBin(row, eis)[source]

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

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

static numSpectralWindowFromBin(row, eis)[source]

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

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.

setChanFreqStart(chanFreqStart)[source]

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

setChanFreqStep(chanFreqStep)[source]

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

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.

setFreqLimits(freqLimits)[source]

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

setNumFreq(numFreq)[source]

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

setNumSpectralWindow(numSpectralWindow)[source]

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

setNumSpectralWindowChan(numSpectralWindowChan)[source]

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

setSideband(sideband)[source]

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

setSpectrum(spectrum)[source]

Set spectrum with the specified float [] [] [] value. spectrum The float [] [] [] value to which spectrum 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 sidebandFromBin(row, eis)[source]

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

static spectrumFromBin(row, eis)[source]

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

static typeCurveFromBin(row, eis)[source]

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