FT4FTIRS
FT4FTIRS (Fourier Tranform for Fourier Transform Infrared Spectroscopy) is a Python package for processing interferograms from FTIR (Fourier Transform Infrared Spectroscopy) data. It supports reading Bruker OPUS files, processing interferograms (apodization, zero-filling, Fourier transform), and extracting spectra for further analysis.
Installation
You can install the package using pip:
pip install ft4ftirs
Quick start
from ft4ftirs.io.bruker_opus import BrukerOpusReader
from ft4ftirs.processing.pipeline import SpectralPipeline
# Load an interferogram plus the instrument-recommended apodizer and
# phase corrector from a Bruker OPUS file.
reader = BrukerOpusReader()
data = reader.load("sample.0")
# Run the interferogram -> single-beam spectrum pipeline (apodization,
# zero-filling, FFT and phase correction).
pipeline = SpectralPipeline(data["apodizer"], data["phase_corrector"])
spectrum = pipeline(data["interferogram"])
print(spectrum.wavenumbers, spectrum.intensities)
See examples/example_opus.py for a complete, runnable script.
Package layout
ft4ftirs.data—InterferogramandSpectrumcontainers.ft4ftirs.io— instrument file readers (currently Bruker OPUS).ft4ftirs.processing— apodization, ZPD finding, phase correction, and theSpectralPipeline.ft4ftirs.analysis— transmittance/absorbance/reflectance conversion and spectral quality metrics.
Metadata
Release files for ft4ftirs 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ft4ftirs-1.0.0.tar.gz | 33.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ft4ftirs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.5 kB
Release files / ft4ftirs-1.0.0.tar.gz
| Download URL | ft4ftirs-1.0.0.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc1255045d3ee4262f879e786850529d18b3c0fca07c2449f958bbad1618c4e9
|
|
BLAKE2b-256 checksum How to use checksums |
42b45251df50acdd5e8046d096e7ab72954a9bb7986aa989e50b12784a101311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ft4ftirs-1.0.0-py3-none-any.whl
| Download URL | ft4ftirs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 39.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d74c453b0b594d1ceb1e98f1b9ea2875cc3b4b2cf3234935c623099d6982bab4
|
|
BLAKE2b-256 checksum How to use checksums |
2b0a5a974f8fd3ca16dc10f302cccbfde609c5999a6d6b3c7529993e0b54ccde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|