Commit c6c7635e authored by Alexandre Beelen's avatar Alexandre Beelen

Add Cowie 2017 tab6 (450micron)

parent f30292e4
This diff is collapsed.
This diff is collapsed.
#
# Extracted table 5 from ms.tex
#
# Cowie et al. 2017 (2017ApJ...837..139C)
#
#
# SCUBA-2 450 Micron Sample($4\,\sigma$)
# No. & Name & R.A. & Decl.& \multicolumn{2}{c}{450\,$\mu$m} & S/N & R.A. (accurate) & Decl. & SMA & 20\,cm & $K_{s}$ & $z$ & 850\,$\mu$
1 , SMM123730621259 , 12:37:30.69 , 62:12:59.6 , 42 , 4.1 , 10. , 12:37:30.80 , 62:12:58.7 , 14.9 , 123 , 22.9 , 2.43 , 13.
2 , SMM123553621335 , 12:35:53.70 , 62:13:35.1 , 39 , 9.5 , 4.1 , 12:35:53.86 , 62:13:37.2 , , 32 , 19.6 , 0.8810 , 5.9
3 , SMM123721620709 , 12:37:21.01 , 62:07:9.79 , 35 , 6.9 , 5.0 , 12:37:21.40 , 62:07:8.30 , , 293 , 20.9 , , 6.4
4 , SMM123741621222 , 12:37:41.40 , 62:12:22.4 , 33 , 5.3 , 6.3 , 12:37:41.16 , 62:12:21.0 , 7.10 , 28 , 23.3 , 3.02 , 5.4
5 , SMM123618621549 , 12:36:18.84 , 62:15:49.7 , 30 , 4.4 , 6.9 , 12:36:18.35 , 62:15:50.4 , 7.20 , 169 , 22.0 , 2.000 , 6.4
6 , SMM123634621918 , 12:36:34.71 , 62:19:18.9 , 30 , 6.8 , 4.4 , , , , 12 , , , 5.3
7 , SMM123629621045 , 12:36:29.21 , 62:10:45.8 , 28 , 3.9 , 7.2 , 12:36:29.03 , 62:10:45.5 , 7.70 , 91 , 19.7 , 1.013 , 4.3
8 , SMM123711621328 , 12:37:11.39 , 62:13:28.9 , 28 , 3.3 , 8.4 , 12:37:11.34 , 62:13:30.9 , 6.70 , 126 , 20.4 , 1.995 , 8.1
9 , SMM123701621146 , 12:37:1.651 , 62:11:46.9 , 26 , 3.0 , 8.7 , 12:37:1.578 , 62:11:46.4 , 4.80 , 95 , 20.5 , 1.760 , 6.3
10 , SMM123707621407 , 12:37:7.236 , 62:14:7.91 , 26 , 3.2 , 8.0 , 12:37:7.177 , 62:14:8.19 , 7.10 , 28 , 21.4 , 2.45 , 8.0
11 , SMM123616621513 , 12:36:16.42 , 62:15:13.7 , 24 , 4.3 , 5.5 , 12:36:16.10 , 62:15:13.7 , 3.40 , 38 , 22.2 , 2.578 , 4.6
12 , SMM123726620823 , 12:37:26.16 , 62:08:23.7 , 23 , 5.4 , 4.3 , 12:37:26.66 , 62:08:23.2 , , 51 , 21.2 , 2.59 , 4.3
13 , SMM123635621423 , 12:36:35.76 , 62:14:23.9 , 22 , 3.5 , 6.2 , 12:36:35.59 , 62:14:24.0 , , 78 , 20.1 , 2.005 , 3.8
14 , SMM123622621629 , 12:36:22.70 , 62:16:29.7 , 22 , 4.5 , 4.9 , 12:36:22.67 , 62:16:29.7 , , 81 , 21.7 , 1.790 , 3.9
15 , SMM123622621616 , 12:36:22.26 , 62:16:16.7 , 21 , 4.4 , 4.8 , 12:36:22.10 , 62:16:15.9 , 5.40 , 20 , 23.9 , , 4.6
16 , SMM123634621239 , 12:36:34.90 , 62:12:39.9 , 20 , 3.3 , 6.0 , 12:36:34.51 , 62:12:40.9 , , 188 , 19.9 , 1.224 , 2.5
17 , SMM123716621640 , 12:37:16.14 , 62:16:40.9 , 20 , 4.2 , 4.7 , , ,12 , , , 1.9
18 , SMM123646621448 , 12:36:46.05 , 62:14:48.9 , 19 , 3.2 , 5.9 , 12:36:46.08 , 62:14:48.6 , 4.20 , 103 , 22.4 , 3.63 , 5.9
19 , SMM123642621721 , 12:36:42.18 , 62:17:21.9 , 18 , 4.0 , 4.5 , 12:36:42.18 , 62:17:22.5 , , 24 , 20.6 , , 2.2
20 , SMM123646620833 , 12:36:46.65 , 62:08:33.9 , 18 , 3.9 , 4.6 , 12:36:46.68 , 62:08:33.2 , , 95 , 19.0 , 0.9710 , 2.5
21 , SMM123631621714 , 12:36:31.99 , 62:17:14.9 , 17 , 4.3 , 4.0 , 12:36:31.94 , 62:17:14.7 , 7.10 , 22 , 23.0 , , 8.4
22 , SMM123726621328 , 12:37:26.12 , 62:13:28.7 , 17 , 3.9 , 4.5 , , ,12 , , , 0.28
23 , SMM123637620854 , 12:36:37.08 , 62:08:54.0 , 17 , 4.0 , 4.3 , 12:36:37.03 , 62:08:52.4 , , 90 , 22.0 , 2.13 , 4.3
24 , SMM123631620957 , 12:36:31.51 , 62:09:57.9 , 16 , 3.9 , 4.1 , 12:36:31.26 , 62:09:57.6 , , 140 , 21.7 , 2.313 , 2.9
25 , SMM123713621153 , 12:37:13.79 , 62:11:53.9 , 16 , 3.6 , 4.4 , 12:37:14.05 , 62:11:56.5 , 3.20 , 21 , 24.2 , , 2.5
26 , SMM123628621313 , 12:36:28.17 , 62:13:13.8 , 16 , 3.6 , 4.4 , , ,12 , , , 1.4
27 , SMM123633621408 , 12:36:33.46 , 62:14:8.89 , 15 , 3.6 , 4.2 , 12:36:33.42 , 62:14:8.50 , 12.0 , 33 , 25.5 , 4.042 , 9.2
28 , SMM123700620911 , 12:37:0.487 , 62:09:11.0 , 15 , 3.8 , 4.0 , 12:37:0.270 , 62:09:9.70 , 3.10 , 297 , 21.8 , , 2.0
29 , SMM123712621325 , 12:37:12.53 , 62:13:25.9 , 14 , 3.4 , 4.1 , , ,12 , , , 3.2
30 , SMM123651621228 , 12:36:51.92 , 62:12:28.0 , 13 , 2.7 , 4.7 , 12:36:52.03 , 62:12:25.9 , 7.80 , 12 , 99.0 , 5.183 , 5.6
31 , SMM123652621355 , 12:36:52.35 , 62:13:55.0 , 11 , 2.8 , 4.1 , 12:36:52.78 , 62:13:54.3 , , 21 , 21.1 , 1.355 , 0.58
# Region file format: DS9 astropy/regions
fk5
circle(189.3783,62.2163,0.0021)
circle(188.9744,62.2270,0.0021)
circle(189.3392,62.1190,0.0021)
circle(189.4215,62.2058,0.0021)
circle(189.0765,62.2640,0.0021)
circle(189.1446,62.3219,0.0021)
circle(189.1210,62.1793,0.0021)
circle(189.2972,62.2252,0.0021)
circle(189.2566,62.1962,0.0021)
circle(189.2799,62.2356,0.0021)
circle(189.0671,62.2538,0.0021)
circle(189.3611,62.1398,0.0021)
circle(189.1483,62.2400,0.0021)
circle(189.0945,62.2749,0.0021)
circle(189.0921,62.2711,0.0021)
circle(189.1438,62.2114,0.0021)
circle(189.3172,62.2780,0.0021)
circle(189.1920,62.2468,0.0021)
circle(189.1757,62.2896,0.0021)
circle(189.1945,62.1426,0.0021)
circle(189.1331,62.2874,0.0021)
circle(189.3588,62.2246,0.0021)
circle(189.1543,62.1479,0.0021)
circle(189.1302,62.1660,0.0021)
circle(189.3085,62.1990,0.0021)
circle(189.1174,62.2205,0.0021)
circle(189.1392,62.2357,0.0021)
circle(189.2511,62.1527,0.0021)
circle(189.3022,62.2239,0.0021)
circle(189.2168,62.2072,0.0021)
circle(189.2199,62.2317,0.0021)
This diff is collapsed.
......@@ -215,14 +215,14 @@ data.write(fitsdir / f'{filename}.fits', overwrite=True)
################################################################################
#
# Greve et al. 2008
# Cowie et al. 2017
#
path = indir / 'Cowie2017_tab5.dat'
filename = 'Cowie2017_850'
bibcode = '2017ApJ...837..139C'
name = 'Cowie et at. 2017'
instrument = 'SCUBA2@JCMT'
fwhm = 14.8 * u.arcsec
fwhm = 14 * u.arcsec
data = ascii.read(path,
format='fixed_width', comment='#', delimiter=' ', header_start=None, data_start=0,
......@@ -238,8 +238,52 @@ for col in [key for key in data.keys() if 'f850' in key or 'e850' in key]:
data[col].unit = u.mJy
data['f1.4GHz']].unit = u.uJy
data['K_s'].unit = u.ABmag
data['f1.4GHz'].unit = u.uJy
# data['K_s'].unit = u.ABmag # Can not be serialized to fits file by astropy...
# As SkyCoords object do not support item assignment....
ra = data['R.A. (J2000)']
dec = data['Dec. (J2000)']
mask = data['R.A. (J2000 accurate)'].mask
ra[~mask] = data['R.A. (J2000 accurate)'][~mask]
dec[~mask] = data['Dec. (J2000 accurate)'][~mask]
coords = SkyCoord(ra, dec, unit=(u.hourangle, u.deg))
data['_ra'] = coords.ra
data['_dec'] = coords.dec
data.meta['bibcode'] = bibcode
data.meta['name'] = name
data.meta['inst'] = instrument
reg = [CircleSkyRegion(coord, fwhm) for coord in coords]
# Meta is PER region, so no way to include global meta yet
# reg[0].meta = data.meta
write_ds9(reg, regdir / f'{filename}.reg')
data.write(fitsdir / f'{filename}.fits', overwrite=True)
path = indir / 'Cowie2017_tab6.dat'
filename = 'Cowie2017_450'
bibcode = '2017ApJ...837..139C'
fwhm = 7.5 * u.arcsec
data = ascii.read(path,format='csv', comment="#", data_start=0,
names=['ID', 'Name',
'R.A. (J2000)', 'Dec. (J2000)',
'f450', 'e450', 'S/N',
'R.A. (J2000 accurate)', 'Dec. (J2000 accurate)',
'f860','f1.4GHz', 'K_s', 'z', 'f850'])
for col in ['f450', 'e450', 'f860', 'f850']:
data[col].unit = u.mJy
data['f1.4GHz'].unit = u.uJy
# data['K_s'].unit = u.ABmag # Can not be serialized to fits file by astropy...
# As SkyCoords object do not support item assignment....
ra = data['R.A. (J2000)']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment