create_axon_population

nrv.nmod.create_axon_population(N, percent_unmyel=0.7, M_stat='Schellens_1', U_stat='Ochoa_U')[source]

Create a virtual population of axons (no Neuron implementation, axon class not called) of a controled number, with controlled statistics.

Parameters:
  • N (int) – Number of axon to generate for the population (Unmyelinated and myelinated)

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

  • 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 of length N, containing all the diameters of the generated axon population

  • axons_type (np.array) – Array of length N, 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