emodelrunner.GUI_utils.interface¶
Main Interface.
Classes
|
GUI class. |
- class emodelrunner.GUI_utils.interface.GUI(fps=15, config_path='config/config_allsteps.ini')[source]¶
Bases:
object
GUI class. Contains all frames and simulation.
- simulation¶
contains BluePyOpt simulation (and cell) data
- Type:
- play¶
if True, runs the simulation
- Type:
bool
- refresh_display_dt¶
timestep (s) for the display of figures
- Type:
float
- plot_3d¶
set to True to plot the cell shapes in 3D
- Type:
bool
- toolbar_on¶
set to True to display the matplotlib toolbars
- Type:
bool
- figsize¶
figures size. can be “small”, “medium”, or “large”.
- Type:
str
- root¶
root of the GUI
- Type:
tk.Tk
- style¶
style of the tkinter objects
- Type:
ttk.Style
- frames¶
main frames embedded in root
- Type:
dict of ttk.Frames
- reload¶
if True, the simulation has to be reloaded
- Type:
bool
- check_v_change()[source]¶
Checks the voltage change in the cell sections.
Update display if change is significant.
- Returns:
True if the cell morphology with color-coded voltage figure has been updated
- Return type:
bool
- static get_refresh_from_fps(fps)[source]¶
Get refresh rate from fps.
- Parameters:
fps (float) – number of frames per second to be displayed
- Returns:
refresh time (s)
- Return type:
float