single_cell_parser
❭ network
❭ NetworkMapper
❭ create_saved_network2
NetworkMapper.create_saved_network2¶
-
single_cell_parser.network.NetworkMapper.create_saved_network2(synWeightName=
None
, full_network=False
)¶ Recreate a saved network embedding and activate it.
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. This is the most recent version where point cells and spike trains can be integrated into the same presynaptic cell
Steps:
Assigns anatomical synapses to postsynaptic cell using
_assign_anatomical_synapses()
.Creates presynaptic cells for these synapses using
_create_presyn_cells()
(multiple synapses can originate from the same presynaptic cell).Generates activation patters for each presynaptic cell, depending on whether they are a
PointCell
orSpikeTrain
using_activate_presyn_cells()
.Connects the presynaptic cells to the anatomical synapses using
_map_complete_anatomical_realization()
.Applies network modify functions (if any) using
_apply_network_modification_functions()
.
- 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.