Necessary and sufficient condition for the global stability of a delayed discrete-time single neuron model