Displaying Cubes¶
The Cubeviz layout includes three image viewers (at the top of the app)
and one spectrum viewer (at the bottom of the app), which it attempts to
populate automatically when the first dataset is loaded. By default, cubeviz
attempts to parse and display the flux in the top left viewer, the uncertainty
in the top middle viewer, and the mask into the top right viewer. The spectrum
viewer is populated by default by collapsing the spatial axes using the max
function. The indicators that the load machinery looks for in each HDU to
populate the viewers are below (note that in all cases, header values are
converted to lower case):
Flux viewer:
hdu.nameis in the set['flux', 'sci']Uncertainty viewer:
hdu.header.keys()includes “errtype” orhdu.nameis in the set['ivar', 'err', 'var', 'uncert']Mask viewer:
hdu.data.dtypeisnp.int,np.uintornp.uint32, orhdu.nameis in the set['mask', 'dq']
If any viewer fails to populate automatically, or if displaying different data is desired, the user can manually select data for each viewer as described in the next section. Different statistics for collapsing the spectrum displayed in the spectrum viewer can be chosen as described in Display Settings. Note that any spatial subsets will also be collapsed into a spectrum using the same statistic and displayed in the spectrum viewer along with the spectrum resulting from collapsing all the data in each spectral slice.
Selecting Data Set¶
Coming soon
Changing Wavelength Slice¶
To change the wavelength slice, click and drag the slider at the top of the Cubeviz UI to the left or right in order to get a lower or higher slice number, respectively. Another option is to click the circle that controls the location on the slider and use the left or right arrow keys on your keyboard to find a slice number with more precision. A third option is to type a slice number into the text box to the right of the slider and press enter on your keyboard. A fourth option is to use the up/down arrows inside the text box to raise/lower the slice number.
Defining and Selecting Region Subsets¶
Coming soon
Pan/Zoom¶
Coming soon
Defining Spectral Regions¶
Coming soon
Display Settings¶
Coming soon