Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
Might want to say somethign along those lines then