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