ViewerPropertiesMixin#
- class jdaviz.core.template_mixin.ViewerPropertiesMixin[source]#
Bases:
object
Attributes Summary
Methods Summary
get_matching_viewers
(filter_or_cls[, ...])Get all viewers matching a filter
Attributes Documentation
- flux_viewer#
- spectrum_1d_viewers#
- spectrum_2d_viewer#
- spectrum_2d_viewers#
- spectrum_viewer#
Methods Documentation
- get_matching_viewers(filter_or_cls, raise_if_none=False)[source]#
Get all viewers matching a filter
- Parameters:
- filter_or_clscallable or class
A callable that takes a viewer and returns True if the viewer matches the filter, False otherwise. If a class, will check if isinstance.
- Returns:
- list
A list of viewer instances of the specified class type.