olm.calcite.pwpFromSolution¶
- olm.calcite.pwpFromSolution(sol, PCO2=None, method='theory')[source]¶
Calculates the PWP dissolution rate from a solution object.
- Parameters:
- solsolution object, numpy.ndarray, or pandas Series
An olm solution object for which the calcite dissolution rate will be calculated.
- PCO2float
The partial pressure of CO2 for the solution. If not given, it will be calculated from the solution object using PCO2FromSolution().
- methodstring
A string that is equal to ‘theory’, ‘pascal’, or ‘franci’ that specifies the version of the PWP equation to use.
- Returns:
- Rfloat, numpy.ndarray, or pandas Series
calcite dissolution rate according to the PWP equation (mmol/cm^2/s)