Geochemistry

petrophys.interpretation.geochemistry

Core and borehole geochemical interpretation.

Spectral gamma ray

interpret_spectral_gamma

Interpret processed K-Th-U and spectral gamma-ray curves.

has_spectral_gamma_inputs

Return whether a well contains a defensible processed spectral input.

SpectralGammaResult

Processed spectral-gamma measurements and derived diagnostics.

uranium_stripped_gamma_ray

Remove uranium's contribution from a total gamma ray.

Thorium and uranium

thorium_clay_index

Linear clay index from thorium, which uranium cannot disturb.

ThoriumClayIndex

Linear thorium clay index and the baselines behind it.

classify_th_u_environment

Classify depositional environment from the thorium/uranium ratio.

ThUEnvironment

Th/U ratio and depositional-environment class per sample.

Clay typing from Th/K

classify_clay_th_k

Classify samples by Th/K ratio.

clay_typing_from_well

Th/K clay typing of a well's spectral gamma ray.

ClayTypingResult

Th/K clay typing of a well or of arrays.

Elemental spectroscopy

interpret_elemental_spectroscopy

Resolve processed elemental products and derive screening diagnostics.

has_elemental_spectroscopy_inputs

Return whether processed elemental concentrations or yields are present.

ElementalSpectroscopyResult

Resolved elemental products and interpretation diagnostics.

oxide_closure

Convert calibrated relative yields to elemental dry-weight fractions.

OxideClosureResult

Element and oxide fractions produced by calibrated oxide closure.

XRF

XRFData

XRF geochemistry measurements along a core depth.

Constants

TH_K_CLAY_TYPES: tuple

Th/K (ppm/%) upper bounds of each band, and the band names, low to high.

DEFAULT_API_COEFFICIENTS: dict

Gamma-ray API per percent potassium and per ppm thorium and uranium.

ELEMENT_NAMES: dict

Element names keyed by chemical symbol.

TH_U_ENVIRONMENTS: tuple = ('marine reducing', 'marine', 'continental oxidising')

Environment labels, in order of increasing Th/U.

TH_U_ENVIRONMENT_THRESHOLDS: tuple = (2.0, 7.0)

Th/U class boundaries of Adams and Weaver (1958), as popularised for well logs by Fertl (1979): below 2 marine reducing (black, organic-rich shales), 2 to 7 marine (grey and green shales, greywackes), above 7 continental oxidising (weathered, terrestrial sediments with uranium leached out).