analyzing pulses