Fitting a multipopulation LIF model


I have built a Brunel model consisting of 2 populations of LIF (Pyramidal and Inhibitory) and 2 or 1 external Poisson inputs.

I need to fit data to the model, but I am struggling with brian2modelfitter. I understand that the model fitter is still not ready to fit more than 1 population, so I am starting by building a single population LIF with a single external Poisson input, but I still have no clue on how to get it done. I understand how to fit a continuous model such as Hodgkin-Huxley and I already have a working example, but with the LIF I am completely lost.

Is there an example you can provide that can help me get some direction? I would appreciate any help I can get.



I’m not a Brian expert, and I haven’t used the model fitting toolbox. But! It does seem like most of the documentation is geared towards fitting “continuous” signals like voltage traces, however, there’s a [SpikeFitter method] which could be used instead of TraceFitter for your application.

I’d start by trying to adapt the [TraceFilter tutorial] to use the SpikeFilter method, and say a single LIF instead of HH