A light-weight package for Andor SIF file analysis
Project description
SIF-Tools
SIF-Tools is a light-weight Python toolkit designed to read .sif
data files from an Andor Solis spectrometer. This toolkit includes a set of utilities for opening, analyzing, and plotting data from .sif
files, providing a convenient way to handle spectrometer data in scientific workflows.
This Toolkit borrows, and is adapted, from sif_parser by fujiisoup.
Features
- Read .sif files: Efficiently load and parse
.sif
files from Andor Solis spectrometers. - Data manipulation: Tools for handling and processing spectrometer data.
- Visualization: Plot data directly from
.sif
files.
Requirements
- Python >= 3.6
- NumPy
- Scipy
Installation
- Pip install
pip install sif-toolkit
- Clone the repository
git clone https://github.com/BjornFS/SIF-Toolkit.git
Usage
Importing SIF-Tools in a Python Script
Calling functions directly:
from sif_tools import sif2array
file = '/Users/user/location/file.sif'
data = sif2array(target=file, reduce_noise=False, window='narrow')
or
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')
which produces the data structure to create:
See examples for more functions and usage.
Support
If you encounter any issues or have questions, feel free to open an issue on the GitHub repository.
Contributing
We welcome contributions! Please fork the repository and submit pull requests.
Authors
- Bjorn Schroder, Technical University of Denmark
- Bjornfschroder@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for sif_tools-1.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5e428ef063e10677c8ccccd2cb20b0616d23535d3df02b35372ad3309fea71e |
|
MD5 | ae591e384d4a02911649c92271bdd1c4 |
|
BLAKE2b-256 | f3c15e795e87fa1e1b1f9ee3688a078b3c8fd2b4b1810d6fedc5609f6f59de40 |