Zonation

petrophys.evaluation.zonation.Zonation

Also available as petrophys.evaluation.Zonation

class Zonation(zones, boundaries, curves=<factory>, penalty=nan)[source]

Zones found by change_point_zonation().

Attributes

penalty

zones

top, bottom, thickness, samples and the mean of each curve.

boundaries

Depths of the boundaries between zones.

curves

Methods

labels

Zone number (1, 2, ...) of each depth; NaN outside the zoned interval.

to_dataframe

The zones as a table, one row per zone in depth order.

Parameters:
zones: List[Dict[str, float]]

top, bottom, thickness, samples and the mean of each curve.

Type:

One dict per zone

boundaries: ndarray

Depths of the boundaries between zones.

curves: List[str]
penalty: float = nan
to_dataframe()[source]

The zones as a table, one row per zone in depth order.

Returns:

zone (its number, from 1), top, bottom and thickness (in the unit of the zoned depths), samples and the mean of each zoned curve in a <curve>_mean column (the geometric mean for a curve zoned on its logarithm).

Return type:

DataFrame

labels(depth)[source]

Zone number (1, 2, …) of each depth; NaN outside the zoned interval.

Parameters:

depth (Any)

Return type:

ndarray