RoiSubsetState¶
-
class
glue.core.subset.
RoiSubsetState
(xatt=None, yatt=None, roi=None)[source]¶ Bases:
glue.core.subset.SubsetState
A subset defined as the set of points in two dimensions that lie inside a region of interest (ROI).
The two dimensions are defined as two numerical data attributes.
- Parameters
- xatt
ComponentID
The data attribute on the x axis.
- yatt
ComponentID
The data attribute on the y axis.
- roi
Roi
The region of interest.
- xatt
Attributes Summary
The attributes that the subset state depends on.
The region of interest.
The data attribute on the x axis.
The data attribute on the y axis.
Methods Summary
copy
(self)Return a copy of the subset state.
to_mask
(self, data[, view])Compute the mask for this subset state.
Attributes Documentation
Methods Documentation