minimum_curvature

petrophys.io.minimum_curvature

minimum_curvature(md, inclination, azimuth, course_length=30.0)[source]

True vertical depth and horizontal offsets by the minimum-curvature method.

Angles in degrees; TVD, north and east in the unit of md. When the first station is below MD 0, the hole above it is taken as straight at its inclination; north and east start at zero at the first station. Dogleg severity is in degrees per course_length units of md (30 for metres; read_survey() uses 100 for a survey in feet).

Examples

>>> traj = minimum_curvature([0, 1000], [0, 0], [0, 0])
>>> float(traj["tvd"][-1])
1000.0
Parameters:
Return type:

Dict[str, ndarray]