?¡ë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
Ñò ”tJc@s}ddkZddklZlZlZddklZddgZd„Zde fd„ƒYZ de fd„ƒYZ dS( iÿÿÿÿN(tcompute_planestlinear_interpolate_gridtnn_interpolate_grid(tnn_interpolate_unstructuredtLinearInterpolatortNNInterpolatorcCsCt|ƒdjp*t|dtƒ pt|dtƒ otdƒ‚n|di}|di}|di}t|tƒ pt|i ƒ|i jotdƒ‚nt|i ƒ}|di}|di}|di}t|tƒ pt|i ƒ|i jotdƒ‚nt|i ƒ}||||||fS(sConvert a 2-tuple of slices to start,stop,steps for x and y. key -- (slice(ystart,ystop,ystep), slice(xtart, xstop, xstep)) For now, the only accepted step values are imaginary integers (interpreted in the same way numpy.mgrid, etc. do). iiisonly 2-D slices, pleases0only the [start:stop:numsteps*1j] form supported( tlent isinstancetslicet ValueErrortstarttstoptsteptcomplextinttrealtimag(tkeytx0tx1txstepty0ty1tystep((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pytslice2gridspecs"   *   *cBs&eZdZeid„Zd„ZRS(sðInterpolate a function defined on the nodes of a triangulation by using the planes defined by the three function values at each corner of the triangles. LinearInterpolator(triangulation, z, default_value=numpy.nan) triangulation -- Triangulation instance z -- the function values at each node of the triangulation default_value -- a float giving the default value should the interpolating point happen to fall outside of the convex hull of the triangulation At the moment, the only regular rectangular grids are supported for interpolation. vals = interp[ystart:ystop:ysteps*1j, xstart:xstop:xsteps*1j] vals would then be a (ysteps, xsteps) array containing the interpolated values. These arguments are interpreted the same way as numpy.mgrid. Attributes: planes -- (ntriangles, 3) array of floats specifying the plane for each triangle. Linear Interpolation -------------------- Given the Delauany triangulation (or indeed *any* complete triangulation) we can interpolate values inside the convex hull by locating the enclosing triangle of the interpolation point and returning the value at that point of the plane defined by the three node values. f = planes[tri,0]*x + planes[tri,1]*y + planes[tri,2] The interpolated function is C0 continuous across the convex hull of the input points. It is C1 continuous across the convex hull except for the nodes and the edges of the triangulation. cCsU||_ti|dtiƒ|_||_t|i|i|i|i ƒ|_ dS(Ntdtype( t triangulationtnptasarraytfloat64tzt default_valueRtxtyttriangle_nodestplanes(tselfRRR((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyt__init__Is   c Csmt|ƒ\}}}}}}t|||||||i|i|ii|ii|ii|iiƒ }|S(N( RRRR#RR R!R"ttriangle_neighbors( R$RRRRRRRtgrid((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyt __getitem__Qs (t__name__t __module__t__doc__RtnanR%R((((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyR$s$cBs/eZdZeid„Zd„Zd„ZRS(s@ Interpolate a function defined on the nodes of a triangulation by the natural neighbors method. NNInterpolator(triangulation, z, default_value=numpy.nan) triangulation -- Triangulation instance z -- the function values at each node of the triangulation default_value -- a float giving the default value should the interpolating point happen to fall outside of the convex hull of the triangulation At the moment, the only regular rectangular grids are supported for interpolation. vals = interp[ystart:ystop:ysteps*1j, xstart:xstop:xsteps*1j] vals would then be a (ysteps, xsteps) array containing the interpolated values. These arguments are interpreted the same way as numpy.mgrid. Natural Neighbors Interpolation ------------------------------- One feature of the Delaunay triangulation is that for each triangle, its circumcircle contains no other point (although in degenerate cases, like squares, other points may be *on* the circumcircle). One can also construct what is called the Voronoi diagram from a Delaunay triangulation by connecting the circumcenters of the triangles to those of their neighbors to form a tesselation of irregular polygons covering the plane and containing only one node from the triangulation. Each point in one node's Voronoi polygon is closer to that node than any other node. To compute the Natural Neighbors interpolant, we consider adding the interpolation point to the triangulation. We define the natural neighbors of this point as the set of nodes participating in Delaunay triangles whose circumcircles contain the point. To restore the Delaunay-ness of the triangulation, one would only have to alter those triangles and Voronoi polygons. The new Voronooi diagram would have a polygon around the inserted point. This polygon would "steal" area from the original Voronoi polygons. For each node i in the natural neighbors set, we compute the area stolen from its original Voronoi polygon, stolen[i]. We define the natural neighbors coordinates phi[i] = stolen[i] / sum(stolen,axis=0) We then use these phi[i] to weight the corresponding function values from the input data z to compute the interpolated value. The interpolated surface is C1-continuous except at the nodes themselves across the convex hull of the input points. One can find the set of points that a given node will affect by computing the union of the areas covered by the circumcircles of each Delaunay triangle that node participates in. cCs1||_ti|dtiƒ|_||_dS(NR(RRRRRR(R$RRR((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyR%Œs c Csvt|ƒ\}}}}}}t|||||||i|ii|ii|i|ii|ii|ii ƒ }|S(N( RRRRR R!Rt circumcentersR"R&( R$RRRRRRRR'((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyR(‘s  c CsLt|||i|ii|ii|i|ii|ii|iiƒ }|S(N( RRRR R!RR-R"R&(R$tintxtintytintz((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyt__call__šs   (R)R*R+RR,R%R(R1(((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyRXs2 ( tnumpyRtmatplotlib._delaunayRRRRt__all__RtobjectRR(((sE/usr/lib64/python2.6/site-packages/matplotlib/delaunay/interpolate.pyts   4