A macro for linear calibration based on Chris Fastie's: http://spectralworkbench.org/macro/cfastie/CalibrateTemplate. Enter the pixel distance to each peak (zero left), and the known wavelengths for the 2 peaks.