harmonic_stimulus_CM
- class nrv.optim.optim_utils.harmonic_stimulus_CM(stim_ID: int = 0, start: float = 1, amplitude: float = 100, t_pulse: float = 0.06, dt: float = 0, stim_gen: callable = None, stim_gen_kwargs: dict = {}, extracel_context: bool = True, intracel_context: bool = False, rec_context: bool = False)[source]
Context modifier which generate a stimulus harmonic stimulus from the input tuning parameters.
- Parameters:
stim_ID (int, optional) – ID of the electrode which should be adapted, by default 0
start (float or str) – starting time of the waveform, in ms
amplitude (float, optional) – _description_, by default 100
t_pulse (float, optional) – _description_, by default 60e-3
dt (float, optional) – _description_, by default 0
stim_gen (callable, optional) – _description_, by default None
stim_gen_kwargs (dict, optional) – _description_, by default {}
extracel_context (bool) – specifies whether to load extracel_context with the static context
intracel_context (bool) – specifies whether to load intracel_context with the static context
rec_context (bool) – specifies whether to load rec_context with the static context
Methods
|
Init method for |
Generic method returning all the atributes of an NRV_class instance |
|
interpolate the input vector with the interpolator. |
|
|
Generic loading method for |
|
Generic saving method for |
|
Generic method to set any attribute of |
|
generated from interpolated values with stim_gen function. |