classify_th_u_environment¶
petrophys.interpretation.geochemistry.classify_th_u_environment
- classify_th_u_environment(
- thorium_ppm,
- uranium_ppm,
- *,
- uranium_floor_ppm=0.5,
- thresholds=TH_U_ENVIRONMENT_THRESHOLDS,
Classify depositional environment from the thorium/uranium ratio.
Classes (Adams and Weaver, 1958; Fertl, 1979), with each boundary belonging to the lower class:
Th/U
Environment
Typical rocks
< 2
marine reducing
black, organic-rich shales that fix U
2 - 7
marine
grey and green shales, greywackes
> 7
continental oxidising
weathered, terrestrial sediments
Samples with uranium below
uranium_floor_ppmare not rated: at low concentrations the stripped uranium reading is mostly counting noise (it can even go negative), and a ratio built on it means nothing. Read the classes over intervals rather than sample by sample, and confirm them with tops, lithology or core.- Parameters:
thorium_ppm (array-like or Curve) – Processed thorium and uranium concentrations in ppm (see
interpret_spectral_gamma()for unit standardisation).uranium_ppm (array-like or Curve) – Processed thorium and uranium concentrations in ppm (see
interpret_spectral_gamma()for unit standardisation).uranium_floor_ppm (float, default 0.5) – Minimum uranium, in ppm, for a sample to be rated.
thresholds (pair of float, default (2.0, 7.0)) – Th/U class boundaries.
- Returns:
Per-sample Th/U and class, with
summary()for tables.- Return type:
- Raises:
ValueError – If the arrays differ in length, the floor is negative, or the thresholds are not two increasing positive numbers.
Examples
>>> env = classify_th_u_environment([12.0, 11.0, 2.4, 9.0], [1.2, 6.0, 0.2, 2.0]) >>> env.environment.tolist() ['continental oxidising', 'marine reducing', '', 'marine'] >>> env.th_u_ratio.round(2).tolist() [10.0, 1.83, nan, 4.5]