calculate_sxo

petrophys.interpretation.saturation.calculate_sxo

calculate_sxo(rxo, rmf, phi, a=1.0, m=2.0, n=2.0)[source]

Calculate flushed zone water saturation (Sxo).

Uses Archie equation with Rxo and Rmf: Sxo^n = a × Rmf / (φ^m × Rxo)

Parameters:
  • rxo (float or np.ndarray) – Flushed zone resistivity (ohm.m)

  • rmf (float) – Mud filtrate resistivity (ohm.m)

  • phi (float or np.ndarray) – Porosity (v/v)

  • a (float, optional) – Tortuosity factor

  • m (float, optional) – Cementation exponent

  • n (float, optional) – Saturation exponent

Returns:

Flushed zone water saturation (0-1): a float for scalar inputs, else an array. NaN where Rxo or an Rmf array is at or below zero.

Return type:

float or np.ndarray

Raises:

ValueError – If a scalar rmf is at or below zero.