Detect edges on detectors signal