lasio
lasio copied to clipboard
Provide interpolate() method
LAS files are meant to have a constant interval in the index column.
But sometimes they don't.
We should have a method that fixes that. By using either STRT, STOP, STEP and linear interpolation, or using whatever the dominant existing interval is.
Should be pretty simple using scipy.interpolate.interp1d.
Could be used to fix #134
Closely related: #116
I think this function could be a good starting point:
https://github.com/kinverarity1/gio/blob/861c4c32cbeee6d81a790bcb12f0da8395c7682e/gio/geo.py#L408-L441