CurveStatsDialog

Inheritance diagram of CurveStatsDialog
class CurveStatsDialog(parent=None)[source]

Bases: PyQt4.QtGui.QDialog

A dialog for configuring and displaying statistics from curves of a plot

closeEvent(event)[source]

See Qwidget.closeEvent()

closed
getSelectedRows()[source]

returns a list of row numbers corresponding to the selected rows of the table

loadUi(filename=None, path=None)
maxSelected(pos)[source]

slot called when the user has selected a min value from the plot

minSelected(pos)[source]

slot called when the user has selected a min value from the plot

onCalculate()[source]

slot called when the calculate button is pressed. Performs the calculation of stats in the current limits for the currently selected curves (or for all if none selected) and fills the table.

onMaxChanged(x)[source]

slot called when the max value is changed

onMinChanged(x)[source]

slot called when the min value is changed

onSelectMax()[source]

slot called when the user clicks on the selectMax button

onSelectMin()[source]

slot called when the user clicks on the selectMin button

onStatToggled(checked)[source]

slot called when any of the stat checkboxes is toggled

refreshCurves()[source]

resets the table re-reading the curves from the plot

restorePlot(keepMarkers=False)[source]

leaves the parent plot in its original state

showEvent(event)[source]

See Qwidget.showEvent()

statColumns = ('points', 'min', 'max', 'mean', 'std', 'rms')