plot_population

nrv.nmod.plot_population(diameters, y_axons, z_axons, ax, size, axon_type=None, y_gc=0, z_gc=0) None[source]

Display a population of axons.

Parameters:
  • diameters (np.array) – diamters of the axons to display, in um

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

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

  • ax (matplotlib.axes) – (sub-) plot of the matplotlib figure

  • size (float) – size of the window as a square side, in um

  • axon_type (np.array) – type of the axon (Myelinated = 1; Unmyelinated = 0) - Optionnal

  • title (str) – title of the figure

  • y_gc (float) – y coordinate of the gravity, in um

  • z_gc (float) – z coordinate of the gravity, in um