navis.interfaces.neuron.comp.CompartmentModel.insert¶
- CompartmentModel.insert(mechanism, subset=None, **kwargs)[source]¶
Insert biophysical mechanism for model.
- Parameters:
mechanism (str) – Mechanism to insert - e.g. “hh” for Hodgkin-Huxley kinetics.
subset (list of sections | list of int) – Sections (or indices thereof) to set mechanism for. If
None
will add mechanism to all sections.**kwargs – Use to set properties for mechanism.