ThUEnvironment¶
petrophys.interpretation.geochemistry.ThUEnvironment
- class ThUEnvironment(th_u_ratio, environment, uranium_floor_ppm, thresholds=(2.0, 7.0))[source]¶
Th/U ratio and depositional-environment class per sample.
- Parameters:
- th_u_ratio¶
Thorium / uranium, NaN where the sample is not rated (uranium below
uranium_floor_ppm, negative thorium or a missing value).- Type:
- environment¶
One of
TH_U_ENVIRONMENTSper rated sample,""elsewhere.
Attributes
Boolean mask of the samples that received a class.
Methods
Tabulate the environment classes, optionally for several groups.
- summary(groups=None)[source]¶
Tabulate the environment classes, optionally for several groups.
- Parameters:
groups (mapping of str to boolean array, optional) – Named sample selections, e.g.
{"reservoir": in_reservoir}. Only rated samples inside each selection count. Defaults to all samples.- Returns:
One row per group:
samples(rated samples),median Th/Uand the percentage of rated samples in each environment ("<environment> (%)").- Return type: