calculate_rcl

petrophys.interpretation.clay_volume.calculate_rcl

calculate_rcl(
rdep,
vcl=None,
shale_mask=None,
vcl_threshold=0.9,
default_rcl=5.0,
statistic='median',
)[source]

Calculate clay resistivity from high-VCL zones.

Uses shale samples when an explicit shale mask is available. Otherwise it falls back to zones where VCL > threshold (nearly pure clay). With neither a mask nor VCL, every finite RDEP sample is used.

Parameters:
  • rdep (float or np.ndarray) – Deep resistivity log (ohm.m)

  • vcl (float or np.ndarray, optional) – Final VCLAY curve (fraction)

  • shale_mask (np.ndarray, optional) – Boolean mask identifying shale samples

  • vcl_threshold (float) – VCL threshold for pure clay identification (default: 0.9)

  • default_rcl (float) – Default Rcl if no pure clay zones found (default: 5.0 ohm.m)

  • statistic (str) – Reduction statistic to use over shale samples: “median” or “mean”

Returns:

Representative Rcl (ohm.m)

Return type:

float