As covered in our introduction to using the HELP virtual observatory server (VOX), we can easily search the HELP database for catalogues in images. In this example, we show how you can do similar searches, but using CIGALE properties rather than positions. One of the advantages of HELP is that it covers a large area, and with a larger area, you can get larger statistical samples of the rarer objects.
In this notebook, we will search the entire HELP database for some galaxies with extreme starformation and get the corresponding SPIRE cutouts.
!pip install pyvo
from astropy.io import ascii, fits
import numpy as np
from astropy.table import Table
import pylab as plt
import seaborn as sns
%matplotlib inline
from astropy import wcs
import pyvo as vo
First, create the TAP service using PyVO
service = vo.dal.TAPService("https://herschel-vos.phys.sussex.ac.uk/__system__/tap/run/tap")
Lets select the top 1000 galaxies which have high starformation rate (i.e. SFR>1000 $M_{\odot}/yr$)
As before, we need to create a query, so:
SELECT
operational statement and ask for the TOP 1000
resultsFROM herschelhelp.main
, i.e. the main HELP masterlist. You can find the other tables you could use here.resultset= service.search("SELECT TOP 100 ra,dec,redshift,cigale_mstar,cigale_sfr FROM herschelhelp.main WHERE cigale_sfr>1000")
masterlist=resultset.to_table()
masterlist.show_in_notebook()
Lets look at the marginalised distributions
g=sns.PairGrid(masterlist[['redshift','cigale_sfr','cigale_mstar']].to_pandas())
g.map_diag(plt.hist)
g.map_upper(plt.scatter)
g.map_lower(plt.scatter)
g.axes[0,1].set_xscale('log')
g.axes[0,2].set_xscale('log')
g.axes[1,0].set_yscale('log')
g.axes[2,0].set_yscale('log')
Lets look at the object that has an SFR of over 12000 $M_{\odot}/yr$
Authors: Peter Hurley
The Herschel Extragalactic Legacy Project, (HELP), is a European Commission Research Executive Agency funded project under the SP1-Cooperation, Collaborative project, Small or medium-scale focused research project, FP7-SPACE-2013-1 scheme, Grant Agreement Number 607254.