calculate_rw¶
petrophys.interpretation.electrical.rw.calculate_rw
Also available as petrophys.interpretation.electrical.calculate_rw
- calculate_rw(
- well=None,
- method='auto',
- rw_given=None,
- salinity=None,
- rmf=None,
- temperature=None,
- **kwargs,
Calculate formation water resistivity.
Convenience function for RwModule.
- Parameters:
well (Well, optional) – Well object
method (str, optional) – Calculation method
rw_given (float, optional) – Given Rw value
salinity (float, optional) – Formation water salinity (ppm)
rmf (float, optional) – Mud filtrate resistivity
temperature (float or np.ndarray, optional) – Formation temperature, degF. Without it the well’s temperature is used (TEMP curve, else a profile from the header BHT); without a well either,
method="salinity"computes Rw at an assumed 150 degF, with aDataQualityWarning.**kwargs – Additional arguments
- Returns:
Formation water resistivity
- Return type:
float or np.ndarray
Examples
>>> rw = calculate_rw(method="salinity", salinity=50000, temperature=150)