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

    navis.interfaces.neuron.network.PointNetwork.from_edge_list¶

    classmethod PointNetwork.from_edge_list(edges, model='IntFire1', source_col='source', target_col='target', weight_col='weight', **props)[source]¶

    Generate network from edge list.

    Parameters:
    • edges (pd.DataFrame) – Edge list. Must contain ‘source’, ‘target’ and ‘weight’ columns.

    • model ("IntFire1" | "IntFire2" | "IntFire4") – The model to use for the integrate-and-fire point processes.

    • source_col (str) – Name of the column with the source IDs.

    • target_col (str) – Name of the column with the target IDs.

    • weight_col (str) – Name of the column with the weights.

    • **props – Keyword arguments are passed through to add_neurons. Use to set e.g. labels, threshold or additional model parameters.

    Back to top

    Source

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