consider this code : my excitatory and inhibitory neurons have the same neuron model and the only difference between them is their refractory time .
neurons = NeuronGroup(N_e + N_i, model=neuron_eqs,
threshold=‘v>V_th’, reset=‘v=V_r’, refractory=‘???’, method=‘euler’)
exc_neurons = neurons[:N_e]
inh_neurons = neurons[N_e:]
Is there a way to define refractory time for 2 groups of neurons(exc and inh) using one neuronGroup class?