def iv_cutoff(Varr, Iarr, val):
    """Cut IV curve greater than voltage `val` (usually 0)

    Parameters

    ----------
    V: numpy array
        Voltage array
    I: numpy array
        Current array
    val: numeric
        Filter threshold

    Returns

    -------
    V_cutoff, I_cutoff
    """
    msk = Varr > val
    return Varr[msk], Iarr[msk]