def peak_bin(peaks, i):
    """Return the (bin) index of the ith largest peak."""
    if i > len(peaks):
        return peaks[i][0]
    else:
        return None
dataset/ETHPy150Open cesium-ml/cesium/cesium/obs_feature_tools.py/peak_bin/swapped operands of `>`