oilftir¶
FTIR-based condition monitoring of lubricating oils — ASTM E2412 toolkit
oilftir is a Python library for processing and analysing FTIR spectra of
used lubricating oils following the
ASTM E2412 standard.
Developed at the Chemistry Laboratory of CENADIF (Centro Nacional de Desarrollo e Innovación Ferroviaria, Argentina) for used-oil condition monitoring in the local railway industry.
from oilftir import load_spectrum, remove_baseline, astm_areas
df, meta = load_spectrum("used_oil.csv", magnitude="A")
df = remove_baseline(df)
areas = astm_areas(df)
print(areas)
Contents
License¶
MIT License — see LICENSE for details.