neat.NestCompartmentTree.init_model¶
- NestCompartmentTree.init_model(model_name, n, suffix='_model', v_th=-20.0, **kwargs)[source]¶
Initialize n nest instantiations of the current model.
- Parameters:
model_name (str) – name of the model, corresponds to the name given when the nest model was installed with neatmodels install
n (int (> 0)) – The number of copies of the model to be instantiated
v_th (float) – The spike detection threshold, in mV
**kwargs – Keyword arguments to the nest.Create() function