# PeakDetect Function Behavior and Parameters

I am currently using PeakDetect for a project, but I'm not sure how the sharpness parameter works. I can qualitatively tell what it's doing, but is there a more analytical/mathematical way to define sharpness?

We can see from my reimplementation of FindPeaks here that the sharpness parameter is a threshold that discards all peaks for which the negative of the second derivative is smaller than that threshold.
findPeaks1[data_, sigma_, s_] := Module[{sharpness},