Skip to content

Commit

Permalink
Adding specz on ELAIS-S1
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelshirley committed Feb 1, 2018
1 parent 3a98df5 commit bd08754
Showing 1 changed file with 56 additions and 6 deletions.
62 changes: 56 additions & 6 deletions dmu1/dmu1_ml_ELAIS-S1/2_Merging.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,18 @@
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/rs548/anaconda/envs/herschelhelp_internal/lib/python3.6/site-packages/seaborn/apionly.py:6: UserWarning: As seaborn no longer sets a default style on import, the seaborn.apionly module is deprecated. It will be removed in a future version.\n",
" warnings.warn(msg, UserWarning)\n"
]
}
],
"source": [
"%matplotlib inline\n",
"#%config InlineBackend.figure_format = 'svg'\n",
Expand Down Expand Up @@ -545,7 +552,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## V - Adding HELP unique identifiers and field columns"
"## V.a - Adding HELP unique identifiers and field columns"
]
},
{
Expand Down Expand Up @@ -585,6 +592,49 @@
" print(\"OK!\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## V.b - Adding spec-z"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"specz = Table.read(\"../../dmu23/dmu23_ELAIS-S1/data/ELAIS-S1-specz-v2.2.fits\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"nb_merge_dist_plot(\n",
" SkyCoord(master_catalogue['ra'], master_catalogue['dec']),\n",
" SkyCoord(specz['ra'] * u.deg, specz['dec'] * u.deg)\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"master_catalogue = specz_merge(master_catalogue, specz, radius=1. * u.arcsec)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit bd08754

Please sign in to comment.