Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for spectral calibration #7

ctrueden opened this issue Jan 9, 2014 · 0 comments

Support for spectral calibration #7

ctrueden opened this issue Jan 9, 2014 · 0 comments


Copy link

@ctrueden ctrueden commented Jan 9, 2014

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.


@ghost ghost assigned ctrueden Jan 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.