load_nmodl_mechanisms#
- load_nmodl_mechanisms(quiet: bool = True, strict: bool = False) bool[source]#
Load pre-compiled NMODL mechanisms into current NEURON session.
This function loads previously compiled mechanisms into NEURON. It should be called at the start of every script that uses NEURON.
- Parameters:
- Returns:
True if mechanisms loaded successfully, False otherwise
- Return type:
- Raises:
NMODLLoadError – If strict=True and mechanisms fail to load