single_cell_parsercell_modify_functionsscale_apicalscale_apical_dendrite

scale_apical_dendrite

single_cell_parser.cell_modify_functions.scale_apical.scale_apical_dendrite(cell, scale=None, compartment='ApicalDendrite')

Scales the apical dendrite of a cell.

Assumes the cell has sections with label “ApicalDendrite”. If not, nothing gets scaled.

Parameters:
  • cell (Cell) – The cell to scale.

  • scale (float) – The scaling factor.

Returns:

The scaled cell.

Return type:

Cell