ZoneSet

petrophys.model.log_data.ZoneSet

class ZoneSet[source]

Collection of zones for a well.

Manages a set of depth-based zones with utilities for querying and manipulating zones.

Attributes

names

Return list of zone names.

zones

Return list of zones.

Methods

add

Add a zone to the set.

add_zone

Create and add a new zone.

get

Get zone by name.

get_at_depth

Get zone at a specific depth (zone tops inclusive, bottoms exclusive).

get_zones_in_range

Get all zones with depths within [top, bottom].

to_dataframe

Convert zones to DataFrame.

add(zone)[source]

Add a zone to the set.

Parameters:

zone (Zone)

add_zone(name, top, bottom, **kwargs)[source]

Create and add a new zone.

Parameters:
Return type:

Zone

get(name)[source]

Get zone by name.

Parameters:

name (str)

Return type:

Zone | None

get_at_depth(depth)[source]

Get zone at a specific depth (zone tops inclusive, bottoms exclusive).

Parameters:

depth (float)

Return type:

Zone | None

get_zones_in_range(top, bottom)[source]

Get all zones with depths within [top, bottom].

Parameters:
Return type:

List[Zone]

property zones: List[Zone]

Return list of zones.

property names: List[str]

Return list of zone names.

to_dataframe()[source]

Convert zones to DataFrame.

Return type:

DataFrame