Skip to content

mvdh7/calkulate

Repository files navigation

Calkulate

Tests PyPI version DOI Docs Coverage License: GPL v3 Code style: black

Calkulate is a Python package for finding total alkalinity from titration data using PyCO2SYS.

Installation

pip install calkulate

Use

If the data for each individual titration is in its own text file and you have a spreadsheet containing the metadata for each titration on separate rows — all formatted as expected — then all you need to do with Calkulate is:

import calkulate as calk
data = calk.read_csv("path/to/metadata_file.csv").calkulate()
data.alkalinity  # <== here are your alkalinity results

For more detail, see the online documentation.

About

Calkulate is being developed primarily by Dr Matthew P. Humphreys at the Royal Netherlands Institute for Sea Research (NIOZ, Texel).

Citation

If you use Calkulate in your work, please cite it as:

Humphreys, M. P. and Matthews, R. S. (2024). Calkulate: total alkalinity from titration data in Python. Zenodo. doi:10.5281/zenodo.2634304.

Please report which version you are using. To find this out:

import calkulate as calk
calk.hello()

License

Calkulate is licensed under the GNU General Public License version 3 (GPLv3).