recrutement_count_CE

class nrv.optim.optim_utils.recrutement_count_CE(reverse=False)[source]

Callable object which returns the number of triggered fibre in the results

Parameters:

reverse (bool) – if True, the final cost is the difference between the number total of fibre and the number of activate fibre

Note

if reverse is false:

\[cost = N_{recruited}\]

else:

\[cost = N_{total} - N_{recruited}\]

Methods

recrutement_count_CE.__init__([reverse])

Init method for NRV_class

recrutement_count_CE.call_method(results, ...)

Returns the spike number from a simulation result

recrutement_count_CE.count_axon_activation(results)

recrutement_count_CE.count_fascicle_activation(results)

recrutement_count_CE.get_parameters()

Generic method returning all the atributes of an NRV_class instance

recrutement_count_CE.load(data[, blacklist])

Generic loading method for NRV_class instance

recrutement_count_CE.save([save, fname, ...])

Generic saving method for NRV_class instance.

recrutement_count_CE.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance