Public Lab Research note


Wavelength range limiting in Spectral Workbench

by warren | August 06, 2015 19:39 06 Aug 19:39 | #12125 | #12125

Just a quick announce -- after the big revision of Spectral Workbench went live last week, I also posted a few new features, including one we'd discussed on the mailing list -- range limiting.

Now, you can tag spectra that you own with a tag in the format range:min-max -- as in, range:400-800 -- to highlight a region you want to use in your analysis. For example, if your device has wide swaths of unusable range above and below your spectrum, as in this spectrum, you can have only a narrower band shown in sets.

Screenshot_2015-08-06_at_3.38.14_PM.png

I haven't yet figured out if we're going to "mute" data outside that range when viewing just one spectrum, but it seems likely -- we'll show a notice too saying "this spectrum is being displayed only between 400-800 nanometers. View entire dataset" or something.

This is also important as any "equalizing" or other processing of the set will run only on the range of spectrum data displayed, so for example in the Oil Testing Kit procedure, we'll be able to set the range to not include the laser peaks, making equalizing height or area more consistent.

Once you've added a tag, any sets displaying the spectrum with the new 2.0 sets display, to be made default soon, will only show this range. See, for example, https://spectralworkbench.org/sets/show2/2446

As compared to a screenshot of the previous, unclipped set:

before


In other news, I've done a very very preliminary backwards-compatible port of the Macros system to the new 2.0 graphing system, which means we can run a somewhat buggy "equalize height" script, resulting in this case in the following (screenshot, as the macro doesn't currently save the equalized height):

Screenshot_2015-08-06_at_3.26.05_PM.png

I'm not totally sure why the dips to zero occur, but I'll figure it out soon.


1 Comments

those flat spots are the clipping I warned about in my note: https://publiclab.org/notes/mathew/09-23-2014/graded-oils-using-uv-fluorescence

clipped spectra

Reply to this comment...


Login to comment.