compute_syn_distances¶
-
single_cell_parser.analyze.synanalysis.compute_syn_distances(cell, synType, label=
None, consider_gap_to_soma=False)¶ Computes distances (to soma) of all synapses on the dendrite.
- Parameters:¶
- cell : single_cell_parser.cell.Cell¶
cell object with attached synapses.
- synType : str¶
presynaptic cell type to compute distances for.
- label : str, optional¶
dendrite type (e.g. “ApicalDendrite”) to compute distances for. Default: None (all dendrites)
- Returns:¶
1D array of distances to soma
- Return type:¶
numpy.ndarray
- Raises:¶
KeyError – if the cell does not have synapses of type
synType.
Documentation unclear, incomplete, broken or wrong? Let us know