CustomSubsetState

class glue.viewers.custom.qt.custom_viewer.CustomSubsetState(coordinator, roi)[source]

Bases: glue.core.subset.SubsetState

A SubsetState subclass that uses a CustomViewer’s “select” function

Methods Summary

copy(self)

Return a copy of the subset state.

to_mask(self, data[, view])

Compute the mask for this subset state.

Methods Documentation

copy(self)[source]

Return a copy of the subset state.

to_mask(self, data, view=None)[source]

Compute the mask for this subset state.

Parameters
dataData

The dataset to compute the mask for.

view

Any object that returns a valid view for a Numpy array.