neuroarch.na.NeuroArch.add_synapse_arborization
- NeuroArch.add_synapse_arborization(synapse, arborization, data_source=None)[source]
Add data for the distribution of synapses within a Synapse node in Neuropils, Subregions and Tracts.
- Parameters:
synapse (neuorarch.models.synapse or subclass) – An instance of Synapse class to which the arborization data will be associated to.
arborization (list of dict (optional)) – A list of dictionaries define the arborization pattern of the neuron in neuropils, subregions, and tracts, if applicable, with {‘type’: ‘neuropil’ or ‘subregion’ or ‘tract’, ‘synapses’: {‘EB’: 20, ‘FB’: 2}} Name of the regions must already be present in the database.
data_source (models.DataSource (optional)) – The datasource. If not specified, default DataSource will be used.