nerve.get_n_ax

nerve.get_n_ax(id_fasc: int | None = None) int[source]

Returns the number of axons in a given fascicle or in all the nerve

Parameters:

id_fasc (_type_, optional) – ID of the fascicle from which the number of axons is returned; if None, number of all axons in the nerve is returned, by default None

Returns:

Number of axons.

Return type:

int