CircularROI¶
- class glue.core.roi.CircularROI(xc=None, yc=None, radius=None)[source]¶
Bases:
glue.core.roi.Roi
A 2D circular region of interest.
Methods Summary
contains
(x, y)Test whether a set of (x,y) points falls within the region of interest
defined
()Returns True if the ROI is defined
move_to
(xdelta, ydelta)Translate the ROI to a center of (x, y)
reset
()Reset the rectangular region.
set_center
(x, y)Set the center of the circular region
set_radius
(radius)Set the radius of the circular region
Returns x, y, where each is a list of points
transformed
([xfunc, yfunc])A transformed version of the ROI
Methods Documentation