sec_interp.core.services.drillhole.interval_processor module
Processing logic for Drillhole Intervals.
- class sec_interp.core.services.drillhole.interval_processor.IntervalProcessor
Bases:
objectHandles interval interpolation.
- interpolate_hole_intervals(traj: list[tuple[float, float, float, float, float, float, float, float]], intervals: list[tuple[float, float, str]], buffer_width: float) list[GeologySegment]
Interpolate intervals along a trajectory and return GeologySegments.
- Parameters:
traj – The projected trajectory tuples (depth, x, y, z, dist_along, offset, nx, ny).
intervals – List of (from, to, lith) tuples.
buffer_width – Section buffer width.
- Returns:
A list of GeologySegment objects.