Closed anilbey closed 2 months ago
We can now use amplitude based (i.e. non threshold based) stimuli in apply_multiple_stimuli
by passing raw amplitudes to amplitudes
and setting threshold_based
to False
.
pinging @stefanoantonel because he might need to inject without using threshold current.
Cool thanks!!
At the moment the following protocols are only threshold-based.
Some of the non-bbp models however are amplitude based.
The StimulusFactory should be extended to support the amplitude based methods as well. The amplitude based implementation can be reused by the threshold based implementation.
Such as the following: https://github.com/BlueBrain/BlueCelluLab/blob/fcf8ad0727c93b3480736c43cef0333eaa4bd14e/bluecellulab/stimulus/factory.py#L264-L272