LogDepthShift

petrophys.preprocessing.quality.LogDepthShift

class LogDepthShift(
shift,
correlation,
correlation_unshifted,
n_points,
shifts,
correlations,
curve,
reference,
depth_unit='',
)[source]

Result of find_log_depth_shift().

Parameters:
shift

Depth correction for curve, in well depth units: the curve’s reading at depth z belongs at z + shift. Pass it to shift_curves(). Negative: the curve reads too deep.

Type:

float

correlation

Correlation of the two curves at the best shift.

Type:

float

correlation_unshifted

Correlation as recorded (shift 0).

Type:

float

n_points

Number of sample pairs behind correlation.

Type:

int

shifts, correlations

Every scanned shift and its correlation.

Type:

ndarray

curve, reference

The curve that was moved and the curve it was matched to.

Type:

str

depth_unit

Depth unit of the well.

Type:

str

Attributes

at_search_edge

widen max_shift.

off_depth

True when the curves clearly line up better shifted than as recorded.

shifts

correlations

curve

reference

Methods

to_dataframe

Return the scan as a DataFrame with shift and correlation.

shifts: ndarray
correlations: ndarray
curve: str
reference: str
property at_search_edge: bool

widen max_shift.

Type:

True when the best shift is the first or last one scanned

property off_depth: bool

True when the curves clearly line up better shifted than as recorded.

The best correlation is strong (size at least 0.6), at least 0.3 better than as recorded, the shift is more than two samples and not at the edge of the scan. On 208 wells with density and neutron logs (the bundled samples, the GeoLink and COSTA wells) only HW-3 passes: its RHOB lines up with NPHI 55 ft (16.8 m) higher, r -0.79 against +0.11 as recorded.

to_dataframe()[source]

Return the scan as a DataFrame with shift and correlation.