SpectralSpatialDataApi#
- class jdaviz.core.user_api.SpectralSpatialDataApi(app, data_label)[source]#
Bases:
DataApiDataApi for cube data that supports both spectral and spatial subsets.
Methods Summary
get_data([spatial_subset, spectral_subset, ...])Get the data as an object with optional spatial and spectral subsets applied.
Methods Documentation
- get_data(spatial_subset=None, spectral_subset=None, cls=None, use_display_units=False)[source]#
Get the data as an object with optional spatial and spectral subsets applied.
- Parameters:
- spatial_subsetstr, optional
Spatial subset to apply to the data.
- spectral_subsetstr, optional
Spectral subset to apply to the data.
- clsclass, optional
The type to return the data as.
- use_display_unitsbool, optional
Whether to convert to display units.
- Returns:
- dataobject
The data object with subsets applied.