get_length_from_nodes

nrv.utils.get_length_from_nodes(diameter, nodes)[source]

Function to compute the length of a myelinated axon to get the correct number of Nodes of Ranvier For Myelinated models only (not compatible with A delta thin myelinated models)

Parameters:
  • diameter (float) – diameter of the axon in um

  • nodes (int) – number of nodes in the axon

Returns:

length – lenth of the axon with the correct number of nodes in um

Return type:

float