snudda.detect.project

class snudda.detect.project.SnuddaProject(network_path, snudda_data=None, rng=None, random_seed=None, h5libver=None)[source]

Adds projections between neurons, useful for connecting different regions with long range connections.

Constructor.

Parameters
  • network_path – Path to network directory

  • rng – Numpy random stream

  • random_seed – Random seed

  • h5libver – Version of hdf5 driver to use

connect_projection_helper(pre_neuron_type, post_neuron_type, connection_info)[source]

Helper function for project.

Parameters
  • pre_neuron_type – Type of presynaptic neuron

  • post_neuron_type – Type of postsynaptic neuron

  • connection_info – Connection info

project(write=True)[source]

Create projections between neurons.

read_neuron_positions()[source]

Reads in neuron positions from network-neuron-positions.hdf5

read_prototypes()[source]

Reads in neuron prototypes. Simplified version of what same function in detect.py does.

write()[source]

Writes projection data to file.