uvvis.load_sp

uvvis.load_sp(filename, lmin=-1, lmax=-1, smooth=True)

Basic support for PerkinElmer’s Lambda-series UV/VIS file format (*.sp). Reads out a single spectrum and generates a x-axis according to the xmin and xmax values stored in the file. No support for multiple spectra per file.

Parameters:
  • filename (str) – Filename(s) of the file(s) to load. Supports wildcards via glob. If several files match the pattern, the returned data is the average over these files.
  • lmin (float) – Set minimum wavelength of returned data (same units as stored wavelength). Return all when -1 (default).
  • lmax (float) – Set maximum wavelength of returned data (same units as stored wavelength). Return all when -1 (default).
  • smooth (bool) – If True, apply denoise() to data before returning (default).
Returns:

Wavelength axis and spectrum.