Hi,
I am in the process of converting a rate-based model of the insects' Central Complex to a spiking model.
For the neuron model I am using LIF neurons as described in the documentation
eqs = '''
dVm/dt = ((El - Vm) + I_syn) / taum : volt
I_syn = ge - gi : volt
dge/dt = -ge/taue : volt
dgi/dt = -gi/taui : volt
'''
threshold_eqs = 'Vm >= Vt'
reset_eqs = 'Vm = Vr'
I have several neuron groups connected by either excitatory or inhibitory synapses according to
synapses_model = '''w : 1'''
synapses_eqs_ex = '''ge += we * w'''
synapses_eqs_in = '''gi += wi * w'''
ex_synapses = Synapses(G_source, G_target, model=synapses_model, on_pre=synapses_eqs_ex)
in_synapses = Synapses(G_source, G_target, model=synapses_model, on_pre=synapses_eqs_in)
Many of the parameters (El, taum, Vt, Vr and the different weights w for synaptic connections) come from electrophysiology recordings and they have to stay fixed.
I also have recorded spikes rates for the inputs and the different neural populations.
Let's say I have a PoissonGroup connected to NeuronGroup A which is connected with excitatory synapses to NeuronGroup B.
The rates of the PoissonGroup are defined as a function of time using a TimedArray as described in the documentation.
I have the expected rates for A and for B given the inputs encoded by the PoissonGroup.
Can the brian2modelfitting library be used to optimise the ge, taue, we and gi, taui, wi parameters so to match the spiking rates?
In case do you know of any alternative ways to achieve this?
Thank you!