CalFluxRow¶
-
class
CalFluxRow(table, row=None)[source]¶ Bases:
objectThe CalFluxRow class is a row of a CalFluxTable.
Generated from model’s revision -1, branch
Methods Summary
PAErrorFromBin(row, eis)Set the optional PAError in row from the EndianInput (eis) instance.
PAFromBin(row, eis)Set the optional PA 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.
clearDirection()Mark direction, which is an optional field, as non-existent.
clearDirectionCode()Mark directionCode, which is an optional field, as non-existent.
clearDirectionEquinox()Mark directionEquinox, which is an optional field, as non-existent.
clearPA()Mark PA, which is an optional field, as non-existent.
clearPAError()Mark PAError, which is an optional field, as non-existent.
clearSize()Mark size, which is an optional field, as non-existent.
clearSizeError()Mark sizeError, which is an optional field, as non-existent.
clearSourceModel()Mark sourceModel, which is an optional field, as non-existent.
compareNoAutoInc(sourceName, calDataId, …)Compare each attribute except the autoincrementable one of this CalFluxRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startValidTime, …)directionCodeFromBin(row, eis)Set the optional directionCode in row from the EndianInput (eis) instance.
directionEquinoxFromBin(row, eis)Set the optional directionEquinox in row from the EndianInput (eis) instance.
directionFromBin(row, eis)Set the optional 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.
fluxErrorFromBin(row, eis)Set the fluxError in row from the EndianInput (eis) instance.
fluxFromBin(row, eis)Set the flux in row from the EndianInput (eis) instance.
fluxMethodFromBin(row, eis)Set the fluxMethod in row from the EndianInput (eis) instance.
frequencyRangesFromBin(row, eis)Set the frequencyRanges 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.
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
getDirection()Get direction, which is optional.
getDirectionCode()Get directionCode, which is optional.
getDirectionEquinox()Get directionEquinox, which is optional.
getEndValidTime()Get endValidTime.
getFlux()Get flux.
getFluxError()Get fluxError.
getFluxMethod()Get fluxMethod.
getFrequencyRanges()Get frequencyRanges.
getNumFrequencyRanges()Get numFrequencyRanges.
getNumStokes()Get numStokes.
getPA()Get PA, which is optional.
getPAError()Get PAError, which is optional.
getSize()Get size, which is optional.
getSizeError()Get sizeError, which is optional.
getSourceModel()Get sourceModel, which is optional.
getSourceName()Get sourceName.
getStartValidTime()Get startValidTime.
getStokes()Get stokes.
getTable()Return the table to which this row belongs.
initFromBinMethods()isAdded()isDirectionCodeExists()The attribute directionCode is optional.
isDirectionEquinoxExists()The attribute directionEquinox is optional.
isDirectionExists()The attribute direction is optional.
isPAErrorExists()The attribute PAError is optional.
isPAExists()The attribute PA is optional.
isSizeErrorExists()The attribute sizeError is optional.
isSizeExists()The attribute size is optional.
isSourceModelExists()The attribute sourceModel is optional.
numFrequencyRangesFromBin(row, eis)Set the numFrequencyRanges in row from the EndianInput (eis) instance.
numStokesFromBin(row, eis)Set the numStokes in row from the EndianInput (eis) instance.
setCalDataId(calDataId)Set calDataId with the specified Tag value.
setCalReductionId(calReductionId)Set calReductionId with the specified Tag value.
setDirection(direction)Set direction with the specified Angle [] value.
setDirectionCode(directionCode)Set directionCode with the specified DirectionReferenceCode value.
setDirectionEquinox(directionEquinox)Set directionEquinox with the specified Angle value.
setEndValidTime(endValidTime)Set endValidTime with the specified ArrayTime value.
setFlux(flux)Set flux with the specified float [] [] value.
setFluxError(fluxError)Set fluxError with the specified float [] [] value.
setFluxMethod(fluxMethod)Set fluxMethod with the specified FluxCalibrationMethod value.
setFrequencyRanges(frequencyRanges)Set frequencyRanges with the specified Frequency [] [] value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNumFrequencyRanges(numFrequencyRanges)Set numFrequencyRanges with the specified int value.
setNumStokes(numStokes)Set numStokes with the specified int value.
setPA(PA)Set PA with the specified Angle [] [] value.
setPAError(PAError)Set PAError with the specified Angle [] [] value.
setSize(size)Set size with the specified Angle [] [] [] value.
setSizeError(sizeError)Set sizeError with the specified Angle [] [] [] value.
setSourceModel(sourceModel)Set sourceModel with the specified SourceModel value.
setSourceName(sourceName)Set sourceName with the specified str value.
setStartValidTime(startValidTime)Set startValidTime with the specified ArrayTime value.
setStokes(stokes)Set stokes with the specified StokesParameter [] value.
sizeErrorFromBin(row, eis)Set the optional sizeError in row from the EndianInput (eis) instance.
sizeFromBin(row, eis)Set the optional size in row from the EndianInput (eis) instance.
sourceModelFromBin(row, eis)Set the optional sourceModel in row from the EndianInput (eis) instance.
sourceNameFromBin(row, eis)Set the sourceName in row from the EndianInput (eis) instance.
startValidTimeFromBin(row, eis)Set the startValidTime in row from the EndianInput (eis) instance.
stokesFromBin(row, eis)Set the stokes 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
PAErrorFromBin(row, eis)[source]¶ Set the optional PAError 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.
-
clearDirectionEquinox()[source]¶ Mark directionEquinox, which is an optional field, as non-existent.
-
compareNoAutoInc(sourceName, calDataId, calReductionId, startValidTime, endValidTime, numFrequencyRanges, numStokes, frequencyRanges, fluxMethod, flux, fluxError, stokes)[source]¶ Compare each attribute except the autoincrementable one of this CalFluxRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startValidTime, endValidTime, numFrequencyRanges, numStokes, frequencyRanges, fluxMethod, flux, fluxError, stokes)[source]¶
-
static
directionCodeFromBin(row, eis)[source]¶ Set the optional directionCode in row from the EndianInput (eis) instance.
-
static
directionEquinoxFromBin(row, eis)[source]¶ Set the optional directionEquinox in row from the EndianInput (eis) instance.
-
static
directionFromBin(row, eis)[source]¶ Set the optional 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
fluxErrorFromBin(row, eis)[source]¶ Set the fluxError in row from the EndianInput (eis) instance.
-
static
fluxMethodFromBin(row, eis)[source]¶ Set the fluxMethod in row from the EndianInput (eis) instance.
-
static
frequencyRangesFromBin(row, eis)[source]¶ Set the frequencyRanges 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
-
getDirection()[source]¶ Get direction, which is optional. return direction as Angle [] raises ValueError If direction does not exist.
-
getDirectionCode()[source]¶ Get directionCode, which is optional. return directionCode as DirectionReferenceCode raises ValueError If directionCode does not exist.
-
getDirectionEquinox()[source]¶ Get directionEquinox, which is optional. return directionEquinox as Angle raises ValueError If directionEquinox does not exist.
-
getPA()[source]¶ Get PA, which is optional. return PA as Angle [] [] raises ValueError If PA does not exist.
-
getPAError()[source]¶ Get PAError, which is optional. return PAError as Angle [] [] raises ValueError If PAError does not exist.
-
getSize()[source]¶ Get size, which is optional. return size as Angle [] [] [] raises ValueError If size does not exist.
-
getSizeError()[source]¶ Get sizeError, which is optional. return sizeError as Angle [] [] [] raises ValueError If sizeError does not exist.
-
getSourceModel()[source]¶ Get sourceModel, which is optional. return sourceModel as SourceModel raises ValueError If sourceModel does not exist.
-
isDirectionCodeExists()[source]¶ The attribute directionCode is optional. Return True if this attribute exists. return True if and only if the directionCode attribute exists.
-
isDirectionEquinoxExists()[source]¶ The attribute directionEquinox is optional. Return True if this attribute exists. return True if and only if the directionEquinox attribute exists.
-
isDirectionExists()[source]¶ The attribute direction is optional. Return True if this attribute exists. return True if and only if the direction attribute exists.
-
isPAErrorExists()[source]¶ The attribute PAError is optional. Return True if this attribute exists. return True if and only if the PAError attribute exists.
-
isPAExists()[source]¶ The attribute PA is optional. Return True if this attribute exists. return True if and only if the PA attribute exists.
-
isSizeErrorExists()[source]¶ The attribute sizeError is optional. Return True if this attribute exists. return True if and only if the sizeError attribute exists.
-
isSizeExists()[source]¶ The attribute size is optional. Return True if this attribute exists. return True if and only if the size attribute exists.
-
isSourceModelExists()[source]¶ The attribute sourceModel is optional. Return True if this attribute exists. return True if and only if the sourceModel attribute exists.
-
static
numFrequencyRangesFromBin(row, eis)[source]¶ Set the numFrequencyRanges in row from the EndianInput (eis) instance.
-
static
numStokesFromBin(row, eis)[source]¶ Set the numStokes in row from the EndianInput (eis) instance.
-
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.
-
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.
-
setDirectionCode(directionCode)[source]¶ Set directionCode with the specified DirectionReferenceCode value. directionCode The DirectionReferenceCode value to which directionCode is to be set.
-
setDirectionEquinox(directionEquinox)[source]¶ Set directionEquinox with the specified Angle value. directionEquinox The Angle value to which directionEquinox is to be set. The value of directionEquinox 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.
-
setFlux(flux)[source]¶ Set flux with the specified float [] [] value. flux The float [] [] value to which flux is to be set.
-
setFluxError(fluxError)[source]¶ Set fluxError with the specified float [] [] value. fluxError The float [] [] value to which fluxError is to be set.
-
setFluxMethod(fluxMethod)[source]¶ Set fluxMethod with the specified FluxCalibrationMethod value. fluxMethod The FluxCalibrationMethod value to which fluxMethod is to be set.
-
setFrequencyRanges(frequencyRanges)[source]¶ Set frequencyRanges with the specified Frequency [] [] value. frequencyRanges The Frequency [] [] value to which frequencyRanges is to be set. The value of frequencyRanges 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.
-
setNumFrequencyRanges(numFrequencyRanges)[source]¶ Set numFrequencyRanges with the specified int value. numFrequencyRanges The int value to which numFrequencyRanges is to be set.
-
setNumStokes(numStokes)[source]¶ Set numStokes with the specified int value. numStokes The int value to which numStokes is to be set.
-
setPA(PA)[source]¶ Set PA with the specified Angle [] [] value. PA The Angle [] [] value to which PA is to be set. The value of PA can be anything allowed by the Angle [] [] constructor.
-
setPAError(PAError)[source]¶ Set PAError with the specified Angle [] [] value. PAError The Angle [] [] value to which PAError is to be set. The value of PAError can be anything allowed by the Angle [] [] constructor.
-
setSize(size)[source]¶ Set size with the specified Angle [] [] [] value. size The Angle [] [] [] value to which size is to be set. The value of size can be anything allowed by the Angle [] [] [] constructor.
-
setSizeError(sizeError)[source]¶ Set sizeError with the specified Angle [] [] [] value. sizeError The Angle [] [] [] value to which sizeError is to be set. The value of sizeError can be anything allowed by the Angle [] [] [] constructor.
-
setSourceModel(sourceModel)[source]¶ Set sourceModel with the specified SourceModel value. sourceModel The SourceModel value to which sourceModel is to be set.
-
setSourceName(sourceName)[source]¶ Set sourceName with the specified str value. sourceName The str value to which sourceName 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.
-
setStokes(stokes)[source]¶ Set stokes with the specified StokesParameter [] value. stokes The StokesParameter [] value to which stokes is to be set.
-
static
sizeErrorFromBin(row, eis)[source]¶ Set the optional sizeError in row from the EndianInput (eis) instance.
-
static
sizeFromBin(row, eis)[source]¶ Set the optional size in row from the EndianInput (eis) instance.
-
static
sourceModelFromBin(row, eis)[source]¶ Set the optional sourceModel in row from the EndianInput (eis) instance.
-
static
sourceNameFromBin(row, eis)[source]¶ Set the sourceName in row from the EndianInput (eis) instance.
-
static