def jd2mjd(jd) : 
    """Converts a Julian Day into a Modified Julian Day

    Parameters
    ----------
    mjd : float
        A Julian Day

    Returns
    -------
    float
        The Modified Julian Day
    """
    return jd - 2400000.5