ImageD11.rebin2d | index c:\python25\lib\site-packages\imaged11\rebin2d.py

`Function for rebinning in two dimensions
Expected to be very slow and then re-implemented in C once it works, correctly`

Classes
`` |  | polygon
class polygon
`` | `Represents a 2D polygon`
| Methods defined here: __init__(self, xy) `xy are a list of pairs of xy points (directed)` area(self) `http://mathworld.wolfram.com/PolygonArea.html # sign of area tells us if it is convex or concave` walkaroundintegervertices(self) `Generate a list of points along the edges of integers`

Functions
`` |  | ceil(...) `ceil(x) Return the ceiling of x as a float. This is the smallest integral value >= x.` distance(p1, p2) floor(...) `floor(x) Return the floor of x as a float. This is the largest integral value <= x.` main() sqrt(...) `sqrt(x) Return the square root of x.` testpolywalkandplot(vertices)