taurus taurus

Previous topic

ScanTrendsSet

Next topic

TaurusCurve

This Page

TaurusArrayEditor

Inheritance diagram of TaurusArrayEditor

class TaurusArrayEditor(parent=None, designMode=False)

Bases: taurus.qt.qtgui.container.tauruswidget.TaurusWidget

arrayEditor()
classmethod getQtDesignerPluginInfo()

Returns pertinent information in order to be able to build a valid QtDesigner widget plugin

Return type::class:~`dict`
Returns:a map with pertinent designer information
onFromAttr(quiet=False)

reads the Master curve from the attributes set by model.

onFromFile(filename=None, **kwargs)

imports Master curve from a two-column ASCII file. The first colum will be interpreted to be the abcissas. If filename is not given, a dialog for choosing a file is presented kwargs can contain keyword arguments to pass to numpy.loadtxt() when reading each file accepted keywords and their default values are: {dtype=<type ‘float’>, comments=’#’, delimiter=None, converters=None, skiprows=0, usecols=None, unpack=False} see help from numpy.loadtxt for more info on the kwargs

onToAttr(quiet=False)

writes the Corrected curve to the attributes set by the model

onToFile()

writes the Corrected curve to an ascii file

setModel(model)

returns True if a curve could be set from the attribute. Flase otherwise