Loading from Astroquery#

The Astroquery loader allows you to query and load data directly from astronomical archives.

Note

This feature is currently in development. Stay tuned for updates!

Planned Usage#

Future support will include querying data from:

  • MAST (Mikulski Archive for Space Telescopes)

  • SDSS (Sloan Digital Sky Survey)

  • Other archives supported by Astroquery

Check back for updates or follow our GitHub repository for announcements.

UI Access#

v0.1
Click toolbar icons to toggle different sidebars
Data Menu

Control data and subset layer order and visibility for each viewer. Toggle layer visibility, reorder layers by dragging, and manage which data appears in the viewer.

dm = jd.viewers[viewer].data_menu

API Access#

import jdaviz as jd
jd.show()

# Using loaders API
ldr = jd.loaders['astroquery']
ldr.show()

ldr.source = 'M4'
...
ldr.query_archive()

Since there are many options and the exposed options depend on previous selections, the best way to write a script to write a workflow loading from astroquery is to enable API Hints, and interactively do a search in the UI and reproduce in a notebook cell:

v0.1
Click toolbar icons to toggle different sidebars
Data Menu

Control data and subset layer order and visibility for each viewer. Toggle layer visibility, reorder layers by dragging, and manage which data appears in the viewer.

dm = jd.viewers[viewer].data_menu