standardize_curves

petrophys.preprocessing.standardization.standardize_curves

Also available as petrophys.preprocessing.standardize_curves

standardize_curves(
well,
rename_curves=True,
convert_units=True,
preserve_originals=False,
relabel_equivalent_units=True,
plausible_ranges=None,
)[source]

Standardize all curves in a well.

Convenience function for CurveStandardizer.

Parameters:
  • well (Well) – Well to standardize

  • rename_curves (bool, optional) – Rename to standard mnemonics (default: True)

  • convert_units (bool, optional) – Convert to standard units (default: True)

  • preserve_originals (bool, optional) – Keep original curves (default: False)

  • relabel_equivalent_units (bool, optional) – Write the standard unit label on a curve whose unit is another spelling of it, e.g. gAPI for API (default: True)

  • plausible_ranges (dict, optional) – Limits of the implausible-value screening; default CURVE_PLAUSIBLE_RANGES.

Returns:

Standardized well

Return type:

Well

Examples

>>> from petrophys.preprocessing import standardize_curves
>>> well = standardize_curves(well)