Photoluminescence (PL) spectroscopy is a technique used in materials science, physics, and chemistry to analyse the optical properties of materials. It involves the excitation of a material using light and the measurement of the emitted light, providing insights into energy band structures, defect states, and material quality. Data from such experiments are often stored in .sif
files, a proprietary format used by Andor Solis spectrometers. Handling and processing these files efficiently is essential for extracting meaningful information in scientific workflows.
SIF-Tools is a lightweight Python toolkit designed to read .sif
data files from an Andor Solis spectrometer. This toolkit includes utilities for opening, analysing, and plotting data from .sif
files, providing a convenient way to handle spectrometer data in scientific workflows. The bareboned package converts otherwise unreadable files into numpy dataarrays, that can then be plotted using any plotting package, giving the user complete control over the output.
The SIF Tools package provides several powerful features:
.sif
files from Andor Solis spectrometers..sif
files.Install SIF Tools using pip:
pip install sif-toolkit
Alternatively, clone the repository:
git clone https://github.com/BjornFS/SIF-Toolkit.git
Example 1: Reading a single file:
from sif_tools import sif2array
file = '/Users/user/location/file.sif'
data = sif2array(target=file, reduce_noise=False, window='narrow')
Example 2: Working with hyperspectral data:
from sif_tools import hyperspectrum
bg = 'test_background.sif'
directory = 'UnitTests/UnitTest files'
data = hyperspectrum(directory=directory, background=bg, size=(4,4), reduce_noise=True, window='pinched')