Spectral Workbench
question:spectral-workbench

Support Public Lab Today! For the last twelve years, Public Lab has hosted SpectralWorkbench.org so that people everywhere can calibrate and analyze their spectra. Unfortunately, current circumstances have led us to scale back and take certain services offline. SpectralWorkbench.org will go offline as of August 15, 2022. The SpectralWorkbench platform runs on a combination of volunteer and paid labor by the many people that build, maintain, and operate it via Public Lab. This is an effective combination thanks to the culture of Public Lab's Coding Community. Public Lab's web ecosystem, including PublicLab.org, MapKnitter.org, SpectralWorkbench.org, Infragram.org and associated projects, takes 20 hours a week from three Code Coordinators and our sysadmin. While cost effective, it is not free. Web hosting and server costs for SpectralWorkbench are approximately $1000 per month. We are doing our best to sustain programming and support for our community, and we need your help. Thank you for being part of our community. We can't wait to be back online with you. Support Public Lab by making a donation today. ###What is Spectral Workbench? [SpectralWorkbench.org](https://spectralworkbench.org) is a web based application to collect, archive, share, and analyze spectral data, for Public Lab [DIY spectrometers](/wiki/spectrometer) and other spectrometers. With it, you can: * connect your USB [Desktop Spectrometry Kit](/wiki/desktop-spectrometry-kit-3-0) * scan and save samples * wavelength calibrate your spectrometer * plot light intensity as a function of wavelength (average digital consumer cameras have a range of 400 to 700 nm) * create sets of multiple spectra to visually compare and analyze scans * download CSV data for offline analysis * view others' data and discuss * find similar data in [a database of over 60k spectra](https://spectralworkbench.org/stats) No download is required -- just a web connection. The Chrome browser works best, but most standard-compliant browsers are supported. It is possible to use from an Android smartphone, preferably with the Firefox browser which allows you to specify which camera to look through. **** ###Contents * [Learn to use the software](/wiki/spectral-workbench-usage) * Learn about the [available tools](/wiki/spectral-workbench-tools) * Learn about [Calibration](/wiki/spectral-workbench-calibration) * Learn about the [Snapshots system](/wiki/spectral-workbench-snapshots) * Learn about the [Operations system](/wiki/spectral-workbench-operations) * [Spectrometry in general](/wiki/spectrometer) * [Applications & uses](/wiki/spectral-analysis) * [Construction](/wiki/spectrometer-construction) * [Desktop Spectrometry Kit](/wiki/desktop-spectrometry-kit-3-0) * [Foldable Mini-Spectrometer](/wiki/foldable-spec) * [Troubleshooting](/wiki/spectral-workbench-help) * [API Docs](/wiki/spectral-workbench-api) **** ###Intro video ## Browsers Spectral Workbench should work on Chrome (in Windows/Mac/Linux/Android, but not iOS), Firefox (Windows/Mac/Linux/Android), or Opera (Android). It may work on other browsers and we are working on expanding coverage; read more on this page: https://github.com/publiclab/spectral-workbench.js/issues/87 **** ## Development Do you code? The codebase of Spectral Workbench is available at https://github.com/publiclab/spectral-workbench. The server is written in Ruby on Rails, with a lot of client side code in JavaScript. You can read about [the JavaScript API here](/wiki/spectral-workbench-api). We really need more developers, so if you are interested, please get involved! A great place to start is the "plots-dev" mailing list for software developers: http://publiclab.org/wiki/developers **** ## FAQ We're collecting and working our way through a range of questions about Spectral Workbench -- if you can contribute your own questions, or answer others', please do! [questions:spectral-workbench] **** ## Troubleshooting If you feel you've encountered a bug with the software -- very possible! Please look through existing issues listed here, file a new one if you don't see something similar, and help to add any observations to existing issues shown here. Thanks for helping improve this open source software! [questions:spectral-workbench-issues] ...


Author Comment Last activity Moderation
abdul "@warren is there a chance to write a note about using a raspberry pi and post it as a build? I think others have had interest about this. Did we al..." | Read more » over 8 years ago
warren "(Moving my comment to an "answer" -- would you mind accepting this so it's marked as resolved?) Hi! You can calibrate after you have taken a spect..." | Read more » over 8 years ago
warren "Yes, the live capture has been limited to 640px wide, but some work has been done to resolve this -- it just hasn't been finished. You can find the..." | Read more » over 8 years ago
Anmar "This is one of them as I have been experience this for multiple uploads this week https://spectralworkbench.org/spectrums/84327 " | Read more » over 8 years ago
warren "Hi, can you link to your spectra so we can take a look? Thanks! " | Read more » over 8 years ago
warren "Yes! At https://spectralworkbench.org/upload. Also JSON format. " | Read more » over 8 years ago
warren "Hi, Andrew -- if this worked for you, could you mark this answer "Accepted"? This is a new feature on the site! Thanks. " | Read more » over 8 years ago
warren "There's now been a lot of work on this via WebValley and @cristoforetti -- take a look at #webvalley posts, and we managed to get it working! " | Read more » over 8 years ago
warren "Yes, it there should be an edit link (with pencil icon) under the "description" tab to do this. " | Read more » over 8 years ago
warren "Hmm, it looks like there's a bug in the "edit" link -- I've filed a fix and it will go up soon, but until then you can change the word "set" to "se..." | Read more » over 8 years ago
warren "Hmm, that's odd -- is it your own set? can you share a link to the set in question? Thanks! " | Read more » over 8 years ago
pdhixenbaugh "Hey Andrew, welcome to the public lab website! I'm actually curious about this too -and hopefully somebody will come by soon and let us know. You c..." | Read more » over 8 years ago
AndrewJamesLaplante "@warren ... Im unable to find the delete button (non-existant) " | Read more » over 8 years ago
PeterDH "Thanks very much. That's the hint I needed, and I got calibration to work fine. Peter " | Read more » over 8 years ago
stoft "But that was part of my point -- the camera does 'raw-capture' processing on the sensor's 12-14bit detector data before it gives you the 'raw' data..." | Read more » over 8 years ago
cfastie "I think if you capture camera raw you have a single number (DN) for each pixel and you know what kind of Bayer filter that pixel was under. The DN ..." | Read more » over 8 years ago
stoft "Hmmm ... remember that the jpeg data is derived from MANY pixels which were run thoguht demosaicing from the RGGB filtered data, so unless you had ..." | Read more » over 8 years ago
warren "We'd have a lot more to work with if we knew which pixels were originally red vs green vs blue, and we could probably make more intelligent decisio..." | Read more » over 8 years ago
stoft "Sure. No, it's not a photon count, but it is related -- though the DSLR is attempting to extract data that represents a film negative. To do that, ..." | Read more » over 8 years ago
viechdokter "Thanx for explaining all this. Uhm, these "raw pixel data" you talked about, is THIS an electron/photon count? And if so, how long does the normal ..." | Read more » over 8 years ago
stoft "Right, the (R+G+B)/3 average contains all the camera can deliver. [Aside: There are, however, separate 'weighted' formulas for combining RGB to get..." | Read more » over 8 years ago
viechdokter "Ah, okay, I forgot about the "%" sign. I knew I was missing something. Just didn't know what exactly. Thanx for the quick answers. " | Read more » over 8 years ago
dhaffnersr "hey viechdokter, the "scratched off" ccd screen, is the color film on the sensor's surface, very tricky and very risky to attempt it, but what hap..." | Read more » over 8 years ago
cfastie "In Spectral Workbench the Y-axis on the spectrogram is "Intensity (%)." If you took the sum of all three channels and plotted them on the same grap..." | Read more » over 8 years ago