biophysics_fittingsimulatorSimulatorget_simulated_cell

Simulator.get_simulated_cell

biophysics_fitting.simulator.Simulator.get_simulated_cell(params, stim, simulate=True)

Get the simulated cell.

Parameters:
  • params (pd.Series) – The parameter vector of biophysical parameters.

  • stim (str) – The stimulus to apply.

  • simulate (bool) – Whether to run the simulation (True), or only set up the simulation (False).

Returns:

The cell object and the parameter vector.

Return type:

cell, params