Identificaton of spikes time and amplitude