equalize_dynamic

petrophys.interpretation.borehole_imaging.equalize_dynamic

equalize_dynamic(image, depth, window_m=0.5, clip=(2.0, 98.0), depth_unit='m')[source]

Apply sliding-window percentile equalization along the depth axis.

window_m is in metres and is converted to depth_unit ("m", "ft", "in" or "0.1 in") before sizing the window.

Parameters:
Return type:

ndarray