def clip_filter(power, quant=0.98, low_power_cutoff=0.01):
    """
    Filter data points likely to be affected by clipping
    with power greater than or equal to 99% of the 'quant'
    quantile and less than 'low_power_cutoff'

    Parameters
    ----------
    power: Pandas series (numeric)
        AC power
    quant: float
        threshold for quantile
    low_power_cutoff

    Returns
    -------
    Pandas Series (boolean)
        mask to exclude points equal to and
        above 99% of the percentile threshold
    """
    v = power.quantile(quant)
    return (power < v * 0.99) & (power > low_power_cutoff)
