nrv.ui
Description
User Interface - ui: end user pre- or post processing code
ui provides classes and functions for pre- (meshing for instance) or post-processing computations. Basic or recurent simulation encapuslated as function are also accessible.
Functions
|
Automatically dispatches any search threshold callable object on available cpu cores. |
|
Find the activation threshold of an axon with arbitrary stimulation settings. |
|
Find the block threshold of an axon with arbitrary stimulation settings. |
|
Find the firing threshold with point source approximation using binary search. |
|
Find the firing threshold from a specified axon using binary search |
|
|
|
Find the blocking threshold with point source approximation using binary search. |
|
Find the blocking threshold with point source approximation using binary search. |
|
|
|
Remove an item from a dictionary, usefull before saving files, as some results maybe heavy and are potentially useless after some steps of postprocessing. |
|
Automatically remove values out of nodes of Ranvier for membrane voltage and associated quantities. |
|
generate a blank axon with the same dimensions as in the results |
|
Basic Filtering of quantities. |
|
Rasterize a membrane potential (or filtered or any quantity processed from membrane voltage), with spike detection. |
|
Internal use only, spike detection just in time compiled to speed up the process |
|
Compute the velocity of a spike from rasterized data in a dictionary. |
|
check if an axon is blocked or not. |
|
|
|
spike counting, just in time compiled. |
|
Check if a test AP is correctely triggered during an axon simulation and if so return the trigger time |
|
Returns the starting time of extracellular stimulation from axon simulation results |
|
Return elect caracteristics (blocked, Onset response, ...) |
|
Return axon caracteristics (blocked, Onset response, ...) from axon simulation results |
|
Returns the sequence |
|
Returns the index of the closer node from the center from a dictionnary results |
|
compute the cutoff frequency of the axon's membrane and add it to the simulation results dictionnary NB: The frequency is computed in [kHz] |
|
compute the cutoff frequency of the axon's membrane and add it to the simulation results dictionnary NB: The frequency is computed in [kHz] |
|
Plot the state machine for kinetic (Markov) Nav 1.1 to 1.9 values |
|
Default postprocessing function. |
|
remove most of the results key to save computing memory. |
|
Evaluate if each fibre is recruited by a stimulation (see axon_results.is_recruited) and remove most of the axon_results keys to alliviate RAM usage. |
|
Evaluate the impact od a blocking stimulation on axon (see axon_results.block_summary) and remove most of the axon_results keys to alliviate RAM usage. |
|
Undersample the membrane coductivity ( |
|
Plot and save the membrane potential along each axon of the fascicle |
|
Plot and save the raster plot along each axon of the fascicle. |
|
return list of axons simulation result files |
|
return list of axons simulation result files |
|
Delete file |
|
Delete directory Warning: use with caution deleted files cannot be recovered |
|
Delete directory Warning: use with caution deleted files cannot be recovered |
|
internal use, Return index in the time scale or time of the start and stop of a Compound Action Potentiel |
|
Return each axon caracteristics (blocked, Onset response, ...) |
|
plot the fascicle in the Y-Z plane (transverse section) |
|
returns the corresponding mesh from a nrv.facsicle |
|
returns the corresponding mesh from a nrv.facsicle |
|
returns the corresponding mesh from a nrv.facsicle |
|