solve_carbonate_minerals

petrophys.interpretation.lithology.carbonate_minerals.solve_carbonate_minerals

solve_carbonate_minerals(
well,
calibration='generic',
*,
rho_fluid=None,
rho_clay=None,
density_tolerance=DENSITY_TOLERANCE,
)[source]

Clay, calcite and dolomite bulk volumes of a carbonate well.

Parameters:
  • well (Well) – Needs RHOB, a porosity curve and VCL ("generic") or GR ("costa").

  • calibration ({"generic", "costa"}, optional) – "generic" (default): clay volume from VCL, effective porosity (PHIE, else PHIT), fluid 1.0 and clay 2.45 g/cm3 unless given, and calcite 2.71 and dolomite 2.87 g/cm3. "costa": the COSTA field calibration, illite volume -0.0424035 + 0.00562239 * GR (not clipped), total porosity (PHIT, else PHIE), illite 2.52, calcite 2.71, dolomite 2.847 and brine 1.1 g/cm3.

  • rho_fluid (float, optional) – Pore-fluid and clay densities, g/cm3, replacing the calibration’s.

  • rho_clay (float, optional) – Pore-fluid and clay densities, g/cm3, replacing the calibration’s.

  • density_tolerance (float, optional) – Largest RHOB misfit, g/cm3, of a solved sample (default 0.02).

Returns:

Bulk volumes (NaN where not solved; quartz and anhydrite are 0 where solved), the clay volume used as v_clay, the dominant component as lithology (unknown where not solved) and mineral_selection recording the calibration and constants.

Return type:

LithologyResult

Raises:

ValueError – For an unknown calibration or missing input curves.