Viewers#

Jdaviz provides specialized viewers for different types of astronomical data.

Creating Viewers#

By default, viewers are created automatically based on the data format you load:

import jdaviz
jdaviz.show()

# Automatically creates appropriate viewer
jdaviz.load('spectrum.fits', format='1D Spectrum')

You can also create viewers programmatically:

# Create a new viewer
viewer_creator = jdaviz.viewers['1D Spectrum']
new_viewer = viewer_creator()

See the individual viewer pages for detailed usage information.

UI Access#

Data Menus#

Each viewer has a legend in the top-right indicating what layers are currently displayed. Clicking on the legend opens a data menu where you can: - Toggle visibility of individual layers - Remove layers from the viewer - Rename viewers

For more information, see Data Menu.

Plot Options#

Changing viewer or layer options is done through the Plot Options plugin in the settings sidebar.