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
KIAS "I am also having difficulty to load the main page, capture spectrum and also to save the data. It takes too long to log in as well. I am having th..." | Read more » over 6 years ago
silvi_ap51 "ohh, I see, and 2 days ago i can work with it without any problem and use other browser (opera, not chrome). but since yesterday it happened again..." | Read more » over 6 years ago
SarahC "It's slow again today - 2 minutes and the "capture" page is yet to appear, all the other sites in Chrome refresh fine. " | Read more » over 6 years ago
warren "Hi, silvi_ap51 - sorry you're having trouble -- we had some server slowness that may have caused this. @icarito has been working on it. Can you try..." | Read more » over 6 years ago
warren "Hi, I believe you should be able to rotate the picture after uploading, but there should also be a "vertical" checkbox you can check or uncheck -- ..." | Read more » over 6 years ago
dcanprdn "See https://spacemath.gsfc.nasa.gov/astrob/5Page55.pdf The lambda max of the spectrum (i.e. maximum wavelength) in nm is plugged into the equation ..." | Read more » almost 7 years ago
Ag8n "The spectrum won't match. White LEDs don't produce constant light over the whole visible spectrum, unless you get expensive ones. There is typica..." | Read more » almost 7 years ago
warren "Hi, @mountevans -- when you go to the graph page after Save, there is a row of buttons for downloading the raw data: For example on this page: h..." | Read more » almost 7 years ago
stoft "Color temperature is the perceived 'color' of light emitted from an ideal black-body radiator due to it's physical temperature in deg-K. An ideal b..." | Read more » almost 7 years ago
mountevans "I am using that website. I have tried both before and after clicking the "offline" option. During acquisition there are buttons labeled "Save" an..." | Read more » almost 7 years ago
warren "Yes, there is an exports section below and to the left of the graph with a few download options -- this is for http://spectralworkbench.org, right? " | Read more » almost 7 years ago
Ag8n "Don't know if it will work with the foldable spectrometer or your software. But here is some work done not long ago on the same topic. You can fi..." | Read more » almost 7 years ago
Reallygeek "I also tried to "override" by making this: https://docs.google.com/document/d/1cctjKW-4lCkrBZuILErFq1bBNidR6Igmm5zh9k_wvFo/edit?usp=sharing but I'..." | Read more » almost 7 years ago
warren "For specifically what's done in the code, see these lines: Here, the image data is stored (in 0-255 format) in JSON for storage in the database: ..." | Read more » almost 7 years ago
Reallygeek "Ok so all I did was, $W.getCrossSection= $W.data; which gave me the data one time, then every half second I got "$W.getCrossSection is not a functi..." | Read more » almost 7 years ago
cfastie "So, the values in the graph are computed as follows? The values from the camera for each channel (R, G, B) range from 0 (no light) to 255 (maximum..." | Read more » almost 7 years ago
stoft "The vertical scale is purely relative, representing the combined RGB responses where 100% represents the clipping level for any of the RGB channels..." | Read more » almost 7 years ago
Ag8n "It sounds like Warren answered the question. I can give some more background. Proteins contain nitrogen, which isn't present in many other milk c..." | Read more » almost 7 years ago
warren "Hi, would this help? https://publiclab.org/notes/wagnerc4/02-05-2014/fat-percent-in-milk I think it's fat percent, not proteins, but it could be s..." | Read more » almost 7 years ago
warren "Good to hear, thank you too! " | Read more » almost 7 years ago
El_Capitan "Warren, Thanks for all your help. It seems like it was something weird with my account, I logged out and am using a friends account and it seems to..." | Read more » almost 7 years ago
storacremu "I'm currently logged into publiclab.org in the window next to it. When I click on "log in" on the SpectralWorkbench.org website menu and enter my u..." | Read more » almost 7 years ago
warren "That's right! We thought 0-100 would be more familiar to people, but the original values are preserved in the raw data. " | Read more » almost 7 years ago
warren "Ah, ok! Based on your screenshot you're at the first screen. You can enter your username and it should direct you to PublicLab.org where you can lo..." | Read more » almost 7 years ago