Electrical properties

Formation water and mud filtrate resistivity, invasion, and Archie cementation parameters.

Formation water resistivity (Rw)

petrophys.interpretation.electrical.rw

Formation water resistivity (Rw) from SP, salinity or a measured value, at formation temperature.

Rw of a well

calculate_rw

Calculate formation water resistivity.

RwModule

Formation water resistivity calculator.

Rw from the SP

rw_from_sp

Calculate Rw from SP using the SSP equation.

sp_rw_in_window

Estimate Rw from the SP in a depth window, at a chosen temperature.

SpRwEstimate

Rw from the SP in one depth window.

rw_from_ssp

Calculate Rw from static spontaneous potential (SSP).

calculate_ssp

Calculate static spontaneous potential (SSP).

sp_lines

Estimate clean-sand and shale SP lines from the SP log itself.

Salinity and temperature

rw_from_salinity

Calculate Rw from salinity using empirical relationship.

salinity_from_rw

Calculate salinity from Rw.

correct_rw_temperature

Correct Rw from one temperature to another.

Apparent water resistivity

apparent_water_resistivity

Apparent water resistivity Rwa = Rt * phi**m / a (ohm.m).

sw_from_rwa

Archie water saturation from the Rwa ratio, Sw = (Rw/Rwa)**(1/n), limited to 0-1.

Mud filtrate resistivity (Rmf)

petrophys.interpretation.electrical.rmf

Mud filtrate resistivity (Rmf) at formation temperature.

Functions

calculate_rmf

Calculate Rmf at formation temperature.

Classes

RmfModule

Mud filtrate resistivity calculator.

Invasion

petrophys.interpretation.electrical.invasion

Invasion profiles from shallow and deep resistivity.

Functions

forward_step_profile

Apparent resistivity of each tool for a step profile (Rt, Rxo, di).

invert_step_profile

Invert resistivity readings for Rt, Rxo and invasion diameter, sample by sample.

invert_well_invasion

invert_step_profile() on a well's resistivity curves.

read_tool_responses

Read pseudo-geometric factors J(di) digitized from vendor charts.

invasion_ratio

Calculate invasion ratio (Rxo/Rt).

classify_invasion

Classify invasion profile from Rxo/Rt ratio.

expected_resistivity_order

The expected order of the shallowest and the deepest reading: "shallow", "deep" or "either".

mud_regime

"fresh" (Rmf above Rw by more than similar_factor), "saline" (below by more) or "similar".

shallowest_and_deepest

The shallowest- and the deepest-reading of the given resistivity curves; None unless every curve is ranked and at least two differ.

Classes

InvasionInversionResult

Per-sample step-profile solution.

ToolResponse

Pseudo-geometric factor J(di) of one resistivity reading.

InvasionModule

Invasion profile characterization.

InvasionType

Invasion type enumeration.

Constants

DEPTH_OF_INVESTIGATION: tuple = ('RMIC', 'RXO', 'RSHA', 'RMED', 'RDEP')
EXPECTED_ORDER: dict
MUD_REGIMES: dict
SIMILAR_FACTOR: float = 1.25

Cementation and Archie parameters

petrophys.interpretation.electrical.cementation

Archie parameters (a, m, n) and Pickett-plot analysis.

Functions

default_archie_params

Get default Archie parameters for formation type.

pickett_analysis

Perform Pickett plot analysis to determine Archie parameters.

Classes

ArchieParameters

Archie parameters container.