Lithology and minerals

Lithology

petrophys.interpretation.lithology

Mineral volumes, matrix properties, lithology crossplots and lithology logs.

Lithology of a well

calculate_lithology

Calculate lithology for a well.

LithologyModule

Lithology determination from well logs.

Mineral solvers

MultiMineralSolver

Multi-mineral solver: quartz, calcite, dolomite and anhydrite volumes.

solve_two_mineral

Convenience wrapper for a 2-mineral solve.

solve_three_mineral

Convenience wrapper for a 3-mineral solve.

mineral_properties

Get properties for a mineral.

Crossplot data

nd_crossplot_data

Prepare data for neutron-density crossplot.

mn_crossplot_data

Prepare data for M-N crossplot.

pef_crossplot_data

Prepare data for PEF crossplot.

Lithology logs from intervals

build_lithology_log

Create a per-depth lithology array from interval definitions.

load_lithology_csv

Load lithology intervals from a CSV file.

LithologyInterval

A depth interval with assigned lithology.

Apparent matrix parameters

apparent_matrix_density

RHOmaa (g/cc): bulk density with the pore fluid removed.

apparent_matrix_slowness

DTmaa (us/ft): compressional slowness with the pore fluid removed (time-average mixing).

apparent_matrix_volumetric_pe

Umaa (b/cc): volumetric photoelectric absorption with the pore fluid removed.

apparent_total_porosity

Neutron-density crossplot porosity, the mean of NPHI and the density porosity.

electron_density

Electron density index rho_e = (RHOB + 0.1883) / 1.0704 (g/cc).

volumetric_photoelectric

Volumetric photoelectric absorption U = PEF * rho_e (b/cc).

More functions

nd_crossplot_porosity

Total porosity from linear clean-mineral neutron-density triangles.

Constants

MINERAL_PROPERTIES: dict

Density, sonic slowness, neutron porosity and PEF of common minerals.

Lithology labels

petrophys.interpretation.lithology.labels

Rock names in interval files and their lithology groups.

Functions

lithology_choice

The option of a lithology parameter (a function's choices declared with role lithology) that a rock takes, or None when no option names it.

lithology_group_for_label

The lithology group a rock name describes, or None.

Constants

ROCK_PHRASES: dict

Names whose words together mean something else than their last rock word.

ROCK_TERMS: dict

Rock words and abbreviations and the lithology group each names.

Carbonate minerals

petrophys.interpretation.lithology.carbonate_minerals

Calcite and dolomite volumes from bulk density and closure: the carbonate-domain mineral step of pp.interpret.

Functions

solve_calcite_dolomite

Bulk calcite and dolomite volumes from bulk density and closure.

solve_carbonate_minerals

Clay, calcite and dolomite bulk volumes of a carbonate well.