pyEnvipat
=========

This package is a Python port of the R package `enviPat`, originally
developed at Eawag (Swiss Federal Institute of Aquatic Science and
Technology) by Martin Loos and Christian Gerber:

  Loos, M., Gerber, C., Corona, F., Hollender, J., Singer, H. (2015)
  "Accelerated Isotope Fine Structure Calculation Using Pruned
  Transition Trees", Analytical Chemistry.
  doi:10.1021/acs.analchem.5b00941

Copyright (C) 2012-2015 Eawag (original R package and C algorithm
cores, written by Martin Loos and Christian Gerber as Eawag employees;
see per-file headers under the vendored C sources for original creation
years and copyright statements, kept verbatim).

Copyright (C) 2026 Eawag (Python port, written by Johannes Boog as an
Eawag employee; see AUTHORS).

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation. See the LICENSE file for
the full license text.

This is a derivative work: the C extension vendors the original
algorithm C sources (isotope.c, element.c, parse.c, peak.c, profile.c,
combination.c) unmodified, and `iso_core.c`/`iso_core.h` are extracted
directly from the original `main.c` as a structural (non-algorithmic)
refactor. The Python layer re-implements the R package's pipeline
functions from scratch, reproducing their documented numeric behavior;
any intentional deviations from R's behavior (bug fixes, pythonic API
changes) are disclosed in the corresponding merge request descriptions,
not silently introduced. See AUTHORS for full attribution.
