DepthIndex¶
petrophys.model.log_data.DepthIndex
- class DepthIndex(depth, unit='ft')[source]¶
Utilities for working with depth-indexed data.
Attributes
Check if depth sampling is uniform.
Return median step size.
Methods
Find index of nearest depth and the actual depth value.
Get indices for depth range.
Get boolean mask for depth range.
Return a new uniform depth index from top to bottom at
new_step.- resample(new_step, method='linear')[source]¶
Return a new uniform depth index from top to bottom at
new_step.Only the depth index is built; no data is resampled, so
methodhas no effect (usealign_to_depth()to resample data onto it).- Parameters:
- Return type: