Help on function calculate_opx_liq_press in module Thermobar.orthopyroxene_thermobarometry:
calculate_opx_liq_press(*, equationP, opx_comps=None, liq_comps=None, meltmatch=None, T=None, eq_tests=False, H2O_Liq=None, Fe3Fet_Liq=None)
Orthopyroxene-Liquid barometer, user specifies equation, and calculates pressure in kbar.
Also has option to calculate equilibrium tests.
Parameters
-------
opx_comps: pandas.DataFrame
Orthopyroxene compositions with column headings SiO2_Opx, MgO_Opx etc.
liq_comps: pandas.DataFrame
Liquid compositions with column headings SiO2_Liq, MgO_Liq etc.
Or:
meltmatch: pandas.DataFrame
Combined Opx-Liquid compositions.
Used for calculate_opx_liq_press_temp_matching.
EquationP: str
choose from:
| P_Put2008_eq28a
| P_Put2008_eq28b
| P_Put2008_eq28c
| P_Put_Global_Opx
| P_Put_Felsic_Opx
T: float, int, pandas.Series, str ("Solve")
Temperature in Kelvin
Only needed for T-sensitive barometers.
If enter T="Solve", returns a partial function
Else, enter an integer, float, or panda series
eq_tests: bool
If False, just returns pressure (default) as a panda series
If True, returns pressure, Values of Eq tests,
as well as user-entered opx and liq comps and components.
Returns
-------
If eq_tests=False
pandas.Series: Pressure in kbar (if eq_tests=False)
If eq_tests=True
pandas.DataFrame: Pressure in kbar + Kd-Fe-Mg + opx+liq comp
The list of available opx-liquid pressure functions below and the EquationP options above do not match. From Putirka 2008 I believe the options below are the correct ones.
The list of available opx-liquid pressure functions below and the EquationP options above do not match. From Putirka 2008 I believe the options below are the correct ones.