navis 1.4.0
  • Install
  • Quickstart
  • Tutorials
  • API
  • Changelog
  • Github
  • Ecosystem
  • Site
    • Page
        • navis.interfaces.neuron.network.PointNetwork.add_neurons
          • PointNetwork.add_neurons()

    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 and tau for “IntFire1”.

    Back to top

    Source

    © Copyright 2018, Philipp Schlegel.
    Created using Sphinx 5.3.0.