CalAppPhaseRow¶
-
class
CalAppPhaseRow(table, row=None)[source]¶ Bases:
objectThe CalAppPhaseRow class is a row of a CalAppPhaseTable.
Generated from model’s revision -1, branch
Methods Summary
adjustTimeFromBin(row, eis)Set the adjustTime in row from the EndianInput (eis) instance.
adjustTokenFromBin(row, eis)Set the adjustToken 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.
candRefAntennaIndexFromBin(row, eis)Set the candRefAntennaIndex in row from the EndianInput (eis) instance.
clearNumSupports()Mark numSupports, which is an optional field, as non-existent.
clearPhaseSupports()Mark phaseSupports, which is an optional field, as non-existent.
clearTypeSupports()Mark typeSupports, which is an optional field, as non-existent.
compareArrayFromBin(row, eis)Set the compareArray in row from the EndianInput (eis) instance.
compareNoAutoInc(basebandName, scanNumber, …)Compare each attribute except the autoincrementable one of this CalAppPhaseRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startValidTime, …)efficienciesFromBin(row, eis)Set the efficiencies in row from the EndianInput (eis) instance.
efficiencyIndicesFromBin(row, eis)Set the efficiencyIndices 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.
getAdjustTime()Get adjustTime.
getAdjustToken()Get adjustToken.
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
getCandRefAntennaIndex()Get candRefAntennaIndex.
getCompareArray()Get compareArray.
getEfficiencies()Get efficiencies.
getEfficiencyIndices()Get efficiencyIndices.
getEndValidTime()Get endValidTime.
getNumChannels()Get numChannels.
getNumCompare()Get numCompare.
getNumEfficiencies()Get numEfficiencies.
getNumPhaseValues()Get numPhaseValues.
getNumPhasedAntennas()Get numPhasedAntennas.
getNumReceptors()Get numReceptors.
getNumSupports()Get numSupports, which is optional.
getPhasePacking()Get phasePacking.
getPhaseSupports()Get phaseSupports, which is optional.
getPhaseValues()Get phaseValues.
getPhasedAntennas()Get phasedAntennas.
getPhasedSumAntenna()Get phasedSumAntenna.
getPhasingMode()Get phasingMode.
getQuality()Get quality.
getRefAntennaIndex()Get refAntennaIndex.
getScanNumber()Get scanNumber.
getStartValidTime()Get startValidTime.
getTable()Return the table to which this row belongs.
getTypeSupports()Get typeSupports, which is optional.
initFromBinMethods()isAdded()isNumSupportsExists()The attribute numSupports is optional.
isPhaseSupportsExists()The attribute phaseSupports is optional.
isTypeSupportsExists()The attribute typeSupports is optional.
numChannelsFromBin(row, eis)Set the numChannels in row from the EndianInput (eis) instance.
numCompareFromBin(row, eis)Set the numCompare in row from the EndianInput (eis) instance.
numEfficienciesFromBin(row, eis)Set the numEfficiencies in row from the EndianInput (eis) instance.
numPhaseValuesFromBin(row, eis)Set the numPhaseValues in row from the EndianInput (eis) instance.
numPhasedAntennasFromBin(row, eis)Set the numPhasedAntennas in row from the EndianInput (eis) instance.
numReceptorsFromBin(row, eis)Set the numReceptors in row from the EndianInput (eis) instance.
numSupportsFromBin(row, eis)Set the optional numSupports in row from the EndianInput (eis) instance.
phasePackingFromBin(row, eis)Set the phasePacking in row from the EndianInput (eis) instance.
phaseSupportsFromBin(row, eis)Set the optional phaseSupports in row from the EndianInput (eis) instance.
phaseValuesFromBin(row, eis)Set the phaseValues in row from the EndianInput (eis) instance.
phasedAntennasFromBin(row, eis)Set the phasedAntennas in row from the EndianInput (eis) instance.
phasedSumAntennaFromBin(row, eis)Set the phasedSumAntenna in row from the EndianInput (eis) instance.
phasingModeFromBin(row, eis)Set the phasingMode in row from the EndianInput (eis) instance.
qualityFromBin(row, eis)Set the quality in row from the EndianInput (eis) instance.
refAntennaIndexFromBin(row, eis)Set the refAntennaIndex in row from the EndianInput (eis) instance.
scanNumberFromBin(row, eis)Set the scanNumber in row from the EndianInput (eis) instance.
setAdjustTime(adjustTime)Set adjustTime with the specified ArrayTime value.
setAdjustToken(adjustToken)Set adjustToken with the specified str 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.
setCandRefAntennaIndex(candRefAntennaIndex)Set candRefAntennaIndex with the specified int value.
setCompareArray(compareArray)Set compareArray with the specified str [] value.
setEfficiencies(efficiencies)Set efficiencies with the specified float [] [] value.
setEfficiencyIndices(efficiencyIndices)Set efficiencyIndices with the specified int [] 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.
setNumChannels(numChannels)Set numChannels with the specified int value.
setNumCompare(numCompare)Set numCompare with the specified int value.
setNumEfficiencies(numEfficiencies)Set numEfficiencies with the specified int value.
setNumPhaseValues(numPhaseValues)Set numPhaseValues with the specified int value.
setNumPhasedAntennas(numPhasedAntennas)Set numPhasedAntennas with the specified int value.
setNumReceptors(numReceptors)Set numReceptors with the specified int value.
setNumSupports(numSupports)Set numSupports with the specified int value.
setPhasePacking(phasePacking)Set phasePacking with the specified str value.
setPhaseSupports(phaseSupports)Set phaseSupports with the specified float [] value.
setPhaseValues(phaseValues)Set phaseValues with the specified float [] value.
setPhasedAntennas(phasedAntennas)Set phasedAntennas with the specified str [] value.
setPhasedSumAntenna(phasedSumAntenna)Set phasedSumAntenna with the specified str value.
setPhasingMode(phasingMode)Set phasingMode with the specified str value.
setQuality(quality)Set quality with the specified float [] value.
setRefAntennaIndex(refAntennaIndex)Set refAntennaIndex with the specified int value.
setScanNumber(scanNumber)Set scanNumber with the specified int value.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime value.
setTypeSupports(typeSupports)Set typeSupports with the specified str 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.
typeSupportsFromBin(row, eis)Set the optional typeSupports in row from the EndianInput (eis) instance.
Methods Documentation
-
static
adjustTimeFromBin(row, eis)[source]¶ Set the adjustTime in row from the EndianInput (eis) instance.
-
static
adjustTokenFromBin(row, eis)[source]¶ Set the adjustToken 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
candRefAntennaIndexFromBin(row, eis)[source]¶ Set the candRefAntennaIndex in row from the EndianInput (eis) instance.
-
static
compareArrayFromBin(row, eis)[source]¶ Set the compareArray in row from the EndianInput (eis) instance.
-
compareNoAutoInc(basebandName, scanNumber, calDataId, calReductionId, startValidTime, endValidTime, adjustTime, adjustToken, phasingMode, numPhasedAntennas, phasedAntennas, refAntennaIndex, candRefAntennaIndex, phasePacking, numReceptors, numChannels, numPhaseValues, phaseValues, numCompare, numEfficiencies, compareArray, efficiencyIndices, efficiencies, quality, phasedSumAntenna)[source]¶ Compare each attribute except the autoincrementable one of this CalAppPhaseRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, adjustTime, adjustToken, phasingMode, numPhasedAntennas, phasedAntennas, refAntennaIndex, candRefAntennaIndex, phasePacking, numReceptors, numChannels, numPhaseValues, phaseValues, numCompare, numEfficiencies, compareArray, efficiencyIndices, efficiencies, quality, phasedSumAntenna)[source]¶
-
static
efficienciesFromBin(row, eis)[source]¶ Set the efficiencies in row from the EndianInput (eis) instance.
-
static
efficiencyIndicesFromBin(row, eis)[source]¶ Set the efficiencyIndices 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.
-
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
-
getNumSupports()[source]¶ Get numSupports, which is optional. return numSupports as int raises ValueError If numSupports does not exist.
-
getPhaseSupports()[source]¶ Get phaseSupports, which is optional. return phaseSupports as float [] raises ValueError If phaseSupports does not exist.
-
getTypeSupports()[source]¶ Get typeSupports, which is optional. return typeSupports as str raises ValueError If typeSupports does not exist.
-
isNumSupportsExists()[source]¶ The attribute numSupports is optional. Return True if this attribute exists. return True if and only if the numSupports attribute exists.
-
isPhaseSupportsExists()[source]¶ The attribute phaseSupports is optional. Return True if this attribute exists. return True if and only if the phaseSupports attribute exists.
-
isTypeSupportsExists()[source]¶ The attribute typeSupports is optional. Return True if this attribute exists. return True if and only if the typeSupports attribute exists.
-
static
numChannelsFromBin(row, eis)[source]¶ Set the numChannels in row from the EndianInput (eis) instance.
-
static
numCompareFromBin(row, eis)[source]¶ Set the numCompare in row from the EndianInput (eis) instance.
-
static
numEfficienciesFromBin(row, eis)[source]¶ Set the numEfficiencies in row from the EndianInput (eis) instance.
-
static
numPhaseValuesFromBin(row, eis)[source]¶ Set the numPhaseValues in row from the EndianInput (eis) instance.
-
static
numPhasedAntennasFromBin(row, eis)[source]¶ Set the numPhasedAntennas in row from the EndianInput (eis) instance.
-
static
numReceptorsFromBin(row, eis)[source]¶ Set the numReceptors in row from the EndianInput (eis) instance.
-
static
numSupportsFromBin(row, eis)[source]¶ Set the optional numSupports in row from the EndianInput (eis) instance.
-
static
phasePackingFromBin(row, eis)[source]¶ Set the phasePacking in row from the EndianInput (eis) instance.
-
static
phaseSupportsFromBin(row, eis)[source]¶ Set the optional phaseSupports in row from the EndianInput (eis) instance.
-
static
phaseValuesFromBin(row, eis)[source]¶ Set the phaseValues in row from the EndianInput (eis) instance.
-
static
phasedAntennasFromBin(row, eis)[source]¶ Set the phasedAntennas in row from the EndianInput (eis) instance.
-
static
phasedSumAntennaFromBin(row, eis)[source]¶ Set the phasedSumAntenna in row from the EndianInput (eis) instance.
-
static
phasingModeFromBin(row, eis)[source]¶ Set the phasingMode in row from the EndianInput (eis) instance.
-
static
qualityFromBin(row, eis)[source]¶ Set the quality in row from the EndianInput (eis) instance.
-
static
refAntennaIndexFromBin(row, eis)[source]¶ Set the refAntennaIndex in row from the EndianInput (eis) instance.
-
static
scanNumberFromBin(row, eis)[source]¶ Set the scanNumber in row from the EndianInput (eis) instance.
-
setAdjustTime(adjustTime)[source]¶ Set adjustTime with the specified ArrayTime value. adjustTime The ArrayTime value to which adjustTime is to be set. The value of adjustTime can be anything allowed by the ArrayTime constructor.
-
setAdjustToken(adjustToken)[source]¶ Set adjustToken with the specified str value. adjustToken The str value to which adjustToken is to be set.
-
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.
-
setCandRefAntennaIndex(candRefAntennaIndex)[source]¶ Set candRefAntennaIndex with the specified int value. candRefAntennaIndex The int value to which candRefAntennaIndex is to be set.
-
setCompareArray(compareArray)[source]¶ Set compareArray with the specified str [] value. compareArray The str [] value to which compareArray is to be set.
-
setEfficiencies(efficiencies)[source]¶ Set efficiencies with the specified float [] [] value. efficiencies The float [] [] value to which efficiencies is to be set.
-
setEfficiencyIndices(efficiencyIndices)[source]¶ Set efficiencyIndices with the specified int [] value. efficiencyIndices The int [] value to which efficiencyIndices 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.
-
setNumChannels(numChannels)[source]¶ Set numChannels with the specified int value. numChannels The int value to which numChannels is to be set.
-
setNumCompare(numCompare)[source]¶ Set numCompare with the specified int value. numCompare The int value to which numCompare is to be set.
-
setNumEfficiencies(numEfficiencies)[source]¶ Set numEfficiencies with the specified int value. numEfficiencies The int value to which numEfficiencies is to be set.
-
setNumPhaseValues(numPhaseValues)[source]¶ Set numPhaseValues with the specified int value. numPhaseValues The int value to which numPhaseValues is to be set.
-
setNumPhasedAntennas(numPhasedAntennas)[source]¶ Set numPhasedAntennas with the specified int value. numPhasedAntennas The int value to which numPhasedAntennas is to be set.
-
setNumReceptors(numReceptors)[source]¶ Set numReceptors with the specified int value. numReceptors The int value to which numReceptors is to be set.
-
setNumSupports(numSupports)[source]¶ Set numSupports with the specified int value. numSupports The int value to which numSupports is to be set.
-
setPhasePacking(phasePacking)[source]¶ Set phasePacking with the specified str value. phasePacking The str value to which phasePacking is to be set.
-
setPhaseSupports(phaseSupports)[source]¶ Set phaseSupports with the specified float [] value. phaseSupports The float [] value to which phaseSupports is to be set.
-
setPhaseValues(phaseValues)[source]¶ Set phaseValues with the specified float [] value. phaseValues The float [] value to which phaseValues is to be set.
-
setPhasedAntennas(phasedAntennas)[source]¶ Set phasedAntennas with the specified str [] value. phasedAntennas The str [] value to which phasedAntennas is to be set.
-
setPhasedSumAntenna(phasedSumAntenna)[source]¶ Set phasedSumAntenna with the specified str value. phasedSumAntenna The str value to which phasedSumAntenna is to be set.
-
setPhasingMode(phasingMode)[source]¶ Set phasingMode with the specified str value. phasingMode The str value to which phasingMode is to be set.
-
setQuality(quality)[source]¶ Set quality with the specified float [] value. quality The float [] value to which quality is to be set.
-
setRefAntennaIndex(refAntennaIndex)[source]¶ Set refAntennaIndex with the specified int value. refAntennaIndex The int value to which refAntennaIndex is to be set.
-
setScanNumber(scanNumber)[source]¶ Set scanNumber with the specified int value. scanNumber The int value to which scanNumber 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.
-
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.
-
setTypeSupports(typeSupports)[source]¶ Set typeSupports with the specified str value. typeSupports The str value to which typeSupports is to be set.
-
static