wonambi.widgets package
Package containing Qt widgets.
The program is organized in widgets. Roughly one widget is stored in one module.
A module should start by importing:
packages that are in the Python library
additional packages (in this order: numpy, scipy, PyQt5)
relative imports
Leave an empty line between each group of imports. Then make sure that the logging works:
from logging import getLogger lg = getLogger(__name__)
In code add important messages with:
lg.info(‘Important message’)
and messages useful for debugging:
lg.debug(‘Message for debugging’)
Submodules
- wonambi.widgets.analysis module
AnalysisDialog
AnalysisDialog.parent
AnalysisDialog.nseg
AnalysisDialog.band_help()
AnalysisDialog.button_clicked()
AnalysisDialog.check_all_local()
AnalysisDialog.check_all_local_prep()
AnalysisDialog.compute_evt_params()
AnalysisDialog.compute_freq()
AnalysisDialog.compute_freq_cross()
AnalysisDialog.compute_pac()
AnalysisDialog.create_dialog()
AnalysisDialog.export_pac()
AnalysisDialog.get_segments()
AnalysisDialog.make_title()
AnalysisDialog.plot_freq()
AnalysisDialog.report_fooof()
AnalysisDialog.save_as()
AnalysisDialog.toggle_buttons()
AnalysisDialog.toggle_concatenate()
AnalysisDialog.toggle_freq()
AnalysisDialog.toggle_pac()
AnalysisDialog.transform_data()
AnalysisDialog.uncheck_all_local()
AnalysisDialog.update_evt_types()
AnalysisDialog.update_nseg()
PlotCanvas
PlotDialog
- wonambi.widgets.channels module
Channels
Channels.parent
Channels.config
Channels.filename
Channels.groups
Channels.tabs
Channels.apply()
Channels.color_group()
Channels.create()
Channels.create_action()
Channels.del_group()
Channels.load_channels()
Channels.new_group()
Channels.read_group_info()
Channels.reset()
Channels.save_channels()
Channels.update()
ChannelsGroup
ChannelsGroup.chan_name
ChannelsGroup.idx_l0
ChannelsGroup.idx_l1
ChannelsGroup.idx_hp
ChannelsGroup.idx_lp
ChannelsGroup.idx_scale
ChannelsGroup.idx_reref
ChannelsGroup.idx_color
ChannelsGroup.add_channels_to_list()
ChannelsGroup.get_info()
ChannelsGroup.highlight_channels()
ChannelsGroup.rereference()
ConfigChannels
- wonambi.widgets.creation module
- wonambi.widgets.detect_dialogs module
- wonambi.widgets.info module
ExportDatasetDialog
Info
Info.parent
Info.filename
Info.dataset
Info.markers
Info.idx_filename
Info.idx_s_freq
Info.idx_n_chan
Info.idx_start_time
Info.idx_end_time
Info.idx_start
Info.idx_length
Info.idx_scaling
Info.idx_distance
Info.create()
Info.create_action()
Info.display_dataset()
Info.display_view()
Info.export()
Info.open_dataset()
Info.reset()
- wonambi.widgets.labels module
- wonambi.widgets.modal_widgets module
ChannelDialog
ChannelDialog.parent
ChannelDialog.groups
ChannelDialog.index
ChannelDialog.bbox
ChannelDialog.idx_group
ChannelDialog.idx_chan
ChannelDialog.idx_stage
ChannelDialog.idx_cycle
ChannelDialog.one_grp
ChannelDialog.create_widgets()
ChannelDialog.get_channels()
ChannelDialog.get_cycles()
ChannelDialog.update_channels()
ChannelDialog.update_cycles()
ChannelDialog.update_groups()
DateTimeDialog
SVGDialog
- wonambi.widgets.notes module
ConfigNotes
ExportEventsDialog
MergeDialog
NewUserDialog
Notes
Notes.parent
Notes.config
Notes.annot
Notes.idx_marker
Notes.idx_summary
Notes.idx_annotations
Notes.idx_rater
Notes.idx_stats
Notes.idx_eventtype_scroll
Notes.idx_eventtype_list
Notes.idx_annot_list
Notes.idx_eventtype
Notes.idx_stage
Notes.idx_quality
Notes.add_bookmark()
Notes.add_event()
Notes.change_event_type()
Notes.clear_annot()
Notes.clear_cycle_mrkrs()
Notes.create()
Notes.create_action()
Notes.delete_eventtype()
Notes.delete_rater()
Notes.delete_row()
Notes.detect_events()
Notes.display_eventtype()
Notes.display_notes()
Notes.display_stats()
Notes.enable_events()
Notes.export()
Notes.export_sleeps_stats()
Notes.find_row()
Notes.get_cycle_mrkr()
Notes.get_quality()
Notes.get_selected_events()
Notes.get_sleepstage()
Notes.go_to_marker()
Notes.import_events()
Notes.import_fasst()
Notes.import_staging()
Notes.load_annot()
Notes.markers_to_events()
Notes.new_annot()
Notes.new_eventtype()
Notes.new_rater()
Notes.remove_bookmark()
Notes.remove_cycle_mrkr()
Notes.remove_event()
Notes.rename_eventtype()
Notes.rename_rater()
Notes.reset()
Notes.reset_current_row()
Notes.select_rater()
Notes.set_quality_index()
Notes.set_stage_index()
Notes.toggle_check_all_eventtype()
Notes.toggle_eventtype()
Notes.update_annotations()
Notes.update_dataset_marker()
Notes.update_notes()
Notes.update_settings()
- wonambi.widgets.overview module
ConfigOverview
Overview
Overview.parent
Overview.config
Overview.minimum
Overview.maximum
Overview.start_time
Overview.scene
Overview.idx_current
Overview.idx_markers
Overview.idx_annot
Overview.add_timestamps()
Overview.display()
Overview.display_annotations()
Overview.display_current()
Overview.display_markers()
Overview.mark_cycles()
Overview.mark_poi()
Overview.mark_quality()
Overview.mark_stages()
Overview.mousePressEvent()
Overview.reset()
Overview.update()
Overview.update_position()
Overview.update_settings()
- wonambi.widgets.settings module
- wonambi.widgets.spectrum module
ConfigSpectrum
Spectrum
Spectrum.parent
Spectrum.x_limit
Spectrum.y_limit
Spectrum.log
Spectrum.idx_chan
Spectrum.idx_x_min
Spectrum.idx_x_max
Spectrum.idx_y_min
Spectrum.idx_y_max
Spectrum.idx_log
Spectrum.idx_fig
Spectrum.scene
Spectrum.add_grid()
Spectrum.create()
Spectrum.display()
Spectrum.display_window()
Spectrum.reset()
Spectrum.resizeEvent()
Spectrum.show_channame()
Spectrum.update()
- wonambi.widgets.traces module
ConfigTraces
Traces
Traces.parent
Traces.config
Traces.y_scrollbar_value
Traces.data
Traces.chan
Traces.chan_pos
Traces.chan_scale
Traces.time_pos
Traces.sel_chan
Traces.sel_xy
Traces.scene
Traces.idx_label
Traces.idx_time
Traces.idx_sel
Traces.idx_info
Traces.idx_markers
Traces.idx_annot
Traces.X_length()
Traces.X_less()
Traces.X_more()
Traces.Y_ampl()
Traces.Y_dist()
Traces.Y_less()
Traces.Y_more()
Traces.Y_tighter()
Traces.Y_wider()
Traces.add_chan_labels()
Traces.add_time()
Traces.add_time_labels()
Traces.add_traces()
Traces.change_event_type()
Traces.create_action()
Traces.create_chan_labels()
Traces.create_time_labels()
Traces.display()
Traces.display_annotations()
Traces.display_grid()
Traces.display_markers()
Traces.go_to_epoch()
Traces.highlight_event()
Traces.keyPressEvent()
Traces.line_up_with_epoch()
Traces.mouseMoveEvent()
Traces.mousePressEvent()
Traces.mouseReleaseEvent()
Traces.next_event()
Traces.page_next()
Traces.page_prev()
Traces.read_data()
Traces.reset()
Traces.resizeEvent()
Traces.step_next()
Traces.step_prev()
take_raw_name()
- wonambi.widgets.utils module
- wonambi.widgets.video module