save_axon_population

nrv.nmod.save_axon_population(f_name, axons_diameters, axons_type, y_axons=None, z_axons=None, comment=None)[source]

Save a placed axonal population to a file

Parameters:
  • f_name (str) – name of the file to store the population

  • axons_diameters (np.array) – array containing the axons diameters

  • axons_type (np.array) – array containing the axons type (‘1’ for myelinated, ‘0’ for unmyelinated)

  • y_axons (np.array) – y coordinate of the axons to store, in um

  • z_axons (np.array) – z coordinate of the axons to store, in um

  • comment (str) – comment added in the header of the file, optional