home
download
class models
standard gui
custom gui
models
user guide
problems

previous | up | next       KSStateView class

KSStateView

Click on the image for a live example
[trial KSStateView applet]

Stochastic simulation of a set of kineticScheme channels. You can vary the membrane potential as the simulation is running and the display shows how the state of each channel evolves. The total conductance and voltage history are also shown.

The target channel is set with the menu at the bottom left. Other variables govern the number of channels, the membrane potential, and timestep. The replayRate sets the rate of the simulation in ms of simulated time per second of real time. The frameRate sets the preferred number of screen updates per second. More updates make for a smoother simulation, but may delay the calculation.

Each channel is represented by a single bar with the evolution of the state of the channel indicated by the colors of the states, as in the KSChannelEditor. Where the channel is composed of multiple serial gating complexes, the bar is divided into slices for each complex.

Above the channel display is the normalized conductance in blue, and voltage history in black. The voltage may be changed as the simulation is progressing. Other parameter changes cause it to be restarted. In continuous mode, the display wraps continually across the window. If not in continuous mode, it stops when one screen is full and waits for a parameter to be changed before restarting.