remove_outlier_axons
- nrv.nmod.utils.remove_outlier_axons(axons_diameters: ndarray, y_axons: ndarray, z_axons: ndarray, axon_type: ndarray | None = None, diameter: float = 10) array[source]
Remove axons in a population located outside a circular border, defined by its diameter
- Parameters:
axons_diameters (np.ndarray) – array containing the axons diameters
y_axons (np.ndarray) – y coordinate of the axons to store, in um
z_axons (np.ndarray) – z coordinate of the axons to store, in um
axon_type (np.ndarray) – type of the axon (Myelinated = 1; Unmyelinated = 0)
diameter (float) – diameter of the circular border, in um