AE: Add a check to see if there is a peak, by looking for a sample going well above pedestal. Actual parameter values are still to be checked