Different dynamics of repetitive neural spiking induced by inhibitory and excitatory autapses near subcritical Hopf bifurcation