navis.interfaces.neuron.network.PointNetwork.add_neurons¶
- PointNetwork.add_neurons(ids, model='IntFire1', labels=None, skip_existing=False, **props)[source]¶
Add neurons to network.
- Parameters:
ids (list-like) – Iterable of IDs for which to create neurons.
model ("IntFire1" | "IntFire2" | "IntFire4") – The model to use for the integrate-and-fire point processes.
labels (str | list | dict, optional) – Labels for neurons. If str will apply the same label to all neurons. If list, must be same length as
ids
. Dictionary must be ID -> label map.skip_existing (bool) – If True, will skip existing IDs.
**props – Additional parameters used when initializing the point processes. Depends on which model type you are using: e.g.
refrac
andtau
for “IntFire1”.