flim.gui package¶
Submodules¶
flim.gui.app module¶
flim.gui.datapanel module¶
- class flim.gui.datapanel.FilterColLabelRenderer(bgcolor)¶
Bases:
wx.lib.mixins.gridlabelrenderer.GridLabelRenderer- Draw(grid, dc, rect, col)¶
Override this method in derived classes to do the actual drawing of the label.
- class flim.gui.datapanel.PandasFrame(parent, title, config, data=None, showcolindex=False, groups=None, analyzable=True, savemodified=True, precision=3, enableclose=True)¶
Bases:
wx._core.Frame- GetData()¶
- GetViewData()¶
- OnAutosize(event)¶
- OnDataUpdated(originaldata, newdata)¶
- OnDataWindowRenamed(original, new, frame)¶
- OnFilterData(event)¶
- OnFilterSettings(event)¶
- OnLabelClick(event)¶
- OnLabelDClick(event)¶
- OnPivotAll(event)¶
- OnPivotView(event)¶
- OnPopupItemSelected(event)¶
- OnPrecisionChange(event)¶
- OnSave(event)¶
- OnSaveView(event)¶
- OnSplit(event)¶
- OnViewAll(event)¶
- SetData(data=None, showcolindex=False, groups=None, analyzable=True, savemodified=True, precision=3)¶
- activate(event)¶
- apply_filters(filtercfg, showdiscarded=False)¶
- close_and_destroy(event)¶
- is_analyzable()¶
- is_modified()¶
- pivot_(usedata)¶
- set_header_renderer()¶
- set_modified(modified=True)¶
- update_precision(precision)¶
- update_view(showdiscarded=False)¶
- updateusefilter(enabled, showdiscarded=False)¶
- class flim.gui.datapanel.PandasGrid(*args, **kw)¶
Bases:
wx._grid.Grid,wx.lib.mixins.gridlabelrenderer.GridWithLabelRenderersMixin
- class flim.gui.datapanel.PandasTable(data=None, showcolindex=False, categories_first=False)¶
Bases:
wx._grid.GridTableBase- GetAttr(row, col, kind) GridCellAttr¶
Return the attribute for the given cell.
- GetColLabelValue(col) String¶
Return the label of the specified column.
- GetData()¶
- GetFloatColIdx()¶
- GetFloatCols()¶
- GetLongColIdx()¶
- GetNumberCols() int¶
Must be overridden to return the number of columns in the table.
- GetNumberRows() int¶
Must be overridden to return the number of rows in the table.
- GetTypeName(row, col) String¶
Returns the type of the value in the given cell.
- GetValue(row, col) PyObject¶
Must be overridden to implement accessing the table values as text.
- SetData(data, showcolindex=False, categories_first=False)¶
- SetValue(row, col, value)¶
Must be overridden to implement setting the table values as text.
flim.gui.delimpanel module¶
Created on Fri Jun 8 13:58:51 2018
@author: Karsten
flim.gui.dialogs module¶
Created on Tue Jun 12 13:35:51 2018
@author: khs3z
- class flim.gui.dialogs.BasicAnalysisConfigDlg(parent, title, input={}, description=None, data_choices={}, chooseinput=False, enablegrouping=True, enablefeatures=True, selectedgrouping=['None'], selectedfeatures='all_features', optgridrows=0, optgridcols=2, enablefeatsettings=False, featuresettings={}, settingspecs={}, autosave=True, working_dir='')¶
Bases:
wx._core.Dialog- OnClickFeature(event)¶
- OnDeselectAll(event)¶
- OnOK(event)¶
- OnQuit(event)¶
- OnSelectAll(event)¶
- get_option_panels()¶
- get_selectable_features()¶
- get_selected()¶
- class flim.gui.dialogs.ConfigureAxisDlg(parent, title, settings)¶
Bases:
wx._core.Dialog- OnQuit(event)¶
- SaveConnString(event)¶
- get_settings()¶
- class flim.gui.dialogs.ConfigureCategoriesDlg(parent, title='', bins=[], labels=[])¶
Bases:
wx._core.Dialog- OnQuit(event)¶
- OnSave(event)¶
- get_config()¶
- class flim.gui.dialogs.ConfigureFeatureDlg(parent, title, feature, settings, defaults)¶
Bases:
wx._core.Dialog- OnOK(event)¶
- OnQuit(event)¶
- get_settings()¶
- class flim.gui.dialogs.ConfigureFiltersDlg(parent, config=None, dataframe=None, dropped={}, showusefilter=True)¶
Bases:
wx._core.Dialog- GetData()¶
- OnFiltersUpdated(updateditems, totaldropped, viewdropped, viewlength)¶
- OnLoad(event)¶
- OnOK(event)¶
- OnQuit(event)¶
- OnUseFilters(event)¶
- class flim.gui.dialogs.RenameGroupsDlg(parent, title)¶
Bases:
wx._core.Dialog- OnOK(event)¶
- OnQuit(event)¶
- class flim.gui.dialogs.SelectGroupsDlg(parent, title, groups=[], selected='All')¶
Bases:
wx._core.Dialog- OnDeselectAll(event)¶
- OnOK(event)¶
- OnQuit(event)¶
- OnSelectAll(event)¶
- get_selected()¶
- flim.gui.dialogs.check_data_msg(data)¶
- flim.gui.dialogs.fix_filename(fname)¶
- flim.gui.dialogs.save_dataframe(parent, title, data, filename, wildcard='txt files (*.txt)|*.txt', saveindex=True)¶
- flim.gui.dialogs.save_figure(parent, title, fig, filename, wildcard='all files (*.*)|*.*', dpi=300, legend=None)¶
flim.gui.dicttablepanel module¶
Created on Tue May 8 18:20:41 2018
@author: khs3z
- class flim.gui.dicttablepanel.DictFrame(parent, title, data=None, headers=None)¶
Bases:
wx._core.FrameFrame that holds all other widgets
- exit(event)¶
- class flim.gui.dicttablepanel.DictTable(data=None, headers=None, sort=True)¶
Bases:
wx._grid.GridTableBase- GetColLabelValue(col) String¶
Return the label of the specified column.
- GetDict()¶
- GetNumberCols() int¶
Must be overridden to return the number of columns in the table.
- GetNumberRows() int¶
Must be overridden to return the number of rows in the table.
- GetTypeName(row, col) String¶
Returns the type of the value in the given cell.
- GetValue(row, col) PyObject¶
Must be overridden to implement accessing the table values as text.
- SetData(data=None, headers=None, sort=True)¶
- SetValue(row, col, value)¶
Must be overridden to implement setting the table values as text.
- class flim.gui.dicttablepanel.ListTable(data=None, headers=None, sort=False, *args, **kwargs)¶
Bases:
wx._grid.GridTableBase- CanGetValueAs(row, col, typeName) bool¶
Returns true if the value of the given cell can be accessed as if it were of the specified type.
- GetColLabelValue(col) String¶
Return the label of the specified column.
- GetData()¶
- GetNumberCols() int¶
Must be overridden to return the number of columns in the table.
- GetNumberRows() int¶
Must be overridden to return the number of rows in the table.
- GetTypeName(row, col) String¶
Returns the type of the value in the given cell.
- GetValue(row, col) PyObject¶
Must be overridden to implement accessing the table values as text.
- GetValueAsBool(row, col)¶
- SetData(data=None, headers=None, sort=False)¶
- SetValue(row, col, value)¶
Must be overridden to implement setting the table values as text.
- SetValueAsBool(row, col, value)¶
flim.gui.events module¶
Created on Mon Jun 18 13:39:22 2018
@author: khs3z
- class flim.gui.events.DataUpdatedEvent(evtType, id)¶
Bases:
wx._core.PyCommandEvent- GetUpdatedData()¶
- SetUpdatedData(data, dtype)¶
- class flim.gui.events.DataWindowEvent(evtType, id)¶
Bases:
wx._core.PyCommandEvent- GetAction()¶
- GetConfig()¶
- GetData()¶
- GetDataId()¶
- GetGroups()¶
- GetTitle()¶
- IsAnalyzable()¶
- IsEnableClose()¶
- SaveModified()¶
- SetEventInfo(data, title, action, config=None, showcolindex=False, groups=None, analyzable=True, savemodified=True, enableclose=True)¶
- ShowColIndex()¶
flim.gui.filtertablepanel module¶
Created on Fri May 18 09:17:05 2018
@author: khs3z
- class flim.gui.filtertablepanel.FilterTable(data=None, sort=True, droppedrows=True)¶
Bases:
wx._grid.GridTableBase- CanGetValueAs(row, col, typeName) bool¶
Returns true if the value of the given cell can be accessed as if it were of the specified type.
- GetAttr(row, col, kind) GridCellAttr¶
Return the attribute for the given cell.
- GetColLabelValue(col) String¶
Return the label of the specified column.
- GetData()¶
- GetDict()¶
- GetDroppedRows(rowkey)¶
- GetNumberCols() int¶
Must be overridden to return the number of columns in the table.
- GetNumberRows() int¶
Must be overridden to return the number of rows in the table.
- GetTypeName(row, col) String¶
Returns the type of the value in the given cell.
- GetValue(row, col) PyObject¶
Must be overridden to implement accessing the table values as text.
- GetValueAsBool(row, col)¶
- SetDroppedRows(drows)¶
- SetValue(row, col, value)¶
Must be overridden to implement setting the table values as text.
- SetValueAsBool(row, col, value)¶
flim.gui.importdlg module¶
- class flim.gui.importdlg.ImportDlg(parent, title, config, parsefname=True, preprocess=True, excludefiles=False, singlefile=False)¶
Bases:
wx._core.Dialog- OnAddFiles(event)¶
- OnCancel(event)¶
- OnImportFiles(event)¶
- OnOpenFile(event)¶
- OnParserChanged(event)¶
- OnPreview(event)¶
- OnRGridSize(event)¶
- OnRemoveFiles(event)¶
- OnReset(event)¶
- configure_importer(importer, files)¶
- get_config()¶
- update_listlabel()¶
flim.gui.listcontrol module¶
Created on Sun May 20 08:45:35 2018
@author: khs3z
- class flim.gui.listcontrol.AnalysisListCtrl(*args, **kwargs)¶
Bases:
wx._core.ListCtrl,wx.lib.mixins.listctrl.CheckListCtrlMixin,wx.lib.mixins.listctrl.ListCtrlAutoWidthMixin,wx.lib.mixins.listctrl.TextEditMixin- BeginLabelEdit(event)¶
- EndLabelEdit(event)¶
- GetData()¶
- OnCheckItem(index, flag)¶
- SetData(data, headers=[], types=[], keep_selection=True)¶
- SetEditable(editable)¶
- SetRow(key, rowdata)¶
- check_items(items, enable)¶
- fire_rowsupdated_event(items)¶
- get_checked_indices()¶
- get_checked_items()¶
- get_index_by_key(key)¶
- get_key_col()¶
- class flim.gui.listcontrol.FilterListCtrl(*args, dataframe=None, dropped=None, showdropped=True, fireevents=True, **kwargs)¶
Bases:
flim.gui.listcontrol.AnalysisListCtrl- EndLabelEdit(event)¶
- GetDroppedRows(rowkey)¶
- OnCheckItem(index, flag)¶
- OnFilterUpdated(event)¶
- SetData(data, dataframe=None, dropped=None, headers=[], types=[])¶
- SetDroppedRows(droppedrows)¶
- UpdateDroppedRows(droppedrows)¶
- check_items(items, enable)¶
- fire_rowsupdated_event(updated)¶
- get_dropped_str(key)¶
- get_total_dropped_rows()¶
- get_view_dropped(key=None)¶
- setdrop(dropped)¶
flim.gui.mpanel module¶
Created on Wed May 23 18:21:33 2018
@author: khs3z
- class flim.gui.mpanel.MatplotlibFrame(parent, title, fig, ax)¶
Bases:
wx._core.Frame
- class flim.gui.mpanel.MatplotlibPanel(parent, figure, ax)¶
Bases:
wx._core.Panel
flim.gui.plttoolbar module¶
Created on Fri Feb 5 07:53:29 2021
@author: khs3z
- class flim.gui.plttoolbar.MyCustomToolbar(plotCanvas)¶
Bases:
matplotlib.backends.backend_wx.NavigationToolbar2Wx
flim.gui.seriesfiltertree module¶
Created on Mon Jun 8 14:05:04 2020
@author: khs3z