brian-team / brian2modelfitting

Model fitting toolbox for the Brian 2 simulator
https://brian2modelfitting.readthedocs.io
Other
14 stars 6 forks source link

Support spikes in sbi #54

Closed mstimberg closed 3 years ago

mstimberg commented 3 years ago

Currently, the sbi Inferencer always works on traces, but it should also work on spikes (cf. SpikeFitter). Internally, this should already mostly work if the name of the output variable is set to spikes. Note that features will no longer receive an array, but instead a list of arrays, since for each parameter combination/input, there can be a different number of spikes.