Peak finding

Work on finding peaks in 1D curves to support automatic calibration.
From equation 2*d*sin(theta) = lambda, the d, theta and lambda are interdependent. So do we need to provide all the information here?