RangeROI¶
-
class
glue.core.roi.RangeROI(orientation, min=None, max=None)[source]¶ Bases:
glue.core.roi.Roi- Parameters
orientation – ‘x’ or ‘y’. Sets which axis to range
Attributes Summary
Methods Summary
center(self)Return the (x,y) coordinates of the ROI center
contains(self, x, y)Return true/false for each x/y pair.
defined(self)Returns whether or not the subset is properly defined
move_to(self, center)Translate the ROI to a center of (x, y)
range(self)reset(self)set_range(self, lo, hi)to_polygon(self)Returns a tuple of x and y points, approximating the ROI as a polygon.
transformed(self[, xfunc, yfunc])A transformed version of the ROI
Attributes Documentation
Methods Documentation