standardize_units

petrophys.preprocessing.standardization.standardize_units

standardize_units(curve, inplace=False)[source]

Convert curve to standard units based on curve type.

A curve with a blank unit, or a unit with no known conversion to the standard one, is returned unconverted with a UserWarning.

Parameters:
  • curve (Curve) – Curve to standardize

  • inplace (bool, optional) – Modify curve in place (default: False)

Returns:

Curve with standardized units

Return type:

Curve