_DendrogramSynapseStatistics¶
-
class visualize.dendrogram._DendrogramSynapseStatistics(dendrogram_db, cell, colormap_synapses=
None)¶ Compute synapse statistics for a
Cellobject.Synaptic statistics include the total amount of synapses binned by soma distance, both unnormalized, as well as normalized by total amount of dendritic length.
- Parameters:¶
- dendrogram_db : list¶
A list of
_DendrogramSectionobjects.- cell : Cell¶
The cell object.
- colormap_synapses : dict¶
A dictionary mapping color to synapse types. The keys must match the synapse types in the dendrogram. Missing keys will be omitted from the visualization alltogether. Default: None (plot all synapses in black).
- Attributes:¶
-
- colormap_synapses¶
A dictionary mapping color to synapse types. The keys must match the synapse types in the dendrogram. Missing keys will be omitted from the visualization alltogether. Default: None (plot all synapses in black).
- Type:¶
dict
- Methods:¶
Add synapses to the dendrogram sections.
get_number_of_synapses_in_bin(min_, max_, select, label)Get the number of synapses in a certain bin of soma distance.
_compute_synapse_hist(binsize)Compute the synapse density histogram.
Compute the synapse statistics.
_plot_synapse_density_hist(ax, xlim, binsize)Plot the synapse density histogram on an
matplotlib.axes.Axesobject._plot_synapse_hist(ax, dendrite_density)Plot the synapse histogram on an
matplotlib.Axesobject.Plot the synapses on the dendrogram.
plot(ax)Plot the synapse statistics
Documentation unclear, incomplete, broken or wrong? Let us know