StackingPatternItem

class wellcad.com.StackingPatternItem(dispatch)

Stores a stacking pattern over an interval.

StackingPattern items are part of a StackingPattern Log and stores the top and bottom widths over a depth interval. Width values are between 0.0 and 1.0 and depth intervals can not overlap.

Example

>>> stack_log = borehole.log("Test")
>>> stack_box = stack_box.insert_new_stack_item(10.5, 12.5, 0.5, 0.8)
>>> stack_box.top_depth
10.5
>>> stack_box.top_depth
12.5
property bottom_depth

The bottom depth of the item in current depth units.

Type:

float

property bottom_width

The bottom width of the item.

This should be a value between 0.0 and 1.0. Setting it out of these bounds will clamp the value.

Type:

float

property top_depth

The top depth of the item in current depth units.

Type:

float

property top_width

The top width of the item.

This should be a value between 0.0 and 1.0. Setting it out of these bounds will clamp the value.

Type:

float