neuroarch.na.NeuroArch.add_neuron_arborization

NeuroArch.add_neuron_arborization(neuron, arborization, data_source=None)[source]

Add arborization data of a neuron and link it to the neuron.

Parameters:
  • neuron (models.Neuron or subclass) – An instance of Neuron class to which the arborization data will be associated to.

  • arborization (list of dict) – 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’, ‘dendrites’: {‘EB’: 20, ‘FB’: 2}, ‘axons’: {‘NO’: 10, ‘MB’: 22}} 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.