Zabamund / wellpathpy

Well deviation import
GNU Lesser General Public License v3.0
78 stars 28 forks source link

Split min-curve into unit aware/unaware functions #8

Closed jokva closed 5 years ago

jokva commented 5 years ago

Separate out the unit aware and dependent functionality from min_curve_method into a separate function.

The main goal is to provide a more layered interface, with escape hatches if necessary. If the survey is odd, and with mixed units, the min_curve_method would often be wrong. By separating the pure mathematical operations into a separate functions, it can still be useful with the assumption that care is taken to make the units consistent.