def double_to_single_step(cads):
    """Ratios t[i+2] - t[i] / (t[i+2] - t[i+1])."""
    return (cads[1:] + cads[:-1]) / cads[1:]
dataset/ETHPy150Open cesium-ml/cesium/cesium/obs_feature_tools.py/double_to_single_step/original