def get_lomb_frequency_ratio(lomb_model, i):
    """
    Get the ratio of the ith and first frequencies from a fitted Lomb-Scargle
    model.
    """
    return lomb_model['freq_fits'][i - 1]['freq'] / lomb_model['freq_fits'][0][
        'freq']
