RoiSubsetState#
- class glue.core.subset.RoiSubsetState(xatt=None, yatt=None, roi=None, pretransform=None)#
Bases:
RoiSubsetStateNdA 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.
- pretransform: callable, optional
A function that can be optionally applied to the data before checking points against the region.
- xatt
Attributes Summary
Methods Summary
copy()Return a copy of the subset state.
Attributes Documentation
- xatt#
The data attribute on the x axis.
- yatt#
The data attribute on the y axis.
Methods Documentation
- copy()#
Return a copy of the subset state.