Public Lab Wiki documentation

  • 7

Spectral Workbench

What is Spectral Workbench? is a web based application to collect, archive, share, and analyze spectral data, for Public Lab DIY spectrometers and other spectrometers.

With it, you can:

  • connect your USB Desktop Spectrometry Kit
  • 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

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.


Intro video


Do you code? The codebase of Spectral Workbench is available at 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.

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:


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!

Ask a question about Spectral Workbench

Title Author Updated Likes
I have a 3.0 spect andt cant download drivers, What should I do? @alanrday 29 days ago
Cannot find colour spectrum @SpencerH about 1 month ago
Fraunhofer Lines at higher resolutions? @stef 3 months ago
What are the units on the X axis for the spectrum capture for the Desktop Spectrometry Kit 3.0 @Schoster 3 months ago
Save and Download buttons -where does the file save or download to? @testtube 3 months ago
How to get spectral data in excel or other formats @suha 3 months ago
orientation of slit vs that of diffraction grating @wlkwong 4 months ago
Spectral Workbench recording time? @dhale2 5 months ago
Calibration of spectra fails @Paul_P 5 months ago
Why copy calibration does not apply? @aelobo 5 months ago
Show 36 more
Intensity for spectra too low? @chuynh451 6 months ago
Error on calibrating uploaded spectrum @sarahcm 6 months ago
how to delete my spectra on Spectral Workbench @redleon 7 months ago
Question: Calibration Issues @Anmar 8 months ago
Question: Can i upload csv files on spectralworkbench for calibration and other purposes? @shubham 8 months ago
Question: Is Global Warming primarily man-made or a natural occurring phenomena? @dhaffnersr 8 months ago
Question: Using a webcam with a image resolution of 1920x1020 @seko 10 months ago
Question: How to rename a set? @AndrewJamesLaplante 11 months ago
Question: How do I get the calibration user interface? @PeterDH 12 months ago
Question: Why average? And what happens to the second Green? @viechdokter 12 months ago
Difference CFL and Tube light? @Joris 12 months ago
Question: desktop spectrometer 3.0 light sensitivity @Joris 12 months ago
Question: Why won't the spectrum plot show once the image has been uploaded? @litar about 1 year ago
Question: Focus on mobile phone @clownfish about 1 year ago
Question: ccd camera on metascop @leanr about 1 year ago
Question: Getting the spectrometer to work with a Raspberry Pi? @anjohn12 about 1 year ago
Automated captures? @viechdokter about 1 year ago
Question: total beginner problems @viechdokter about 1 year ago
Question: Spectrometer using photosensor @Abhay7417 about 1 year ago
Question: How do I save the calibration data? @mokeymark about 1 year ago
Question: Micro volume spectrometer using arduino and light detecting resistor. @Abhay7417 about 1 year ago
Question: can't save spectrum anymore @eigentuininhuis about 1 year ago
can't get the calibration right @eigentuininhuis about 1 year ago
What size (width and height) of the image to vertical upload (blue top) in SpectralWorkbench? @asasergio over 1 year ago
Question: How do I measure the absorption spectrum of a sample? @lucca_fabani over 1 year ago
Calibrating @daniel94 over 1 year ago
Question: What does the vertical scale mean? @someHerrings over 1 year ago
Question: Is there a way to delete a set of spectra from the spectral work bench? @ethanbass over 1 year ago
Question: Help @porbe over 1 year ago
Question: Why I can not upload images to calibrate @congminhqt over 1 year ago
Question: downloading spectrum @mebaumga almost 2 years ago
Question: Stray light correction @SIMJEDI almost 2 years ago
Question: Colorimetry using the desktop spectrometer @mattiecaroline1991 almost 2 years ago
Question: deep UV @mebaumga almost 2 years ago
Question: @edilberto about 2 years ago
Question: "live" compare to camera feed @wecapa about 2 years ago

spectrometer spectralworkbench