SP SP Perkin Elmer binary format.

Extensions: .sp

Plugin to read SP file which stores IR spectroscopic data.

The file format is used by Perkin Elmer IR instrument.

Examples

>>> from specio import specread
>>> from specio.datasets import load_sp_path
>>> spectra = specread(load_sp_path())
>>> spectra.wavelength
array([ 4000.,  3999.,  3998., ...,   702.,   701.,   700.])
>>> spectra.amplitudes 
array([ 0.03723936,  0.03718614,  0.03713289, ...,  0.00313506,
        0.00368404,  0.00417556])