axon_population.create_population_from_stat
- axon_population.create_population_from_stat(n_ax: int, FVF: None | float = None, percent_unmyel: float = 0.7, M_stat: str = 'Schellens_1', U_stat: str = 'Ochoa_U')[source]
Create a virtual population of axons (no Neuron implementation, axon class not called) of a controled number, with controlled statistics.
- Parameters:
n_ax (int) – Number of axon to generate for the population (Unmyelinated and myelinated).
FVF (float) – Fiber Volume Fraction estimated for the area. If None, the value n_ax is used. By default set to None.
percent_unmyel (float) – ratio of unmyelinated axons in the population. Should be between 0 and 1.
M_stat (str) – name of the statistic in the librairy or path to a new librairy in csv for myelinated diameters repartition.
U_stat (str) – name of the statistic in the librairy or path to a new librairy in csv for unmyelinated diameters repartition.
Note
When FVF is set, an approximated value of n_ax is calculated from:
\[FVF = \frac{n_{axons}*E_{d}}{A_{tot}}\]where $E_{d}$ is the espected diameters from the myelinated and unmyelinated fibers stats and $A_{tot}$ is geometry total area.
Tip
It goes for the previous definition that FVF will only be accurate for large axon population. This might be improved in future version but for now it is adviced to define small population using n_ax instead of FVF