Standardization

petrophys.preprocessing.standardization

Standard curve mnemonics and units, from vendor aliases and log units.

Curves and mnemonics

standardize_curves

Standardize all curves in a well.

add_standard_curve_aliases

Add canonical working aliases without removing vendor mnemonics.

get_standard_mnemonic

Get the standard mnemonic for a curve alias.

CurveStandardizer

Standardizes curve mnemonics and units.

Your curve names

read_curve_aliases

Read a curve-name mapping: curve name to standard name.

attach_curve_aliases

Store a curve-name mapping on well (merged with one already there); returns the well's mapping.

curve_aliases_of

The user curve-name mapping stored on well, curve name (upper case) to standard name.

standard_curve_names

The standard names a user mapping may map to.

user_standard_name

The standard name the user mapping gives mnemonic, or None.

Units

standardize_units

Convert curve to standard units based on curve type.

convert_curve_units

Convert curve data to specified unit.

standardize_core_saturation

Normalize a core saturation curve to fractions, preserving missing data.

Constants

ALIAS_MAP: dict

Vendor mnemonics recognized for each standard curve name.