?¡ëPNG  IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À? ¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Ñò \ÐKc@ sIdZddklZddklZdgZdefd„ƒYZdS(s$ 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 sub-arrays with at most a user-specified number of elements. iÿÿÿÿ(tdivision(tmult ArrayteratorcB s\eZdZdd„Zd„Zd„Zd„Zed„ƒZ ed„ƒZ d„Z RS( sÇ Buffered iterator for big arrays. `Arrayterator` creates a buffered iterator for reading big arrays in small contiguous blocks. The class is useful for objects stored in the file system. It allows iteration over the object *without* reading everything in memory; instead, small blocks are read and iterated over. `Arrayterator` can be used with any object that supports multidimensional slices. This includes NumPy arrays, but also variables from Scientific.IO.NetCDF or pynetcdf for example. Parameters ---------- var : array_like The object to iterate over. buf_size : int, optional The buffer size. If `buf_size` is supplied, the maximum amount of data that will be read into memory is `buf_size` elements. Default is None, which will read as many element as possible into memory. Attributes ---------- var buf_size start stop step shape flat See Also -------- ndenumerate : Multidimensional array iterator. flatiter : Flat array iterator. memmap : Create a memory-map to an array stored in a binary file on disk. Notes ----- The algorithm works by first finding a "running dimension", along which the blocks will be extracted. Given an array of dimensions ``(d1, d2, ..., dn)``, e.g. 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. Examples -------- >>> import numpy as np >>> a = np.arange(3 * 4 * 5 * 6).reshape(3, 4, 5, 6) >>> a_itor = np.lib.arrayterator.Arrayterator(a, 2) >>> a_itor.shape (3, 4, 5, 6) Now we can iterate over ``a_itor``, and it will return arrays of size two. Since `buf_size` was smaller than any dimension, the first dimension will be iterated over first: >>> for subarr in a_itor: ... if not subarr.all(): ... print subarr, subarr.shape ... [[[[0 1]]]] (1, 1, 1, 2) cC s‹||_||_g}|iD] }|dq ~|_g}|iD] }||qG~|_g}|iD] }|dqn~|_dS(Nii(tvartbuf_sizetshapetstarttstoptstep(tselfRRt_[1]tdimt_[2]t_[3]((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyt__init__Ws   ''cC st|i|ƒS(N(tgetattrR(R tattr((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyt __getattr___sc C sæt|tƒp |f}ng}t|ƒt|iƒ}}x‘|D]‰}|tjo2|itdƒg||dƒt|ƒ}qFt|tt fƒo!|i t||ddƒƒqF|i |ƒqFWt|ƒ}t|ƒ|jo%|tdƒf|t|ƒ7}n|i |i |i ƒ}x°tt|i|i|i|ƒƒD]Š\}\}} } }||ipd|i|<| |ipd|i|<||ip| ||i|†s (RRRRRR(R R$((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyt __array__s cc s.x'|D]}x|iD] }|VqWqWdS(N(tflat(R tblocktvalue((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyR+Šs  cC s)td„t|i|i|iƒDƒƒS(Ncs s2x+|]$\}}}||d|dVqWdS(iN((R(RRR((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pys ’s (RRRRR(R ((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyRs c c s#g}|iD]}|djo ||qq~o t‚n|i}|i}|i}t|iiƒ}x¬|iptt |iƒ}d}x¹t |dddƒD]¡} |djo|| d|| ´s (Rt StopIterationRRRRRRtreduceRtrangeRRR( R R R RRRtndimstcounttrundimR&R$((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyt__iter__•s:6      " 'N( t__name__t __module__t__doc__RRRR'R*tpropertyR+RR4(((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyRsD    N(R7t __future__RtoperatorRt__all__tobjectR(((s</usr/lib64/python2.6/site-packages/numpy/lib/arrayterator.pyt s