CalCurveRow¶
-
class
CalCurveRow(table, row=None)[source]¶ Bases:
objectThe 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.
-
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
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.
-
getAtmPhaseCorrection()[source]¶ Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection
-
getCalDataUsingCalDataId()[source]¶ Returns the row in the CalData table having CalData.calDataId == calDataId
-
getCalReductionUsingCalReductionId()[source]¶ Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId
-
getNumBaseline()[source]¶ Get numBaseline, which is optional. return numBaseline as int raises ValueError If numBaseline does not exist.
-
getPolarizationTypes()[source]¶ Get polarizationTypes. return polarizationTypes as PolarizationType []
-
getRms()[source]¶ Get rms, which is optional. return rms as float [] [] raises ValueError If rms does not exist.
-
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