Hi!
I have an issue using Leaky Integrator with Projection.
# Definition of the neuron
LIF = LeakyIntegrator(tau=20, B=-70, T=70, sum=('exc'))
# Projection
PIH = Projection(pre=groupi_in,post=group_hid,target='exc',synapse=RMSTDP_I)
PIH.connect_all_to_all(weights=Uniform(-5.0, 0.0))
When I compiled this, it showed the following error.
pop2.hpp:142:51: error: ‘exc’ was not declared in this scope
double _v = __stepsize_v*(B[i] + exc - v[i]);
^
In file included from ANNarchy.h:62:0,
from ANNarchyCore0.cpp:541:
proj0.hpp: In member function ‘void ProjStruct0::compute_psp()’:
proj0.hpp:159:26: error: ‘struct PopStruct1’ has no member named ‘g_exc’
pop1.g_exc[post_rank[i]] += w[i][j];
^
I am not sure on the leaky integrator for implementing the following equation.
dVm/dt=(Vl-Vm)/tau : volt
Also, the error with projection maybe related with target. I think it's because of my inexperience with the library.
Regards,
Myung Seok