Interval

petrophys.model.Interval

Also available as petrophys.evaluation.intervals.Interval

class Interval(
name,
top_depth,
bottom_depth,
kind=IntervalKind.MANUAL,
lithology='',
metadata=<factory>,
)[source]

Base class for all depth intervals.

Parameters:
name

Interval name/identifier

Type:

str

top_depth

Top depth of interval

Type:

float

bottom_depth

Bottom depth of interval

Type:

float

kind

Type of interval

Type:

IntervalKind

lithology

Primary lithology (e.g. “clastic”, “carbonate”)

Type:

str

metadata

Additional user-defined properties

Type:

dict

Attributes

thickness

Return interval thickness.

Methods

contains

Check if depth(s) fall within this interval.

overlaps

Check if this interval overlaps with another.

property thickness: float

Return interval thickness.

contains(depth)[source]

Check if depth(s) fall within this interval.

Parameters:

depth (float | ndarray)

Return type:

bool | ndarray

overlaps(other)[source]

Check if this interval overlaps with another.

Parameters:

other (Interval)

Return type:

bool