CalDeviceRow¶
-
class
CalDeviceRow(table, row=None)[source]¶ Bases:
objectThe CalDeviceRow class is a row of a CalDeviceTable.
Generated from model’s revision -1, branch
Methods Summary
antennaIdFromBin(row, eis)Set the antennaId in row from the EndianInput (eis) instance.
calEffFromBin(row, eis)Set the optional calEff in row from the EndianInput (eis) instance.
calLoadNamesFromBin(row, eis)Set the calLoadNames in row from the EndianInput (eis) instance.
clearCalEff()Mark calEff, which is an optional field, as non-existent.
clearCoupledNoiseCal()Mark coupledNoiseCal, which is an optional field, as non-existent.
clearNoiseCal()Mark noiseCal, which is an optional field, as non-existent.
clearNumReceptor()Mark numReceptor, which is an optional field, as non-existent.
clearTemperatureLoad()Mark temperatureLoad, which is an optional field, as non-existent.
compareNoAutoInc(antennaId, …)Compare each attribute except the autoincrementable one of this CalDeviceRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(numCalload, calLoadNames)coupledNoiseCalFromBin(row, eis)Set the optional coupledNoiseCal 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.
feedIdFromBin(row, eis)Set the feedId 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.
getAntennaId()Get antennaId.
getAntennaUsingAntennaId()Returns the row in the Antenna table having Antenna.antennaId == antennaId
getCalEff()Get calEff, which is optional.
getCalLoadNames()Get calLoadNames.
getCoupledNoiseCal()Get coupledNoiseCal, which is optional.
getFeedId()Get feedId.
getFeeds()Get the collection of rows in the Feed table having feedId == this.feedId
getNoiseCal()Get noiseCal, which is optional.
getNumCalload()Get numCalload.
getNumReceptor()Get numReceptor, which is optional.
getSpectralWindowId()Get spectralWindowId.
getSpectralWindowUsingSpectralWindowId()Returns the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
getTable()Return the table to which this row belongs.
getTemperatureLoad()Get temperatureLoad, which is optional.
getTimeInterval()Get timeInterval.
initFromBinMethods()isAdded()isCalEffExists()The attribute calEff is optional.
isCoupledNoiseCalExists()The attribute coupledNoiseCal is optional.
isNoiseCalExists()The attribute noiseCal is optional.
isNumReceptorExists()The attribute numReceptor is optional.
isTemperatureLoadExists()The attribute temperatureLoad is optional.
noiseCalFromBin(row, eis)Set the optional noiseCal in row from the EndianInput (eis) instance.
numCalloadFromBin(row, eis)Set the numCalload in row from the EndianInput (eis) instance.
numReceptorFromBin(row, eis)Set the optional numReceptor in row from the EndianInput (eis) instance.
setAntennaId(antennaId)Set antennaId with the specified Tag value.
setCalEff(calEff)Set calEff with the specified float [] [] value.
setCalLoadNames(calLoadNames)Set calLoadNames with the specified CalibrationDevice [] value.
setCoupledNoiseCal(coupledNoiseCal)Set coupledNoiseCal with the specified float [] [] value.
setFeedId(feedId)Set feedId with the specified int value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNoiseCal(noiseCal)Set noiseCal with the specified float [] value.
setNumCalload(numCalload)Set numCalload with the specified int value.
setNumReceptor(numReceptor)Set numReceptor with the specified int value.
setSpectralWindowId(spectralWindowId)Set spectralWindowId with the specified Tag value.
setTemperatureLoad(temperatureLoad)Set temperatureLoad with the specified Temperature [] value.
setTimeInterval(timeInterval)Set timeInterval with the specified ArrayTimeInterval value.
spectralWindowIdFromBin(row, eis)Set the spectralWindowId in row from the EndianInput (eis) instance.
temperatureLoadFromBin(row, eis)Set the optional temperatureLoad in row from the EndianInput (eis) instance.
timeIntervalFromBin(row, eis)Set the timeInterval 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
antennaIdFromBin(row, eis)[source]¶ Set the antennaId in row from the EndianInput (eis) instance.
-
static
calEffFromBin(row, eis)[source]¶ Set the optional calEff in row from the EndianInput (eis) instance.
-
static
calLoadNamesFromBin(row, eis)[source]¶ Set the calLoadNames in row from the EndianInput (eis) instance.
-
compareNoAutoInc(antennaId, spectralWindowId, timeInterval, feedId, numCalload, calLoadNames)[source]¶ Compare each attribute except the autoincrementable one of this CalDeviceRow with the corresponding parameters and return True if there is a match and False otherwise.
-
static
coupledNoiseCalFromBin(row, eis)[source]¶ Set the optional coupledNoiseCal 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.
-
getAntennaUsingAntennaId()[source]¶ Returns the row in the Antenna table having Antenna.antennaId == antennaId
-
getCalEff()[source]¶ Get calEff, which is optional. return calEff as float [] [] raises ValueError If calEff does not exist.
-
getCoupledNoiseCal()[source]¶ Get coupledNoiseCal, which is optional. return coupledNoiseCal as float [] [] raises ValueError If coupledNoiseCal does not exist.
-
getNoiseCal()[source]¶ Get noiseCal, which is optional. return noiseCal as float [] raises ValueError If noiseCal does not exist.
-
getNumReceptor()[source]¶ Get numReceptor, which is optional. return numReceptor as int raises ValueError If numReceptor does not exist.
-
getSpectralWindowUsingSpectralWindowId()[source]¶ Returns the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
-
getTemperatureLoad()[source]¶ Get temperatureLoad, which is optional. return temperatureLoad as Temperature [] raises ValueError If temperatureLoad does not exist.
-
isCalEffExists()[source]¶ The attribute calEff is optional. Return True if this attribute exists. return True if and only if the calEff attribute exists.
-
isCoupledNoiseCalExists()[source]¶ The attribute coupledNoiseCal is optional. Return True if this attribute exists. return True if and only if the coupledNoiseCal attribute exists.
-
isNoiseCalExists()[source]¶ The attribute noiseCal is optional. Return True if this attribute exists. return True if and only if the noiseCal attribute exists.
-
isNumReceptorExists()[source]¶ The attribute numReceptor is optional. Return True if this attribute exists. return True if and only if the numReceptor attribute exists.
-
isTemperatureLoadExists()[source]¶ The attribute temperatureLoad is optional. Return True if this attribute exists. return True if and only if the temperatureLoad attribute exists.
-
static
noiseCalFromBin(row, eis)[source]¶ Set the optional noiseCal in row from the EndianInput (eis) instance.
-
static
numCalloadFromBin(row, eis)[source]¶ Set the numCalload in row from the EndianInput (eis) instance.
-
static
numReceptorFromBin(row, eis)[source]¶ Set the optional numReceptor in row from the EndianInput (eis) instance.
-
setAntennaId(antennaId)[source]¶ Set antennaId with the specified Tag value. antennaId The Tag value to which antennaId is to be set. The value of antennaId 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.
-
setCalEff(calEff)[source]¶ Set calEff with the specified float [] [] value. calEff The float [] [] value to which calEff is to be set.
-
setCalLoadNames(calLoadNames)[source]¶ Set calLoadNames with the specified CalibrationDevice [] value. calLoadNames The CalibrationDevice [] value to which calLoadNames is to be set.
-
setCoupledNoiseCal(coupledNoiseCal)[source]¶ Set coupledNoiseCal with the specified float [] [] value. coupledNoiseCal The float [] [] value to which coupledNoiseCal is to be set.
-
setFeedId(feedId)[source]¶ Set feedId with the specified int value. feedId The int value to which feedId 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.
-
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.
-
setNoiseCal(noiseCal)[source]¶ Set noiseCal with the specified float [] value. noiseCal The float [] value to which noiseCal is to be set.
-
setNumCalload(numCalload)[source]¶ Set numCalload with the specified int value. numCalload The int value to which numCalload 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.
-
setSpectralWindowId(spectralWindowId)[source]¶ Set spectralWindowId with the specified Tag value. spectralWindowId The Tag value to which spectralWindowId is to be set. The value of spectralWindowId 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.
-
setTemperatureLoad(temperatureLoad)[source]¶ Set temperatureLoad with the specified Temperature [] value. temperatureLoad The Temperature [] value to which temperatureLoad is to be set. The value of temperatureLoad can be anything allowed by the Temperature [] constructor.
-
setTimeInterval(timeInterval)[source]¶ Set timeInterval with the specified ArrayTimeInterval value. timeInterval The ArrayTimeInterval value to which timeInterval is to be set. The value of timeInterval can be anything allowed by the ArrayTimeInterval constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
static
spectralWindowIdFromBin(row, eis)[source]¶ Set the spectralWindowId in row from the EndianInput (eis) instance.
-
static
temperatureLoadFromBin(row, eis)[source]¶ Set the optional temperatureLoad in row from the EndianInput (eis) instance.
-
static