def retrieve_min_max_from_path(path):
    """looks for min and max float in path

    Args:
        path (str): folder path

    Returns:
        (float, float) retrieved min and max values
    """
    path = path.replace("\\", "")
    path = path.replace("/", "")
    return float(path.split("_")[-2]), float(path.split("_")[-1])