Calkulate is a Python package for finding total alkalinity from titration data using PyCO2SYS.
pip install calkulate
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.
Calkulate is being developed primarily by Dr Matthew P. Humphreys at the Royal Netherlands Institute for Sea Research (NIOZ, Texel, the Netherlands).
While its results should be reliable, the package is still a work-in-progress intended primarily for the developers' own use, and not everything is documented. You are therefore strongly encouraged to get in touch if you're using it. Contributions are welcome!
If you use Calkulate in your work, please cite it as:
Humphreys, M. P. and Matthews, R. S. (2021). 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()
Calkulate is licensed under the GNU General Public License version 3 (GPLv3).