CorrelatorModeRow

class CorrelatorModeRow(table, row=None)[source]

Bases: object

The CorrelatorModeRow class is a row of a CorrelatorModeTable.

Generated from model’s revision -1, branch

Methods Summary

accumModeFromBin(row, eis)

Set the accumMode in row from the EndianInput (eis) instance.

axesOrderArrayFromBin(row, eis)

Set the axesOrderArray in row from the EndianInput (eis) instance.

basebandConfigFromBin(row, eis)

Set the basebandConfig in row from the EndianInput (eis) instance.

basebandNamesFromBin(row, eis)

Set the basebandNames in row from the EndianInput (eis) instance.

binModeFromBin(row, eis)

Set the binMode in row from the EndianInput (eis) instance.

compareNoAutoInc(numBaseband, basebandNames, …)

Compare each attribute except the autoincrementable one of this CorrelatorModeRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(numBaseband, …)

correlatorModeIdFromBin(row, eis)

Set the correlatorModeId in row from the EndianInput (eis) instance.

correlatorNameFromBin(row, eis)

Set the correlatorName 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.

filterModeFromBin(row, eis)

Set the filterMode 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.

getAccumMode()

Get accumMode.

getAxesOrderArray()

Get axesOrderArray.

getBasebandConfig()

Get basebandConfig.

getBasebandNames()

Get basebandNames.

getBinMode()

Get binMode.

getCorrelatorModeId()

Get correlatorModeId.

getCorrelatorName()

Get correlatorName.

getFilterMode()

Get filterMode.

getNumAxes()

Get numAxes.

getNumBaseband()

Get numBaseband.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

isAdded()

numAxesFromBin(row, eis)

Set the numAxes in row from the EndianInput (eis) instance.

numBasebandFromBin(row, eis)

Set the numBaseband in row from the EndianInput (eis) instance.

setAccumMode(accumMode)

Set accumMode with the specified AccumMode value.

setAxesOrderArray(axesOrderArray)

Set axesOrderArray with the specified AxisName [] value.

setBasebandConfig(basebandConfig)

Set basebandConfig with the specified int [] value.

setBasebandNames(basebandNames)

Set basebandNames with the specified BasebandName [] value.

setBinMode(binMode)

Set binMode with the specified int value.

setCorrelatorModeId(correlatorModeId)

Set correlatorModeId with the specified Tag value.

setCorrelatorName(correlatorName)

Set correlatorName with the specified CorrelatorName value.

setFilterMode(filterMode)

Set filterMode with the specified FilterMode [] value.

setFromXML(xmlrow)

Fill the values of this row from an XML string that was produced by the toXML() method.

setNumAxes(numAxes)

Set numAxes with the specified int value.

setNumBaseband(numBaseband)

Set numBaseband with the specified int value.

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 accumModeFromBin(row, eis)[source]

Set the accumMode in row from the EndianInput (eis) instance.

static axesOrderArrayFromBin(row, eis)[source]

Set the axesOrderArray in row from the EndianInput (eis) instance.

static basebandConfigFromBin(row, eis)[source]

Set the basebandConfig in row from the EndianInput (eis) instance.

static basebandNamesFromBin(row, eis)[source]

Set the basebandNames in row from the EndianInput (eis) instance.

static binModeFromBin(row, eis)[source]

Set the binMode in row from the EndianInput (eis) instance.

compareNoAutoInc(numBaseband, basebandNames, basebandConfig, accumMode, binMode, numAxes, axesOrderArray, filterMode, correlatorName)[source]

Compare each attribute except the autoincrementable one of this CorrelatorModeRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(numBaseband, basebandNames, basebandConfig, accumMode, binMode, numAxes, axesOrderArray, filterMode, correlatorName)[source]
static correlatorModeIdFromBin(row, eis)[source]

Set the correlatorModeId in row from the EndianInput (eis) instance.

static correlatorNameFromBin(row, eis)[source]

Set the correlatorName 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 filterModeFromBin(row, eis)[source]

Set the filterMode 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.

getAccumMode()[source]

Get accumMode. return accumMode as AccumMode

getAxesOrderArray()[source]

Get axesOrderArray. return axesOrderArray as AxisName []

getBasebandConfig()[source]

Get basebandConfig. return basebandConfig as int []

getBasebandNames()[source]

Get basebandNames. return basebandNames as BasebandName []

getBinMode()[source]

Get binMode. return binMode as int

getCorrelatorModeId()[source]

Get correlatorModeId. return correlatorModeId as Tag

getCorrelatorName()[source]

Get correlatorName. return correlatorName as CorrelatorName

getFilterMode()[source]

Get filterMode. return filterMode as FilterMode []

getNumAxes()[source]

Get numAxes. return numAxes as int

getNumBaseband()[source]

Get numBaseband. return numBaseband as int

getTable()[source]

Return the table to which this row belongs.

static initFromBinMethods()[source]
isAdded()[source]
static numAxesFromBin(row, eis)[source]

Set the numAxes in row from the EndianInput (eis) instance.

static numBasebandFromBin(row, eis)[source]

Set the numBaseband in row from the EndianInput (eis) instance.

setAccumMode(accumMode)[source]

Set accumMode with the specified AccumMode value. accumMode The AccumMode value to which accumMode is to be set.

setAxesOrderArray(axesOrderArray)[source]

Set axesOrderArray with the specified AxisName [] value. axesOrderArray The AxisName [] value to which axesOrderArray is to be set.

setBasebandConfig(basebandConfig)[source]

Set basebandConfig with the specified int [] value. basebandConfig The int [] value to which basebandConfig is to be set.

setBasebandNames(basebandNames)[source]

Set basebandNames with the specified BasebandName [] value. basebandNames The BasebandName [] value to which basebandNames is to be set.

setBinMode(binMode)[source]

Set binMode with the specified int value. binMode The int value to which binMode is to be set.

setCorrelatorModeId(correlatorModeId)[source]

Set correlatorModeId with the specified Tag value. correlatorModeId The Tag value to which correlatorModeId is to be set. The value of correlatorModeId 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.

setCorrelatorName(correlatorName)[source]

Set correlatorName with the specified CorrelatorName value. correlatorName The CorrelatorName value to which correlatorName is to be set.

setFilterMode(filterMode)[source]

Set filterMode with the specified FilterMode [] value. filterMode The FilterMode [] value to which filterMode is to be set.

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.

setNumAxes(numAxes)[source]

Set numAxes with the specified int value. numAxes The int value to which numAxes is to be set.

setNumBaseband(numBaseband)[source]

Set numBaseband with the specified int value. numBaseband The int value to which numBaseband is to be set.

toBin(eos)[source]

Write this row out to the EndianOutput instance, eos.

toXML()[source]

Return this row in the form of an XML string.