DownholeIntervals
DownholeIntervals
evo.objects.typed.downhole_intervals.DownholeIntervals
A GeoscienceObject representing downhole intervals.
Downhole intervals describe depth-ranged samples along drill holes. Each interval is defined by a hole identifier, a from/to depth range, and the 3D coordinates of the interval's start, end, and mid-point. Optional attributes (assay values, lithology codes, etc.) may also be attached.
Example usage::
depth_unit
The unit of the from/to depths, or None if not specified.
num_intervals
The number of intervals in this object.
to_dataframe
Get all interval data as a single DataFrame.
The returned DataFrame has the following columns, in order:
hole_id— hole identifierfrom,to— depth intervalx_start,y_start,z_start— start-point coordinatesx_end,y_end,z_end— end-point coordinatesx_mid,y_mid,z_mid— mid-point coordinates- Any attribute columns
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
keys | str | Optional attribute keys/names to include. If omitted, all attributes are included. | () |
fb | IFeedback | Optional feedback object to report download progress. | NoFeedback |
Returns:
| Type | Description |
|---|---|
DataFrame | A combined DataFrame of all interval data and attributes. |
validate
Validate the object, checking that all interval tables have consistent lengths.