def get_medperc90_2p_p(model):
    return (np.percentile(np.abs(model['2p_resid']), 90) /
            np.percentile(np.abs(model['1p_resid']), 90))
Get ratio of 90th percentiles of residuals for data folded by twice the
dataset/ETHPy150Open cesium-ml/cesium/cesium/science_features/period_folding.py/get_medperc90_2p_p