standardize

petrophys.workflow.steps.standardize

standardize(*, rename=False, convert_units=True, name=None)[source]

Standardize curve names and units, as petrophys.interpret() does first.

Adds canonical working aliases (ILD is also available as RDEP, ZDEN as RHOB, …) while keeping the vendor mnemonics, converts recognized units (percent porosity to v/v, for example) and removes physically implausible values. Put it first when a well uses vendor mnemonics, so later steps find the standard names.

Wraps petrophys.preprocessing.standardization.standardize_curves() and add_standard_curve_aliases().

Parameters:
  • rename (bool, default False) – Rename curves to canonical names instead of adding aliases.

  • convert_units (bool, default True) – Convert recognized units to the library’s standard units.

  • name (str, optional) – Step name; defaults to "standardize".

Returns:

Requires nothing; produces the canonical aliases of recognized curves. Mostly-implausible curves are reported in the warnings.

Return type:

Step

Examples

>>> from petrophys.workflow import steps
>>> steps.standardize().requires
()