net_flags¶
petrophys.evaluation.net_pay.net_flags
- net_flags(vcl, phie, sw, vcl_cutoff=0.3, phie_cutoff=0.08, sw_cutoff=0.7)[source]¶
Generate net rock, reservoir, and pay flags.
Net rock is
VCL < vcl_cutoff; net reservoir addsPHIE > phie_cutoffand net pay addsSw < sw_cutoff. A sample exactly at a cutoff, or with a missing (NaN) value, fails that test.- Parameters:
vcl (np.ndarray) – Clay volume
phie (np.ndarray) – Effective porosity
sw (np.ndarray) – Water saturation
vcl_cutoff (float) – VCL cutoff (default: 0.3)
phie_cutoff (float or np.ndarray) – PHIE cutoff. Scalar applies uniformly; array allows per-depth cutoffs (e.g. 0.08 for clastics, 0.045 for carbonates).
sw_cutoff (float) – Sw cutoff (default: 0.7)
- Returns:
Dictionary with flag arrays
- Return type: