skip to navigation
skip to content

xcal_raman 0.1.0

Module for x-axis calibration of Raman spectrometers

Latest Version: 0.1.5

This module provides functions for wavenumber calibration of Raman spectrometers. Currently it works only with binary SPE files, produced, for example, by winspec (Princeton Instruments software). Supported substances so far are polystyrene and cyclohexan (or any other, if you have a table with Raman shifts and 15 minutes of time).

One of the key features is that the script provides a detailed report of calibration in PDF format with a lot of plots.

Typical usage looks like this:

#!/usr/bin/env python

import xcal_raman as xcal
import winspec
cal_f, p = xcal.calibrate_spe("polystyrene.SPE", "dark.SPE",
                              material="polystyrene", figure=figure())
# We have calibration function, lets plot spectrum of some substance
s = winspec.Spectrum("substance.SPE")
plot(cal_f(s.wavelen), s.lum)
xlabel("Wavenumber, cm$^{-1}$")

Thanks to

The SPE files are read by script, which was written by James Battat and Kasey Russell. I modified it and commented out the calibration.

File Type Py Version Uploaded on Size
xcal_raman-0.1.0.tar.gz (md5) Source 2014-09-10 6KB