Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
maybe add a comment that this is expected behavior and when this `NotException` is raised