Package qubx :: Module data_fit :: Class DataFitControls
[hide private]
[frames] | no frames]

Class DataFitControls

source code

        object --+        
                 |        
toolspace.LayerSet --+    
                     |    
 fit_space.FitControls --+
                         |
                        DataFitControls

qubx.toolspace.LayerSet to add least-squares curve fitting to the qubx.dataGTK.QubDataView_Hi.

Instance Methods [hide private]
 
__init__(self, label='CurveFit', global_name='')
Creates a new layerset to control a qubx.fit_robot.FitRobot, creating the robot too if None provided.
source code
 
set_relX(self, x) source code
 
set_resample(self, x) source code
 
set_resampleStd(self, x) source code
 
set_use_list(self, x) source code
 
__onToggleUseOnscreen(self, *args) source code
 
__onToggleUseList(self, *args) source code
 
__show_hide_segcontrols(self, use_segments) source code
 
set_use_together(self, x) source code
 
__onToggleUseTogether(self, *args) source code
 
__onToggleRelX(self, *args) source code
 
__onToggleResample(self, *args) source code
 
__onClickBack(self, x, y, e) source code
 
__onClickDelta(self, x, y, e) source code
 
__onUpdateProfile(self, settings, updates) source code
 
activate(self, space) source code
 
__end_delayed_curve(self) source code
 
__update_restore_fit(self) source code
 
__onClickRestoreFit(self, x, y, e) source code
 
__onClickBackSeg(self, x, y, e) source code
 
__onClickBackScreen(self, x, y, e) source code
 
__onClickFwdScreen(self, x, y, e) source code
 
__onClickFwdSeg(self, x, y, e) source code
 
__onClickGrab(self, x, y, e) source code
 
__onRobotException(self, robot, typ, val, trace) source code
 
__onRobotInterrupt(self, robot, cancel) source code
 
__onExpr(self, curve_name, expr, params, param_vals, lo, hi, can_fit) source code
 
__onParam(self, index, name, value, lo, hi, can_fit) source code
 
__onIteration(self, param_vals, iteration) source code
 
update_fit(self, param_vals=None) source code
 
__update_fit(self, param_vals, serial) source code
 
__onClickFit(self) source code
 
fit(self, wait=True, receiver=None) source code
 
__onStartFit(self) source code
 
__onEndFit(self) source code
 
__onInitFit(self, receiver) source code
 
__onListSelect(self, ix, field, sender=None) source code
 
__zoom_to_list(self, ix) source code
 
fit_next_segment(self) source code
 
__onStats(self, correlation, is_pseudo, std_err_est, ssr, r2, runs_prob) source code
 
__onChangeDataFile(self, *args) source code
 
__onChangeData(self, *args) source code
 
robot_read_data(self, serial) source code
 
robot_null_data(self, serial) source code

Inherited from fit_space.FitControls: add_preset, click_fit, dispose, nb_get_col, nb_get_headers, nb_get_param_text, nb_get_shape, nb_get_type, sync, synch, update_profile, write_test

Inherited from toolspace.LayerSet: add_layer, deactivate, remove_layer

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from fit_space.FitControls: OnClickFit, robot

Properties [hide private]
  relX
  resample
  resampleStd
  use_list
  use_together

Inherited from fit_space.FitControls: correlation, correlation_is_pseudo, curve, curve_expr, fitting, max_iter, param_can_fit, param_hi, param_lo, param_names, param_vals, r2, runs_prob, ssr, std_err_est, toler, v_names, vvv, weight_expr, xx, yy

Inherited from toolspace.LayerSet: space

Inherited from object: __class__

Method Details [hide private]

__init__(self, label='CurveFit', global_name='')
(Constructor)

source code 

Creates a new layerset to control a qubx.fit_robot.FitRobot, creating the robot too if None provided.

Parameters:
  • label - string to identify the robot, if one is created
  • cLayer - colorref for floating panels
  • cText - colorref for static text in floating panels
  • cNumber - colorref for variable/editable text in floating panels
  • cButton - colorref for clickable text in floating panels
  • global_name - how self might be called globally, for scripting
Overrides: object.__init__
(inherited documentation)

activate(self, space)

source code 
Overrides: toolspace.LayerSet.activate

fit(self, wait=True, receiver=None)

source code 
Overrides: fit_space.FitControls.fit

Property Details [hide private]

relX

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)

resample

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)

resampleStd

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)

use_list

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)

use_together

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)