vcl_from_gr¶
petrophys.interpretation.clay_volume.vcl_from_gr
- vcl_from_gr(gr, gr_min, gr_max, method='linear')[source]¶
Calculate clay volume from gamma ray using specified method.
- Parameters:
gr (float or np.ndarray) – Gamma ray values (API)
gr_min (float) – Clean formation GR (API), used as given.
gr_max (float) – Shale GR (API), used as given. Baselines picked automatically from the log can be bounded first with
bounded_gr_baselines().method (str, optional) – Method to use: - “linear”: Linear IGR - “larionov_tertiary”: Larionov for tertiary rocks - “larionov_older”: Larionov for older rocks - “stieber” (also read as “steiber”): Stieber equation - “clavier”: Clavier equation
- Returns:
Clay volume (0-1)
- Return type:
float or np.ndarray
Examples
>>> from petrophys.interpretation.clay_volume import vcl_from_gr >>> vcl_from_gr(np.array([20.0, 60.0, 100.0]), gr_min=20, gr_max=100) array([0. , 0.5, 1. ])