fascicle
- class nrv.nmod.fascicle(diameter=None, ID=0, **kwargs)[source]
Class for Fascicle, defined as a group of axons near one to the other in the same Perineurium Sheath. All axons are independant of each other, no ephaptic coupling.
See also
Customizable Attributes:
Attributes
Type
Default
Description
ID
int
0
Identification number of the fascicle.
L
float
None
Length of the fascicle.
D
float
None
Diameter of the fascicle.
y_grav_center
float
0
y-position of the fascicle center.
z_grav_center
float
0
z-position of the fascicle center.
postproc_label
str
None
Label of the axon postprocessing funtion, used for the buildin postproc functions.
postproc_function
function
None
Axon postprocessing funtion, used for the custom postproc functions.
postproc_script
str
|function
None
Either postprocessing funtion or postprocessing funtion label, automatically set depending on the type
postproc_kwargs
dict
None
key arguments of the postporcessing function
save_results
bool
False
If
True
, fascicle configuration and all axon simulations results are saved insave_path
directory.save_path
str
“”
Path of the directory where simulation results should be saved.
return_parameters_only
bool
False
If
True
(andsave_results
alsoTrue
), only the parameters should be returned from the simulation.loaded_footprints
bool
False
If
False
, the footprints already computed are favored over new footprint computation.verbose
bool
False
Plot or not.
Note
Customizable attributes can either be set using
fascicle.set_parameters()
or simply by reafecting the value of the attribute.Tip
Additional simulation parameters can be changed using (
fascicle.set_axons_parameters()
,fascicle.change_stimulus_from_electrode()
, …).
Attributes
Area of the fascicle |
|
Number of axons in the fascicle |
Methods
|
Instantation of a Fascicle |
attach an extracellular recorder to the axon |
|
attach a extracellular context of simulation for an axon. |
|
Change the stimulus of the ID_elec electrods |
|
|
Clear all stimulation and recording mecanism |
get electrodes footprints on each segment of each axon |
|
|
Define a circular countour to the fascicle |
|
Define ellipsoidal contour |
set the length over the x axis of the fascicle |
|
Check if an extracellular context is attached to the instance |
|
|
Fill a geometricaly defined contour with axons |
|
Fill the fascicle with an axon population |
|
Define a circular countour to the fascicle |
|
Fit the axon positions to the size of the fascicle |
Generates Node of Ranvier shifts to aligned a node of each axon to x postition. |
|
Generates radom Node of Ranvier shifts to prevent from axons with the same diamters to be aligned. |
|
get parameters of axons in the fascicle |
|
Returns the properties of the fascicle contour considered as a circle (y and z center and diameter) |
|
Generic method returning all the atributes of an NRV_class instance |
|
|
Define contour from a file |
|
Insert a IC clamp stimulation |
Check if an intracellular context is attached to the instance |
|
|
Load a fascicle configuration from a json file |
|
plot the fascicle in the Y-Z plane (transverse section) |
|
plot the fascicle's axons along Xline (longitudinal) |
Check if a recording context is attached to the instance |
|
Remove the axons that could overlap an electrode |
|
|
Remove fibers with diameters below/above a threshold |
Remove all myelinated fibers from the |
|
Remove all unmyelinated fibers from the fascicle |
|
|
Move axons only in a fascicle by group rotation |
|
Rotate a complete fascicle |
|
Save a fascicle in a json file |
|
set the ID of the fascicle |
set parameters of axons in the fascicle |
|
|
Generic method to set any attribute of |
Shuts down the recorder locally |
|
|
Simulates the fascicle using neuron framework. |
|
Move axons only in a fascicle by group translation |
Translate a complete fascicle |