MatrixProperties

petrophys.model.MatrixProperties

class MatrixProperties[source]

Reference matrix properties for common minerals.

This class provides a lookup table for mineral properties used in lithology determination and porosity calculations.

Examples

>>> props = MatrixProperties.get("quartz")
>>> print(props.density)
2.65
>>> print(props.slowness)
55.5

Methods

get

Get properties for a mineral.

get_density

Get matrix density for a mineral in g/cm³.

get_log_density

Get the density-porosity matrix endpoint for a mineral in g/cm³.

get_nphi

Get apparent neutron porosity for a mineral in v/v.

get_pef

Get photoelectric factor for a mineral in b/e.

get_slowness

Get matrix slowness for a mineral in μs/ft.

list_minerals

Return list of available minerals.

names

Return every accepted mineral name and alias, sorted.

classmethod get(mineral)[source]

Get properties for a mineral.

Parameters:

mineral (str) – Mineral name or alias

Returns:

Properties for the specified mineral

Return type:

MineralProperties

Raises:

KeyError – If mineral is not found

classmethod list_minerals()[source]

Return list of available minerals.

Return type:

list

classmethod names()[source]

Return every accepted mineral name and alias, sorted.

Return type:

list

classmethod get_density(mineral)[source]

Get matrix density for a mineral in g/cm³.

Parameters:

mineral (str)

Return type:

float

classmethod get_log_density(mineral)[source]

Get the density-porosity matrix endpoint for a mineral in g/cm³.

This is the apparent log density where one is tabulated (evaporites) and the grain density otherwise.

Parameters:

mineral (str)

Return type:

float

classmethod get_slowness(mineral)[source]

Get matrix slowness for a mineral in μs/ft.

Parameters:

mineral (str)

Return type:

float

classmethod get_nphi(mineral)[source]

Get apparent neutron porosity for a mineral in v/v.

Parameters:

mineral (str)

Return type:

float

classmethod get_pef(mineral)[source]

Get photoelectric factor for a mineral in b/e.

Parameters:

mineral (str)

Return type:

float