def compute_scanner_cylinders(scan, jump, min_dist, cylinder_offset): der = compute_derivative(scan, min_dist) cylinders = find_cylinders(scan, der, jump, min_dist) scanner_cylinders = compute_cartesian_coordinates(cylinders, cylinder_offset) return scanner_cylinders