Log In via Public Lab

You can use a previous fluorescent bulb spectrum from the same spectrometer to calibrate this spectrum, as long as the device has not been modified.

First, choose a recent calibrated spectrum; the most recent is selected by default:

**You must be logged in to copy a calibration.**

Use the in-development Spectral Workbench API to run scripts (macros).

Title | Description | Author | Link | Actions |
---|---|---|---|---|

hello-world |
It says "hello world"! | warren | http://unterbahn.com | |

CalibrateTemplate |
A template for linear calibration. Enter the spectrum id, the pixel distance to each peak (zero left), and the known wavelengths for the peaks. Wavelengths for two known peaks for CFL are entered. | cfastie | https://gist.gith... | |

set_graph_height |
Sets the graph maximum y-axis height | warren | https://gist.gith... | |

smooth_nosave |
Prompts you for a pixel row and # of lines to smooth, and averages them. Does not yet save. | warren | https://gist.gith... | |

peak_detection |
Peak detection by Peter Davidowicz, additions by jywarren | warren | https://gist.gith... | |

absorption_detection |
Valley detection, based on peak detection macro by Peter Davidowicz, adapted by jywarren (https://gist.github.com/jywarren/6020668) | warren | https://gist.gith... | |

linear_calibration |
A macro for linear calibration based on Chris Fastie's: http://spectralworkbench.org/macro/cfastie/CalibrateTemplate. Enter the pixel distance to each peak (zero left), and the known wavelengths for the 2 peaks. | warren | https://gist.gith... | |

Fastie-emission-absorption-curve |
Implementation of Fastie's macro for identifying emission or absorption lines. see: https://github.com/jywarren/spectral-workbench/issues/184 | nathanathan | https://gist.gith... | |

test1 |
test1 | samnb | https://github.co... | |

equalize_area |
equalizes the area under the curve of any spectra displayed | warren | https://gist.gith... | |

autosize_y |
A macro to set the y-axis scale to auto-size | warren | https://gist.gith... | |

33333 |
3333 | traeuma | https://github.co... | |

equalize-height |
equalizes the height of the graphs of any spectra displayed in SpectralWorkbench.org | warren | https://gist.gith... | |

smooth_save |
Smooths in 10 rows of data below your current sample row, and averages them. Saves! No ability yet to choose how many rows to smooth, but not hard to add. | warren | https://gist.gith... | |

centroidish |
Calculate center of area for a graph -- draws a vertical line which bisects the area of the graph equally | warren | https://gist.gith... | |

subset |
Clip off the top and bottom 2% by area from each end of the data (averaging for multiple graphs) for a better use of graph real-estate on SpectralWorkbench.org | warren | https://gist.gith... | |

attempt_auto_calib |
Test code for auto calib | sreyanth | https://gist.gith... | |

centroidish_continuous |
continuous version of https://gist.github.com/jywarren/3791c67384c88d53f155 which draws a vertical line which bisects the area of the graph equally, on SpectralWorkbench.org -- for capture mode | warren | https://gist.gith... | |

centroidish_cutoff |
Calculate center of area for a graph -- draws a vertical line which bisects the area of the graph equally, on SpectralWorkbench.org. This variant only counts data between 410-700nm. | warren | https://gist.gith... | |

plotting |
yes | rsegoly | https://github.co... | |

003 |
003 | rsegoly | https://github.co... | |

ronitest1 |
test1 | rsegoly | https://gist.gith... | |

wavelength |
wavelength | thiencang | http://spectralwo... | |

java |
java | archa | https://publiclab... | |

smooth_save |
smooth_save | robotp | https://spectralw... | |

test |
test | alvaro283 | https://github.co... |

The macro publishing and sharing system is under construction. To share your macros, please email the mailing list at plots-spectrometry@googlegroups.com -- ideally with a link to your macro on gist.github.com and it will be added.

To generate data, we look at the brightness of one slice of the image. Here, click on the image to choose which row to sample from.

**You must be logged in to choose a sample row.**