Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
does it have to be in pixels? will floats work?