pyporegui.widgets.event_finding_tab module

class pyporegui.widgets.event_finding_tab.EventFindingTab(parent=None)[source]

Bases: pyporegui.widgets.base_tabs.BaseQSplitterDataFile

A QtGui.QSplitter that contains event finding options on the left and a plot on the right.

__init__(parent=None)[source]
Parameters:parent (PySide.QtGui.QMainWindow) – Parent main window (optional).
get_current_analysis_parameters()[source]

Reads the current analysis parameters from the gui and returns the results in a dictionary. Returns dictionary entry ‘error’ with text of the error if one exists.

Returns:DictType – the event analysis parameters. These include:
  • ‘error’ - Text if there was an error

OR

  • ‘min_event_length’
  • ‘max_event_length’
  • ‘baseline_strategy’
  • ‘baseline_filter_parameter’
  • ‘baseline_current’

etc...

open_data_files(file_names=None)[source]
plot_data(plot_options)[source]

Plots waveform in datadict. :param DictType plot_options: Dictionary of plot options. Must contain:

  • Data at plot_options[‘data’][0]
  • sample_rate at plot_options[‘sample_rate’]
  • plot_range at plot_options[‘plot_range’]. This can be [start,stop], or ‘all’ for 0:n.
staticMetaObject = <PySide.QtCore.QMetaObject object at 0x59cc290>