oxide_closure

petrophys.interpretation.geochemistry.oxide_closure

oxide_closure(relative_yields, sensitivities, oxide_factors)[source]

Convert calibrated relative yields to elemental dry-weight fractions.

The calculation follows W_i = F * Y_i / S_i with F = 1 / sum(X_i * Y_i / S_i). S_i is the tool sensitivity and X_i is the oxide-association factor. Both must be supplied by the caller; no vendor calibration is guessed. The closure needs every supplied yield, so a depth where any yield is missing is NaN in all outputs rather than closed over the remaining elements.

Parameters:
Return type:

OxideClosureResult