A buffered iterator for big arrays.
This module solves the problem of iterating over a big file-based array
without having to read it into memory. The ``Arrayterator`` class wraps
an array object, and when iterated it will return subarrays with at most
The algorithm works by first finding a "running dimension", along which
the blocks will be extracted. Given an array of dimensions (d1, d2, ...,
dn), eg, if ``buf_size`` is smaller than ``d1`` the first dimension will
be used. If, on the other hand,
d1 < buf_size < d1*d2
the second dimension will be used, and so on. Blocks are extracted along
this dimension, and when the last block is returned the process continues
from the next dimension, until all elements have been read.
|__all__ = ['Arrayterator']|
__file__ = '/usr/lib/python2.6/dist-packages/numpy/lib/arrayterator.pyc'
__name__ = 'numpy.lib.arrayterator'
__package__ = 'numpy.lib'
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)