charge_quantity_CE
- class nrv.optim.optim_utils.charge_quantity_CE(id_elec=None, dt_res=0.0001)[source]
Create a callable object which return a value proportionnal to the charge quantity injected by stimulus.
\[cost = \sum_{e}\sum_{t_k}{i_{e,stim}(t_k)}\]with \(t_k\) is the discrete time step of the simulation
Methods
|
Initialize a cost evaluator proportional to injected charge. |
|
Compute the total charge-based cost from the extracellular stimuli stored in simulation results. |
Compute the integrated absolute charge of one stimulus. |
|
Generic method returning all the atributes of an NRV_class instance |
|
|
Generic loading method for |
|
Generic saving method for |
|
Generic method to set any attribute of |