single_cell_parser
❭ network
❭ NetworkMapper
❭ create_saved_network
NetworkMapper.create_saved_network¶
-
single_cell_parser.network.NetworkMapper.create_saved_network(synWeightName=
None
)¶ Recreate a saved network embedding and activate it.
Deprecated since version 0.1.0: Point cells and spike trains are separate entities in this version. Please use
create_saved_network2()
instead, which is the most recent version, where point cells and spike trains can be integrated into the same presynaptic cell.Commonly used to assign synapse locations that have been previously generated with
network_embedding
.Here, these synapses can then be connected to activity sources and activated.
Steps:
Assign anatomical synapses to postsynaptic cell using
_assign_anatomical_synapses()
.Create presynaptic cells for these synapses using
_create_presyn_cells()
(multiple synapses can originate from the same presynaptic cell).Generate activation patters for each presynaptic cell, depending on whether they are a
PointCell
orSpikeTrain
using_activate_presyn_cells()
.Connect the presynaptic cells to the anatomical synapses using
_map_functional_realization()
.Connect to spike train sources using
_connect_spike_trains()
.
- Parameters:¶
synWeightName (str) – Name of the file containing the synapse weights. Default: None.
full_network (bool) – If True, all synapses are created, even if they were not active. If False, only recreates the synapses that were active, and re-assigns their IDs to be sequential. Default: False.