PressureGradient

petrophys.interpretation.saturation.height.PressureGradient

class PressureGradient(gradient, reference_depth, reference_pressure, n, rmse)[source]

Linear pressure(depth), in the input pressure and depth units.

Attributes

Methods

pressure_at

Pressure on the fitted line at a depth.

Parameters:
gradient: float
reference_depth: float
reference_pressure: float
n: int
rmse: float
pressure_at(depth)[source]

Pressure on the fitted line at a depth.

Parameters:

depth (float or array) – Depth, in the depth unit and on the datum of the fitted data.

Returns:

reference_pressure + gradient * (depth - reference_depth), in the pressure unit of the fitted data.

Return type:

float or ndarray