HcCorrectionModule¶
petrophys.interpretation.porosity.hydrocarbon_correction.HcCorrectionModule
- class HcCorrectionModule(
- hc_type='oil',
- rho_ma=2.65,
- rho_fl=1.0,
- phi_cl=0.15,
- rho_cl=2.45,
- rho_hc=None,
- hydrogen_index=None,
- floor_porosity=None,
Hydrocarbon correction for neutron and density.
Attributes
Count a negative preliminary porosity as 0 in the density correction (see
correct_density_hc()).Methods
Add HC-corrected curves to well.
Apply HC corrections to well data.
- Parameters:
- floor_porosity¶
Count a negative preliminary porosity as 0 in the density correction (see
correct_density_hc()).
- calculate(well, sxo=None, phi=None, vcl=None)[source]¶
Apply HC corrections to well data.
When VCL is available, uses the design doc’s preliminary porosity approach for more accurate corrections.
- Parameters:
well (Well) – Well object with NPHI and RHOB curves
sxo (np.ndarray, optional) – Flushed zone water saturation
phi (np.ndarray, optional) – Porosity estimate (fallback if VCL not available)
vcl (np.ndarray, optional) – Volume of clay (enables preliminary porosity approach)
- Return type:
HcCorrectionResult