Ticket #135 (closed enhancement: moved)
Opened 2007-05-14T17:19:00-05:00
Last modified 2014-01-09T13:38:54-06:00
Support for spectral calibration
Reported by: | curtis | Owned by: | nor |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | slim-plotter | Severity: | serious |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by curtis)
Slim Plotter assumes that the lifetime histograms are relatively correct between channels, but that assumption is not really the case. In actuality, there is an expected intensity curve from lower to higher wavelengths, and an actual curve from the system that probably does not match perfectly. Slim Plotter could compare the expected to the actual intensity value at each physical spectral channel, compute a scale factor for each, and apply them to the lifetime histograms of the experiment.
- One file contains the "expected" spectral curve (i.e., single pixel per channel).
- Other files contain calibration information: system collection at a particular date. These calibration files are essentially experiment data with nothing under the scope.
- Slim Plotter needs to bin all pixels and lifetime bins for each physical spectral channel in the calibration files together. Wavelengths should be determined from the filename naming convention, since the information is not present in SDT. The resulting curve should be compared to the expected results, to compute scale values.
- The computed scale values could be cached based on file datestamps. That is, only recompute the scale values if the calibration files have been updated since the last computation.
- However, the problem of when an experiment was collected must be addressed. Older calibration files must be kept around, in case people want to read data corresponding to the era of that calibration. That is, Slim Plotter should only use calibration files from dates matching the experiment data. It is probably safest to take an educated guess about which calibration data to use, then allow the user to confirm the choice as part of the initial menu.
- Lastly, it should be possible to have multiple calibration files for a given era, because they need to cover more than 150 nm, which is what the 16-channel system currently spans. Also, to increase accuracy, it would be handy to drop in multiple calibration files per wavelength, which Slim Plotter would average.