eemkit¶
Python tools and a desktop application for fluorescence excitation-emission matrices (EEMs) of dissolved organic matter: instrument import, corrections, fluorescence indices and validated PARAFAC modelling, with every processing step recorded so that an analysis can be repeated exactly.

The desktop application can be downloaded for Windows, macOS and Linux and needs no Python.
Principles¶
- Nothing silent. Samples, blanks and absorbance spectra are paired in an explicit table that you check; values that depend on the measurement (such as cuvette path lengths) have no defaults; corrections refuse to run twice or in the wrong order.
- Every method has a source. Each correction, index and diagnostic cites the publication it follows.
- Provenance travels with the data. Datasets are
xarrayobjects that carry their metadata and the full processing history, and one settings file drives both scripts and the desktop application.
Install¶
You need Python 3.11 or later (on Windows, tick Add python.exe to PATH when
installing it). The [gui] part adds the desktop application and the
figures:
python -m pip install "eemkit[gui]"
Then start the application with:
python -m eemkit.gui
For the library alone, leave out [gui] (or use [plot] for figures
without the application). A stand-alone Windows build of the application,
which needs no Python, is attached to each
release.
To update to the latest release:
python -m pip install --upgrade "eemkit[gui]"
The development version, with changes not yet released, installs from GitHub:
python -m pip install --force-reinstall "eemkit[gui] @ https://github.com/LowCostSensor/eemkit/archive/refs/heads/main.zip"
python -m pip show eemkit tells which version is installed; the changes of
each version are in the
changelog.
Where to start¶
- Quick start: the whole chain from a script.
- Desktop application guide: the same chain without code.
- Command line: the same chain from a terminal, with an HTML report.
- Instruments and file formats: Cary Eclipse, Aqualog, Fluoromax, Hitachi F-7000, Shimadzu and plain matrices.
- Data model, Corrections, Indices, CDOM metrics, PARAFAC, Rivers, sites and dates, Figures: how each step works and which publication it follows.
- API reference.
Validation¶
eemkit was compared with the R package staRdom 1.1.32 (Pucher et al. 2019) on 205 river-water samples from the Ombrone basin, Italy (Polvani et al. 2026): corrected EEMs agree to a median relative difference of 2.2 × 10⁻⁴, FI, BIX and Coble peaks to machine precision, HIX to 3 × 10⁻⁴, and the 3-component PARAFAC models have Tucker congruence ≥ 0.999 for every loading. Against drEEM 2.26.03 (MATLAB; both its engines, N-way and parafac3w) the model has Tucker congruence ≥ 0.9999, the same explained variance, and core consistency within 0.1 %. Scripts and report: ombrone-fdom.
Citation and license¶
Cite eemkit as Cirrone, R. G. eemkit: EEM processing and PARAFAC modelling of dissolved organic matter fluorescence. Zenodo. doi:10.5281/zenodo.23982732, together with the methods you used. This DOI always points to the latest version; each release has its own DOI on the Zenodo page (0.2.0: 10.5281/zenodo.24015024; 0.1.0: 10.5281/zenodo.23982733). Full metadata: CITATION.cff. eemkit is free software under the GNU General Public License v3.0 or later.