large_hole_flag¶ petrophys.preprocessing.quality.large_hole_flag large_hole_flag(bit_size, threshold=DefaultParameters.LARGE_HOLE_BS)[source]¶ Generate large hole flag. Large hole is detected when bit size > threshold (default 17.5 inches). Parameters: bit_size (float or np.ndarray) – Bit size value(s) in inches threshold (float, optional) – Large hole threshold (default: 17.5 inches) Returns: Flag indicating large hole condition Return type: bool or np.ndarray