single_cell_parsernetwork

network

Connect and activate presynaptic neuron populations.

This module either creates or reads in an existing network realization, and connects the synapses to presynaptic cells with known cell type and activity patterns. A network realization (or anatomical realization) with known presynaptic origin is referred to as a functional realization. The result of a network activation is a Synapse activation file.

Reading existing network realizations

Network realizations that have been created with singlecell_input_mapper’s network_embedding can be read in here using the method create_saved_network2(). This approach allows for the most fine-grained control over the network realization, as it offloads all the network embedding details to the specialized network_embedding module.

Creating new network realizations

Creating a new network realization from scratch can be done using the convergence parameter in the Network parameters file. Convergence is the probability of a connection existing between the Cell and a presynaptic cell. It is specific for each presynaptic cell type, and depends on the postsynaptic cell type. This approach is used by create_functional_realization() and create_network().

Classes

NetworkMapper

Map active presynaptic cells to a multi-compartmental neuron model.

Functions

activate_functional_synapse(syn, cell, preSynCell, synParameters, tChange, synParametersChange, forceSynapseActivation, releaseTimes)

Activate a single synapse.

sample_times_from_rates(bins, rate)

Sample spike times from spike rates.