run_fun

biophysics_fitting.simulator.run_fun(cell, T=34.0, Vinit=-75.0, dt=0.025, recordingSites=[], tStart=0.0, tStop=250.0, vardt=True, silent=True)

Default function to run a simulation.

Parameters:
cell

The cell object.

T : float

The temperature (Celsius).

Vinit : float

The initial voltage (mV).

dt : float

The time step (ms).

recordingSites : [float]

The recording sites (um).

tStart : float

The start time of the simulation (ms).

tStop : float

The stop time of the simulation (ms).

vardt : bool

Whether to use variable time step.

silent : bool

Whether to suppress output.

Returns:

The cell object, containing simulation data.

Return type:

Cell