biophysics_fitting ❭ setup_stim ❭ setup_soma_step
setup_soma_step¶
-
biophysics_fitting.setup_stim.setup_soma_step(cell, amplitude=
None, delay=None, duration=None, dist=0)¶ Setup up a step current at the soma, or a given
distfrom the soma.- Parameters:¶
cell (
Cell) – The cell object.amplitude (float) – The amplitude of the step current.
delay (float) – The delay of the step current.
duration (float) – The duration of the step current.
dist (float) – The distance from the soma to the recording/injection site.
- Returns:¶
None. Adds a step current pipette to the cell under the name ‘iclamp’.