Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
give this function an attribute which are the valid `pixel_to_1D_func` 's