fill_area_with_axons

nrv.nmod.fill_area_with_axons(A, percent_unmyel=0.7, FVF=0.55, M_stat='Schellens_1', U_stat='Ochoa_U')[source]

Create a virtual population of axons (no Neuron implementation, axon class not called) to fill a specified area, with controlled statistics.

Parameters:
  • A (float) – surface area to fill, in um**2

  • percent_unmyel (float) – ratio of unmyelinated axons in the population. Should be between 0 and 1.

  • FVF – Fiber Volume Fraction estimated for the area. By default set to 0.55

  • M_stat (str) – name of the statistic in the librairy or path to a new librairy in csv for myelinated diameters repartition

  • U_stat (str) – name of the statistic in the librairy or path to a new librairy in csv for unmyelinated diameters repartition

Returns:

  • axons_diameters (np.array) – Array containing all the diameters of the generated axon population

  • axons_type (np.array) – Array containing a ‘1’ value for indexes where the axon is myelinated (A-delta or not), else ‘0’

  • M_diam_list (np.array) – list of myelinated only diameters

  • U_diam_list (np.array) – list of unmyelinated only diamters