CalPrimaryBeamRow¶
-
class
CalPrimaryBeamRow(table, row=None)[source]¶ Bases:
objectThe CalPrimaryBeamRow class is a row of a CalPrimaryBeamTable.
Generated from model’s revision -1, branch
Methods Summary
antennaMakeFromBin(row, eis)Set the antennaMake in row from the EndianInput (eis) instance.
antennaNameFromBin(row, eis)Set the antennaName in row from the EndianInput (eis) instance.
beamDescriptionUIDFromBin(row, eis)Set the beamDescriptionUID 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.
compareNoAutoInc(antennaName, receiverBand, …)Compare each attribute except the autoincrementable one of this CalPrimaryBeamRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startValidTime, …)descriptionTypeFromBin(row, eis)Set the descriptionType in row from the EndianInput (eis) instance.
directionFromBin(row, eis)Set the direction 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.
getAntennaMake()Get antennaMake.
getAntennaName()Get antennaName.
getBeamDescriptionUID()Get beamDescriptionUID.
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
getDescriptionType()Get descriptionType.
getDirection()Get direction.
getEndValidTime()Get endValidTime.
getFrequencyRange()Get frequencyRange.
getImageChannelNumber()Get imageChannelNumber.
getImageNominalFrequency()Get imageNominalFrequency.
getMainBeamEfficiency()Get mainBeamEfficiency.
getMaxValidDirection()Get maxValidDirection.
getMinValidDirection()Get minValidDirection.
getNumReceptor()Get numReceptor.
getNumSubband()Get numSubband.
getPolarizationTypes()Get polarizationTypes.
getReceiverBand()Get receiverBand.
getRelativeAmplitudeRms()Get relativeAmplitudeRms.
getStartValidTime()Get startValidTime.
getTable()Return the table to which this row belongs.
imageChannelNumberFromBin(row, eis)Set the imageChannelNumber in row from the EndianInput (eis) instance.
imageNominalFrequencyFromBin(row, eis)Set the imageNominalFrequency in row from the EndianInput (eis) instance.
initFromBinMethods()isAdded()mainBeamEfficiencyFromBin(row, eis)Set the mainBeamEfficiency in row from the EndianInput (eis) instance.
maxValidDirectionFromBin(row, eis)Set the maxValidDirection in row from the EndianInput (eis) instance.
minValidDirectionFromBin(row, eis)Set the minValidDirection in row from the EndianInput (eis) instance.
numReceptorFromBin(row, eis)Set the numReceptor in row from the EndianInput (eis) instance.
numSubbandFromBin(row, eis)Set the numSubband 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.
relativeAmplitudeRmsFromBin(row, eis)Set the relativeAmplitudeRms in row from the EndianInput (eis) instance.
setAntennaMake(antennaMake)Set antennaMake with the specified AntennaMake value.
setAntennaName(antennaName)Set antennaName with the specified str value.
setBeamDescriptionUID(beamDescriptionUID)Set beamDescriptionUID with the specified EntityRef value.
setCalDataId(calDataId)Set calDataId with the specified Tag value.
setCalReductionId(calReductionId)Set calReductionId with the specified Tag value.
setDescriptionType(descriptionType)Set descriptionType with the specified PrimaryBeamDescription value.
setDirection(direction)Set direction with the specified Angle [] 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.
setImageChannelNumber(imageChannelNumber)Set imageChannelNumber with the specified int [] value.
setImageNominalFrequency(imageNominalFrequency)Set imageNominalFrequency with the specified Frequency [] value.
setMainBeamEfficiency(mainBeamEfficiency)Set mainBeamEfficiency with the specified float [] value.
setMaxValidDirection(maxValidDirection)Set maxValidDirection with the specified Angle [] value.
setMinValidDirection(minValidDirection)Set minValidDirection with the specified Angle [] value.
setNumReceptor(numReceptor)Set numReceptor with the specified int value.
setNumSubband(numSubband)Set numSubband with the specified int value.
setPolarizationTypes(polarizationTypes)Set polarizationTypes with the specified PolarizationType [] value.
setReceiverBand(receiverBand)Set receiverBand with the specified ReceiverBand value.
setRelativeAmplitudeRms(relativeAmplitudeRms)Set relativeAmplitudeRms with the specified float value.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime 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.
Methods Documentation
-
static
antennaMakeFromBin(row, eis)[source]¶ Set the antennaMake in row from the EndianInput (eis) instance.
-
static
antennaNameFromBin(row, eis)[source]¶ Set the antennaName in row from the EndianInput (eis) instance.
-
static
beamDescriptionUIDFromBin(row, eis)[source]¶ Set the beamDescriptionUID 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(antennaName, receiverBand, calDataId, calReductionId, startValidTime, endValidTime, antennaMake, numSubband, frequencyRange, numReceptor, polarizationTypes, mainBeamEfficiency, beamDescriptionUID, relativeAmplitudeRms, direction, minValidDirection, maxValidDirection, descriptionType, imageChannelNumber, imageNominalFrequency)[source]¶ Compare each attribute except the autoincrementable one of this CalPrimaryBeamRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, antennaMake, numSubband, frequencyRange, numReceptor, polarizationTypes, mainBeamEfficiency, beamDescriptionUID, relativeAmplitudeRms, direction, minValidDirection, maxValidDirection, descriptionType, imageChannelNumber, imageNominalFrequency)[source]¶
-
static
descriptionTypeFromBin(row, eis)[source]¶ Set the descriptionType in row from the EndianInput (eis) instance.
-
static
directionFromBin(row, eis)[source]¶ Set the direction 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.
-
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
-
getImageNominalFrequency()[source]¶ Get imageNominalFrequency. return imageNominalFrequency as Frequency []
-
getPolarizationTypes()[source]¶ Get polarizationTypes. return polarizationTypes as PolarizationType []
-
static
imageChannelNumberFromBin(row, eis)[source]¶ Set the imageChannelNumber in row from the EndianInput (eis) instance.
-
static
imageNominalFrequencyFromBin(row, eis)[source]¶ Set the imageNominalFrequency in row from the EndianInput (eis) instance.
-
static
mainBeamEfficiencyFromBin(row, eis)[source]¶ Set the mainBeamEfficiency in row from the EndianInput (eis) instance.
-
static
maxValidDirectionFromBin(row, eis)[source]¶ Set the maxValidDirection in row from the EndianInput (eis) instance.
-
static
minValidDirectionFromBin(row, eis)[source]¶ Set the minValidDirection in row from the EndianInput (eis) instance.
-
static
numReceptorFromBin(row, eis)[source]¶ Set the numReceptor in row from the EndianInput (eis) instance.
-
static
numSubbandFromBin(row, eis)[source]¶ Set the numSubband 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
relativeAmplitudeRmsFromBin(row, eis)[source]¶ Set the relativeAmplitudeRms in row from the EndianInput (eis) instance.
-
setAntennaMake(antennaMake)[source]¶ Set antennaMake with the specified AntennaMake value. antennaMake The AntennaMake value to which antennaMake is to be set.
-
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.
-
setBeamDescriptionUID(beamDescriptionUID)[source]¶ Set beamDescriptionUID with the specified EntityRef value. beamDescriptionUID The EntityRef value to which beamDescriptionUID is to be set. The value of beamDescriptionUID can be anything allowed by the EntityRef constructor.
-
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.
-
setDescriptionType(descriptionType)[source]¶ Set descriptionType with the specified PrimaryBeamDescription value. descriptionType The PrimaryBeamDescription value to which descriptionType is to be set.
-
setDirection(direction)[source]¶ Set direction with the specified Angle [] value. direction The Angle [] value to which direction is to be set. The value of direction can be anything allowed by the Angle [] constructor.
-
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.
-
setImageChannelNumber(imageChannelNumber)[source]¶ Set imageChannelNumber with the specified int [] value. imageChannelNumber The int [] value to which imageChannelNumber is to be set.
-
setImageNominalFrequency(imageNominalFrequency)[source]¶ Set imageNominalFrequency with the specified Frequency [] value. imageNominalFrequency The Frequency [] value to which imageNominalFrequency is to be set. The value of imageNominalFrequency can be anything allowed by the Frequency [] constructor.
-
setMainBeamEfficiency(mainBeamEfficiency)[source]¶ Set mainBeamEfficiency with the specified float [] value. mainBeamEfficiency The float [] value to which mainBeamEfficiency is to be set.
-
setMaxValidDirection(maxValidDirection)[source]¶ Set maxValidDirection with the specified Angle [] value. maxValidDirection The Angle [] value to which maxValidDirection is to be set. The value of maxValidDirection can be anything allowed by the Angle [] constructor.
-
setMinValidDirection(minValidDirection)[source]¶ Set minValidDirection with the specified Angle [] value. minValidDirection The Angle [] value to which minValidDirection is to be set. The value of minValidDirection can be anything allowed by the Angle [] constructor.
-
setNumReceptor(numReceptor)[source]¶ Set numReceptor with the specified int value. numReceptor The int value to which numReceptor is to be set.
-
setNumSubband(numSubband)[source]¶ Set numSubband with the specified int value. numSubband The int value to which numSubband 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.
-
setRelativeAmplitudeRms(relativeAmplitudeRms)[source]¶ Set relativeAmplitudeRms with the specified float value. relativeAmplitudeRms The float value to which relativeAmplitudeRms 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