def METHOD_NAME(sequence, n):
    """ Yield successive n-sized chunks from sequence.
    Parameters
    ----------
    sequence: numpy.ndarray
        streamlines
    n: int
        amount of streamlines to load
    Return
    ------
    chunck: list
        subset of streamlines
    """
    sequence = iter(sequence)
    chunk = list(islice(sequence, n))
    while len(chunk) > 0:
        yield chunk
        chunk = list(islice(sequence, n))