Algorithms of Classification of Neuron Impulses Based on Dynamic Equations