In [1]:
# imports
from matplotlib import pyplot as plt
from astropy.coordinates import SkyCoord
from astropy import units
from astropy.wcs import WCS
from frb.surveys import survey_utils
In [2]:
coord = SkyCoord('J214425.25-403400.81', unit=(units.hourangle, units.deg))
search_r = 10 * units.arcsec
In [3]:
des_srvy = survey_utils.load_survey_by_name('DES', coord, search_r)
des_tbl = des_srvy.get_catalog(print_query=True)
In [4]:
des_tbl
Out[4]:
In [5]:
cutout, cutout_hdr = des_srvy.get_cutout(search_r, band='r')
In [6]:
wcs = WCS(des_srvy.cutout_hdr)
In [7]:
plt.clf()
plt.subplot(projection=wcs)
plt.imshow(cutout, origin='lower')
plt.show()
In [9]:
coord2 = SkyCoord('J081240.68+320809', unit=(units.hourangle, units.deg))
search_r = 10 * units.arcsec
In [10]:
first_srvy = survey_utils.load_survey_by_name('FIRST', coord2, search_r)
first_tbl = first_srvy.get_catalog()
In [11]:
first_tbl
Out[11]:
In [12]:
dec_srvy = survey_utils.load_survey_by_name('DECaL', coord2, search_r)
dec_tbl = dec_srvy.get_catalog()
In [13]:
dec_tbl
Out[13]:
In [ ]: