kammerje / spaceKLIP

Pipeline for reducing JWST high-contrast imaging data. Published in Kammerer et al. 2022 and Carter et al. 2022.
https://ui.adsabs.harvard.edu/abs/2022SPIE12180E..3NK/abstract
MIT License
16 stars 10 forks source link

add MAST query tool for coronagraphy datasets #69

Closed mperrin closed 1 year ago

mperrin commented 1 year ago

This PR adds a function spaceKLIP.mast.query_coron_datasets for searching MAST for available coronagraphic science, PSF reference, and/or background data. This PR includes the code and an example notebook.

Example usage is like:

# Find all available NIRCam PSF references in a given filter for the 335R mask
query_coron_datasets('NIRCam', 'F335M', 'MASKA335R', kind='REF')

# Find all MIRI 15 micron background observations
query_coron_datasets('MIRI', 'F1550C', kind='BKG')

The returned output is an astropy table like:

Screen Shot 2023-03-15 at 5 21 31 PM

[additional rows not shown]

kammerje commented 1 year ago

Thanks a lot @mperrin, this is very helpful!