def slice2limits(slices):
    """
    Create a tuple of min,max limits from a set of slices

    Parameters:
    
    * slices: list of slices

    Returns: Tuple of minimum and maximum indices
    
    """
    mins = [s.start for s in slices]
    maxs = [s.stop-1 for s in slices]
    return mins,maxs