mescla.prep.qaqc¶
Quality checks to run before any mixing analysis.
A mixing calculation cannot tell you that an analysis is wrong – it will happily apportion a charge-imbalanced sample among your end-members and return confident numbers. These checks are the cheapest protection available, and they belong at the top of every notebook.
Functions
Charge balance error in percent, per sample. |
|
Per-sample charge balance with a pass/fail flag. |
|
Count values at or below the detection limit, per species. |
|
Compare measured EC with EC estimated from the ion sum. |
|
Estimate electrical conductivity (uS/cm) from the cation sum. |
|
Count missing values per species, with the count of complete samples. |