Friday, May 25, 2012

Chemistry Library: Using CIE lib and spectral data together

I've been working on a coding project in my spare time to do various computational things with Chemistry. One of the requirements being that I have a rather complete data set to work with, which includes-- among other things-- The complete spectra of every element possible in the periodic table in all of the various ionization states. This is a result of using CIE Lib to display the spectral power distribution of the line spectrum of the element Neon:

Click on the image for a larger size
Each spectrum is displayed in ascending ionization levels from top to bottom with the topmost line depicting the standard observer, so the neutral Neon atom is at the top, then singly ionized and so-forth. I've seen lots of graphical representations of spectra on the web, and I think I know why Neon seems so weird: They all show the singly-ionized atom, rather  than the neutral atom.

One item to note: In the full-size image, you may notice that the spectral lines are a bit thick, this is because the rendering method used in this application is to sweep the extremes of the visual spectrum and getting a value within a certain tolerance, the other way to render would be to just draw the spectral lines in order, which would give a much more crisp and accurate result. Maybe I'll do that on the next post!

No comments: