Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
can you add something like `peak height relative to background` in place of, or in addition to, `peak-to-peak`. Same thing wherever you use `peak-to-peak` in the comments