carbspec : pH and Alkalinity Determination by Spectral Fitting
Submitted Manuscript
High-Precision characterisation of indicator dyes by Spectral Fitting: Application to Swawater pH and Alkalinity measurements. Branson, O. & Ellwood, M. L&O Methods
Electronic supplements are available in the SI Folder.
Installation
pip install carbspec
Example Usage
from carbspec.io import load_spectrum # for reading files
from carbspec import spectro # for doing the work
spec = load_spectrum('./SI/data/pH/CRM1_DICKSON_D10_CRM_100211_03_12_2019.dat') # this data file is in the 'SI' folder of the reposiitory.
# NB Yo don't have to use 'load_spectrum' - the following function just requires two arrays containing wavelength and absorption.
spectro.pH_from_spectrum(s['wavelength'], s['Abs'])
> 3.570124144350996+/-0.006193756635537494
Further examples of pH and TA calculation on batches of files may be found in the Figures Supplement to the manusript.
Metadata
Release files for carbspec 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| carbspec-0.0.3.tar.gz | 38.7 kB | Without provenance | Details for carbspec-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| carbspec-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for carbspec-0.0.3-py3-none-any.whl |
Total release size: 86.4 kB
Release files / carbspec-0.0.3.tar.gz
| Download URL | carbspec-0.0.3.tar.gz |
|---|---|
| Size | 38.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
599d9d2090d29db6f4955c0b2930340f25671a2a0e3a688dfc7c71418368330d
|
|
BLAKE2b-256 checksum How to use checksums |
4cce181f78337fdf2020ecb7eba96adcd682b4df95d7784013cc348ca9fb087a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / carbspec-0.0.3-py3-none-any.whl
| Download URL | carbspec-0.0.3-py3-none-any.whl |
|---|---|
| Size | 47.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48efd8b27c2d089fb66f13e4d707bc0cccab23fa64763d7f4c5127f9722c8511
|
|
BLAKE2b-256 checksum How to use checksums |
bf5d88d1dba7ac6436d3c2b5f63394c4e9bfbb5fe7b017737634ff896e4ebd3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for carbspec 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.