%
%% mean-field model
rm2=rm;
vm2=vm;
wm2=wm;
t2=t;
%% network
R2=R;
v_mean2=v_mean;
w_mean2=w_mean;

avg_fired_time2=avg_fired_time;
time2=time;

firings2=firings;
%%
tend2=tend;
I2_t = I2*ones(length(t2),1);