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