publiclab / spectral-workbench

Web-based tools for collecting, analyzing, and sharing data from a DIY spectrometer
http://spectralworkbench.org
GNU General Public License v3.0
128 stars 158 forks source link

nonlinear calibration macro #55

Open jywarren opened 9 years ago

jywarren commented 9 years ago

More info here: https://github.com/jywarren/spectral-workbench/issues/187

jywarren commented 9 years ago

@Stoft1 writes:

I discovered why there's been some residual peak misalignment with listed wavelengths after a SWB CFL calibration; which some have attempted to fix using complex polynomial curve-fit algorithms. The present calibration is based only on a linear 2-point approximation. However, it would be better to use a calculation for dispersion based on the diffraction angle light being intercepted by a flat image plane. See research note: http://publiclab.org/notes/stoft/03-02-2015/cfl-cal-error-explained for more discussion on the topic.