single_cell_parsersynapse_mapperSynapseMappermap_synapse_model_distribution

SynapseMapper.map_synapse_model_distribution

single_cell_parser.synapse_mapper.SynapseMapper.map_synapse_model_distribution(synType, structLabel=None)

Maps modeled synapse distribution (e.g. normal, uniform, …) onto dendritic tree.

For each distance in synDist, a synapse is placed on a random dendritic branch at that distance from the soma. In this case, synDist has to be iterable of distances of synapses. Substructure may be indicated by structLabel.

Parameters:
  • synType (str) – The type of synapse to be placed.

  • structLabel (str) – The label of the substructure to place synapses on. Default: None (all dendritic sections).