hc_swirr

petrophys.interpretation.permeability.hc_swirr

hc_swirr(
sw,
rdep,
resflag,
rt_cutoff=5.0,
percentile=5.0,
min_samples=10,
fallback_swirr=0.20,
)[source]

Estimate irreducible water saturation from hydrocarbon-bearing samples.

The primary estimate is percentile(SW[resflag & RDEP > rt_cutoff]). When the mask has too few samples, a scalar fallback Swirr is returned.

Parameters:
Return type:

tuple[float, int, str]