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

charge_quantity_CE.__init__([id_elec, dt_res])

Init method for NRV_class

charge_quantity_CE.call_method(results, **kwargs)

charge_quantity_CE.compute_stimulus_cost(stim)

charge_quantity_CE.get_parameters()

Generic method returning all the atributes of an NRV_class instance

charge_quantity_CE.load(data[, blacklist])

Generic loading method for NRV_class instance

charge_quantity_CE.save([save, fname, blacklist])

Generic saving method for NRV_class instance.

charge_quantity_CE.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance