Spectrum Processing • Peak Assignment Assistance • Scientific Visualization
سَنُرِيهِمْ آيَاتِنَا فِي الْآفَاقِ وَفِي أَنفُسِهِمْ حَتَّىٰ يَتَبَيَّنَ لَهُمْ أَنَّهُ الْحَقُّ
"আমরা অতিশীঘ্রই তাদেরকে আমাদের নিদর্শনসমূহ দেখাবো দূর-দিগন্তে এবং তাদের নিজেদের মধ্যে, যতক্ষণ না তাদের কাছে স্পষ্টভাবে ফুটে ওঠে যে এটিই সত্য।"
"We will show them Our signs in the horizons and within themselves until it becomes clear to them that it is the truth."
— Surah Fussilat (41:53)
FTIR Lab is an open-source desktop application for FTIR spectrum processing, analysis, annotation, and publication-quality visualization. It is designed to be approachable for a new researcher while retaining the controls needed for reproducible scientific work.
Unlike general-purpose plotting software, FTIR Lab brings preprocessing, peak detection, literature-guided assignment assistance, and journal-oriented export into one workflow. It does not use AI or machine learning for scientific interpretation.
- Asymmetric Least Squares (AsLS) and rubber-band baseline correction
- Savitzky–Golay smoothing with guided and custom window sizes
- Optional interpolation of atmospheric artifact regions
- Automatic or user-controlled normalization and band direction
- Automatic peak detection with adjustable prominence, separation, range, and limit
- Manual peak selection directly on the spectrum
- Individually editable peak labels and custom text annotations
- Editable functional-group reference library with citations and DOI fields
- Literature-guided assignment suggestions with user confirmation
- Stacked, overlaid, and vertically separated multi-spectrum layouts
- Reorderable spectra, editable curve names, colors, and line styles
- Direct labels beside curves or conventional legends
- Automatic chemical subscripts such as CaCl₂, SiO₂, and B₂O₃
- Live export preview and responsive typography
- Single-column, double-column, and custom-size publication presets
- PNG, SVG, TIFF, and PDF output
- Peak tables exportable to Excel or CSV
- Portable
.hftir.jsonproject files containing spectra and settings - Analysis-summary export containing processing parameters and provenance
- Permanent automated tests for core scientific and data-handling functions
- Download the Windows ZIP from Releases.
- Extract the ZIP completely.
- Open the extracted folder.
- Double-click FTIR Lab v3.1.exe. Python is not required.
Download and extract the package for your operating system from the Releases page. Because the application is not yet code-signed, the operating system may ask you to confirm that you trust the downloaded application.
python -m pip install -r requirements.txt
python -m ftir_lab.splash_launcher_standard_v3Input: .csv, .xlsx, .xls
Plot export: .png, .svg, .tiff, .pdf
Data export: .xlsx, .csv, .json
- Add spectra — import one or more FTIR data files.
- Smooth — apply the smallest suitable Savitzky–Golay window.
- Detect peaks — use automatic detection, then refine peaks manually.
- Suggest groups — review literature-guided functional-group suggestions.
- Export plot — select the layout and publication dimensions.
- Export to Excel — save peak positions, intensities, assignments, and references.
Functional-group results are suggested assignments, not definitive compound identification. Verify every suggestion against sample chemistry, the complete spectrum, appropriate controls, expected band shapes and shifts, and the cited literature. Automated peak detection and baseline correction must also be visually reviewed before publication.
The workflows in .github/workflows/ run the permanent regression tests and
build separate artifacts for Windows, macOS, and Linux. The tests remain in the
repository but are not something ordinary users need to install or run.
Maintainers can open Actions → Build desktop packages → Run workflow to produce the three downloadable packages.
FTIR Lab is released under the GNU GPLv3 License.
If you use FTIR Lab in research or a publication, please cite the archived software record. Update the displayed version number on Zenodo when depositing the v3.1 release.
Farazi, K. A. (2026). FTIR-Lab (Version 3.1) [Software]. Zenodo. https://doi.org/10.5281/zenodo.21766542
@software{farazi_2026_ftirlab,
author = {Farazi, K. A.},
title = {FTIR-Lab},
version = {3.1},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.21766542},
url = {https://doi.org/10.5281/zenodo.21766542}
}FTIR Lab is built on the belief that scientific inquiry, empirical investigation, and research tools should be transparent, accessible, and shared openly for the advancement of knowledge.
قُلْ أَرَأَيْتُمْ إِن كَانَ مِنْ عِندِ اللَّهِ ثُمَّ كَفَرْتُم بِهِ مَنْ أَضَلُّ مِمَّنْ هُوَ فِي شِقَاقٍ بَعِيدٍ
"বলুন, 'তোমরা ভেবে দেখেছ কি, যদি এ কুরআন আল্লাহর কাছ থেকে নাযিল হয়ে থাকে আর তোমরা এটা প্রত্যাখ্যান কর, তবে যে ব্যক্তি ঘোর বিরোধিতায় লিপ্ত আছে, তার চেয়ে বেশী বিভ্রান্ত আর কে?'"
"Say, 'Have you considered: if the Qur'an is from Allah and you disbelieved in it, who is more astray than one who is in extreme dissension?'"
— Surah Fussilat (41:52)
