bounded_gr_baselines¶
petrophys.interpretation.clay_volume.bounded_gr_baselines
- bounded_gr_baselines(gr_min, gr_max)[source]¶
Bound GR baselines picked from the log:
(min(gr_min, 20), max(gr_max, 100)).A guard for automatic picks (log percentiles or extremes), not a rule of the method: where the logged section holds no real shale or no real clean rock, its GR is nearly flat, and picks taken from it would stretch the gamma-ray index across noise and inflate clay volume (the COSTA files, reservoir only, read 9-20 API at P5/P95). Baselines a user sets are used as given. On a well whose clean rock is radioactive (feldspathic or volcanic sands) the bound overstates clay: set
gr_minfrom a known clean sand there.Examples
>>> bounded_gr_baselines(8.8, 20.5) (8.8, 100.0) >>> bounded_gr_baselines(64.8, 123.8) (20.0, 123.8)