def get_coord_type(coord):
    """
    This assumes the given coordinate is indeed a coord type

    Args:
        coord (str)

    Returns:
        str ("relative", "local", "absolute"): The coordinate type
    """
    coord_dict = {"^": "local", "~": "relative"}
    return coord_dict.get(coord[0], "absolute")