correct_resistivity_temperature¶
petrophys.interpretation.temperature.correct_resistivity_temperature
- correct_resistivity_temperature(
- resistivity,
- from_temp,
- to_temp,
- temp_unit='F',
- method='arps',
Correct resistivity from one temperature to another.
- Parameters:
resistivity (float or np.ndarray) – Resistivity value(s) to correct
from_temp (float or np.ndarray) – Original temperature
to_temp (float or np.ndarray) – Target temperature
temp_unit (str, optional) – Temperature unit: “F”, “C”, “K” or a label such as “degC”
method (str, optional) – Correction method (“arps” or “arp2”); other names raise
ValueError
- Returns:
Temperature-corrected resistivity
- Return type:
float or np.ndarray
Examples
>>> from petrophys.interpretation.temperature import correct_resistivity_temperature >>> rmf_75f = 0.85 # Rmf at 75°F >>> rmf_150f = correct_resistivity_temperature(rmf_75f, from_temp=75, to_temp=150)