single_cell_parser ❭ cell_modify_functions ❭ scale_apical ❭ scale_by_detailed_compartment
scale_by_detailed_compartment¶
- single_cell_parser.cell_modify_functions.scale_apical.scale_by_detailed_compartment(cell, **kwargs)¶
Scales subcellular compartments based on
detailed\_labels.If not yet assigned, detailed labels are assigned by
biophysics_fitting.utils.augment_cell_with_detailed_labels(). and includebasal,trunk,tuft, andoblique.Attention
For non-L5PT neurons or L5PT neurons from any other brain area than barrel cortex, make sure
augment_cell_with_detailed_labels()assigns labels as you want them to be.Alternatively, assign them manually with the
biophysics_fitting.cell.Cell.sections.label_detailedattribute.