uvvis - Analysis of UV/VIS and fluorescence data

Load and process UV/VIS spectra and related formats. Supports PerkinElmers old Lambda format. Provides also some short cuts to useful functions from the FSRStools.raman module.

Load Spectra

load(filename[, lmin, lmax, smooth, delim]) Loads a spectrum / set of spectra from ASCII file(s).
load_sp(filename[, lmin, lmax, smooth]) Basic support for PerkinElmer’s Lambda-series UV/VIS file format (*.sp).

Smoothing

binning(x, y, d) Return a binned version of x and y, where the new y values are calculated as the average over the bin width at the center of the bin.
denoise(y) Optimized smoothing of data based on Appl.
binsmooth(x, y, d) Returned smoothed version of x, y based on binning and cubic interpolation.

Data Selection

at(x, y, x0) Return the value of y with x-coordinate closest to x0.
cut(x, y, x0, x1) Cut a slice from x and y using the values in x.
get_OD(wl, spectrum, wl0) Returns the interpolated value of a spectrum at a wavelength wl0 using the wavelength axis wl.
getOD(wl, spectrum, wl0) Same as get_OD().

Fitting / Analysis

This module provides a limited set of fitting functions. For more elaborated tasks take a view at the FSRStools.fitting module.

fit_OO_spectrum(wl, spectrum[, show, delta]) Fit a single peaked spectrum with a gaussian and a constant offset.
get_concentration(spectrum, epspeak[, cuvL, ...]) Extract concentration of solute from UV/VIS spectrum and peak absorptivity of solute.