bluecellulab.cell.section_distance¶
Distance computing functionality between Neuron sections.
Classes
Calculate euclidian distance between positions on two sections. |
- class bluecellulab.cell.section_distance.EuclideanSectionDistance[source]¶
Calculate euclidian distance between positions on two sections.
- Parameters:
hsection1 (hoc section such as cADpyr_L2TPC_bluecellulab[0].apic[1]) – First section
hsection2 (hoc section) – Second section
location1 (float) – range x along hsection1
location2 (float) – range x along hsection2
dimensions (string) – planes to project on, e.g. ‘xy’