nrv.optim.optim_utils
Description
NeuRon Virtualizer, large scale modeling of Peripheral Nervous System with random stimulation waveforms optim utils submodule
Classes
|
Instantiate a context modifier: Callable object which modify a static context, regarding a vector of tunning parameters, to generate a new local context |
|
Generic context modifier which generate a stimulus from the input tuning parameters. |
|
Context modifier which generate a stimulus biphasic stimulus from the input tuning parameters. |
|
Context modifier which generate a stimulus harmonic stimulus from the input tuning parameters. |
|
|
Create a callable object which returne the number of spike from the result of a simulation |
|
|
Callable object which returns the number of triggered fibre in the results |
|
Create a callable object which return a value proportionnal to the charge quantity injected by stimulus. |
|
Create a callable object which return a value proportionnal to the stimulus energy, assuming the electrode impedance is a constant. |
|
Functions
|
|
|
genarte a waveform from a particle position using interpolate where the position values are the output waveform amplitudes at constant sample rate |
|
genarte a waveform from a particle position using interpolate where the position values are the coordonnate of N points which should be reached by the output waveform |
|
Simple saver which can be used in a cost_function to save the cost and position in a .csv file (see .Optim.cost_function) |