Control parameters and user preferences for spatch.
These parameters govern the behaviour of the spatch lab simulation and do not correspond to any physical component in the lab.
The displayLevel sets how much of the models to make accessible to the user. The higher the display level, the more variables and sliders you are shown. Those you are not shown take default values. At level 5 ("advanced") all model parameters are shown. Higher levels begin to display internal quantities of how the simulation is assembled, such as the names and positions of lab components or which components a tube is connected to. All these quantities are separately, and more conveniently, accesible through the user interface tools.
Spatch uses a fixed timestep for calculations as set in the timestep varieble (units ms). It also uses a discretization in the membrane potential which can be varied with the quantities V_min, V_max and nv. It evaluated voltage dependent functions at nv equal intervals between V_min and V_max and then interpolates between them.
The refreshRate sets how many times per second to redraw the graphs as the calculation is running. Higher refresh rates give a smoother display, but can also slow down the computations as the computer spends all its time redraw ing the screen.
Channels in spatch can be either computed individually or as an ensemble. Which method is used depends on the number of channels in a particular patch or membrane area. The threshold for decideing between the tow cases is maxNstochastic. Morechannels than this and they are treated as an ensemble. Fewer nad each one is computed independently.