def _unpadd_assymetric(arrays, p, paddtype):
    """ Helper function to unpadd in a symetric way arrays.

    Parameters
    ----------
    arrays : np.ndarray or list of np.ndarray
        array or list of arrays to padd.

    p :  tuple of int,
        length of padding.

    paddtype : ['center'],
        where to place the padding.

    Note:
    -----
    Will raise a ValueError if paddtype is not 'center'.

    Results
    -------
    arrays : np.ndarray or list of np.ndarray
        the unpadded array or list of arrays.
    """
    # case list of arrays (assymm padd for list of arr)
    if isinstance(arrays, list):
        if paddtype == "center":
            return [a[p[0]:-p[1]] for a in arrays]
        elif paddtype == "left":
            raise ValueError("Can't have 'left' paddtype with a tuple padd "
                             "provided")
        elif paddtype == "right":
            raise ValueError("Can't have 'right' paddtype with  a tuple padd "
                             " provided")
        else:
            raise ValueError("paddtype should be ['left', "
                             "'center', 'right']")

    # case one array (assymm padd for one of arr)
    else:
        if paddtype == "center":
            return arrays[p[0]:-p[1]]
        elif paddtype == "left":
            raise ValueError("Can't have 'left' paddtype with a tuple padd "
                             "provided")
        elif paddtype == "right":
            raise ValueError("Can't have 'right' paddtype with a tuple "
                             "provided")
        else:
            raise ValueError("paddtype should be ['left', "
                             "'center', 'right']")