Explorer¶
Myokit’s explorer runs simulations with models and displays the results.
Implementation¶
- class myokit.gui.explorer.Explorer(parent, sim_method, output_stream, duration=1000)¶
Runs simulations with a model and allows all variables to be graphed.
Arguments:
parent
The parent window calling this one..
sim_method
A method that returns a tuple (
myokit.Model
,myokit.Protocol
,myokit.Simulation
).output_stream
Something with a write() method.
Extends:
QtWidgets.QDialog
- action_clear()¶
Clears the current graphs & data (leaves the keys alone).
- action_close()¶
Closes this window.
- action_draw()¶
Draws the current graphs.
- action_run()¶
Runs a simulation and updates the explorer data.
- combo_changed(x)¶
Combo box changed.