TaurusArrayEditor

Inheritance diagram of TaurusArrayEditor
class TaurusArrayEditor(parent=None, designMode=False)[source]

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

arrayEditor()[source]
classmethod getQtDesignerPluginInfo()[source]

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

Return type:dict
Returns:a map with pertinent designer information
onFromAttr(quiet=False)[source]

reads the Master curve from the attributes set by model.

onFromFile(filename=None, **kwargs)[source]

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)[source]

writes the Corrected curve to the attributes set by the model

onToFile()[source]

writes the Corrected curve to an ascii file

setModel(model)[source]

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