PerkinElmer plugin
The spectrochempy-perkinelmer plugin provides a reader for PerkinElmer
.sp binary IR files.
Install it with:
pip install spectrochempy[perkinelmer]
Use the namespaced API scp.perkinelmer:
import spectrochempy as scp
dataset = scp.perkinelmer.read("path/to/file.sp")
Compatibility aliases are also available:
dataset = scp.read_perkinelmer("path/to/file.sp")
dataset = scp.read_sp("path/to/file.sp")
Limitations
Only single-spectrum
.spfiles are supported.The
.prfformat is not supported.Metadata extraction depends on the presence of standard PerkinElmer blocks; files with incomplete metadata will still load but with reduced
metainformation.