navis.interfaces.neuron.comp.CompartmentModel.uninsert¶
- CompartmentModel.uninsert(mechanism, subset=None)[source]¶
Remove biophysical mechanism from model.
- Parameters:
mechanism (str) – Mechanism to remove - 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.