PickettPlot

petrophys.visualization.PickettPlot

class PickettPlot(figsize=(10, 8))[source]

Bases: Plot

Pickett crossplot for determining Archie parameters.

Log(Rt) vs Log(PHIE) with Sw isolines.

Methods

add_trend_line

Add a trend line and calculate m (slope).

create

Create the Pickett plot.

save

Save the plot to file.

show

Display the plot.

Parameters:

figsize (Tuple[float, float])

create(
phie,
rt,
rw,
color_data=None,
a=1.0,
m=2.0,
n=2.0,
sw_lines=None,
title='Pickett Plot',
color_label='Depth',
xlim=(.01, .5),
ylim=(.1, 1000.),
x_label='Effective porosity [v/v]',
)[source]

Create the Pickett plot.

Parameters:
  • phie (np.ndarray) – Effective porosity

  • rt (np.ndarray) – True resistivity

  • rw (float) – Formation water resistivity

  • color_data (np.ndarray, optional) – Data for color coding (e.g., depth)

  • a (float) – Tortuosity factor

  • m (float) – Cementation exponent

  • n (float) – Saturation exponent

  • sw_lines (list) – Sw values for iso-saturation lines

  • title (str) – Plot title

  • color_label (str) – Colorbar label

  • xlim (Tuple[float, float])

  • ylim (Tuple[float, float])

  • x_label (str)

Returns:

(Figure, Axes)

Return type:

tuple

add_trend_line(phie, rt, color='red', label=None, method='rma')[source]

Add a trend line and calculate m (slope).

The line is the fit of petrophys.interpretation.electrical.pickett_analysis() on the same samples (finite, Rt > 0, PHIE > 0.01): by default the reduced major axis of log Rt and log PHIE.

Parameters:
  • phie (np.ndarray) – Porosity data

  • rt (np.ndarray) – Resistivity data

  • color (str) – Line color

  • label (str, optional) – Line label

  • method ({"rma", "ols"}, default "rma") – Reduced major axis or least squares of log Rt on log PHIE.

Returns:

(slope m, intercept)

Return type:

tuple

show()[source]

Display the plot.

Return type:

None

save(filename, dpi=150)[source]

Save the plot to file.

Parameters:
Return type:

None