remove_collision

nrv.nmod.remove_collision(axons_diameters: <MagicMock name='mock.array' id='139958333163664'>, y_axons: <MagicMock name='mock.array' id='139958333163664'>, z_axons: <MagicMock name='mock.array' id='139958333163664'>, axon_type: <MagicMock name='mock.array' id='139958333163664'>, delta: float = 0) <MagicMock name='mock.array' id='139958333163664'>[source]

Remove collinding axons in a population

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

  • 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

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

  • delta (float) – minimal inter-axon distance to respect before considering collision, in um