utils

Utility functions used throughout this project.

utils.visualize_points(ZIP_object, save_path=None)[source]

Function for plotting the founded points on the image used for analysis :param object ZIP_object: ZeissImageProcessor Object :param str save_path: path to which the png will be saved :return: None

utils.parse_args_to_dict()[source]

Parser of the arguments from the line command return: dict of the arguments

utils.choose_the_closest_point(measurement_points, stage_position)[source]

Function to choose the closest point from the founded to the stage position :param list measurement_points: list coordinates of the points which will be compared :param dict stage_position: position of the stage :return: list coordinates of the closest point