Skip to content

Commit

Permalink
Working on DECAM merge on HS82
Browse files Browse the repository at this point in the history
Also bug fixes on DES across southern fields #15 #4 #6 #17 #11 #18 #20
  • Loading branch information
raphaelshirley committed Jan 17, 2018
1 parent 80339bb commit 354d48e
Show file tree
Hide file tree
Showing 10 changed files with 678 additions and 1,493 deletions.
6 changes: 5 additions & 1 deletion dmu1/dmu1_ml_AKARI-SEP/1.3_DES.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
" 'WAVG_MAG_PSF_G': \"m_ap_decam_g\", \n",
" 'WAVG_MAGERR_PSF_G': \"merr_ap_decam_g\",\n",
" \n",
" 'FLUX_AUTO_R': \"f_decam_r\", \n",
" 'FLUXERR_AUTO_R': \"ferr_decam_r\", \n",
" 'WAVG_FLUX_PSF_R': \"f_ap_decam_r\", \n",
" 'WAVG_FLUXERR_PSF_R': \"ferr_ap_decam_r\",\n",
Expand All @@ -116,6 +117,7 @@
" 'WAVG_MAG_PSF_R': \"m_ap_decam_r\", \n",
" 'WAVG_MAGERR_PSF_R': \"merr_ap_decam_r\",\n",
" \n",
" 'FLUX_AUTO_I': \"f_decam_i\",\n",
" 'FLUXERR_AUTO_I': \"ferr_decam_i\", \n",
" 'WAVG_FLUX_PSF_I': \"f_ap_decam_i\", \n",
" 'WAVG_FLUXERR_PSF_I': \"ferr_ap_decam_i\",\n",
Expand All @@ -124,6 +126,7 @@
" 'WAVG_MAG_PSF_I': \"m_ap_decam_i\", \n",
" 'WAVG_MAGERR_PSF_I': \"merr_ap_decam_i\",\n",
" \n",
" 'FLUX_AUTO_Z': \"f_decam_z\",\n",
" 'FLUXERR_AUTO_Z': \"ferr_decam_z\", \n",
" 'WAVG_FLUX_PSF_Z': \"f_ap_decam_z\", \n",
" 'WAVG_FLUXERR_PSF_Z': \"ferr_ap_decam_z\",\n",
Expand All @@ -132,13 +135,14 @@
" 'WAVG_MAG_PSF_Z': \"m_ap_decam_z\", \n",
" 'WAVG_MAGERR_PSF_Z': \"merr_ap_decam_z\",\n",
" \n",
" 'FLUX_AUTO_Y': \"f_decam_y\",\n",
" 'FLUXERR_AUTO_Y': \"ferr_decam_y\", \n",
" 'WAVG_FLUX_PSF_Y': \"f_ap_decam_y\", \n",
" 'WAVG_FLUXERR_PSF_Y': \"ferr_ap_decam_y\",\n",
" 'MAG_AUTO_Y': \"m_decam_y\", \n",
" 'MAGERR_AUTO_Y': \"merr_decam_y\", \n",
" 'WAVG_MAG_PSF_Y': \"m_ap_decam_y\", \n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\",\n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\"\n",
"\n",
" })\n",
"\n",
Expand Down
38 changes: 29 additions & 9 deletions dmu1/dmu1_ml_CDFS-SWIRE/1.9_DES.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from herschelhelp_internal import git_version\n",
Expand All @@ -34,7 +36,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
Expand Down Expand Up @@ -104,6 +108,7 @@
" 'WAVG_MAG_PSF_G': \"m_ap_decam_g\", \n",
" 'WAVG_MAGERR_PSF_G': \"merr_ap_decam_g\",\n",
" \n",
" 'FLUX_AUTO_R': \"f_decam_r\", \n",
" 'FLUXERR_AUTO_R': \"ferr_decam_r\", \n",
" 'WAVG_FLUX_PSF_R': \"f_ap_decam_r\", \n",
" 'WAVG_FLUXERR_PSF_R': \"ferr_ap_decam_r\",\n",
Expand All @@ -112,6 +117,7 @@
" 'WAVG_MAG_PSF_R': \"m_ap_decam_r\", \n",
" 'WAVG_MAGERR_PSF_R': \"merr_ap_decam_r\",\n",
" \n",
" 'FLUX_AUTO_I': \"f_decam_i\",\n",
" 'FLUXERR_AUTO_I': \"ferr_decam_i\", \n",
" 'WAVG_FLUX_PSF_I': \"f_ap_decam_i\", \n",
" 'WAVG_FLUXERR_PSF_I': \"ferr_ap_decam_i\",\n",
Expand All @@ -120,6 +126,7 @@
" 'WAVG_MAG_PSF_I': \"m_ap_decam_i\", \n",
" 'WAVG_MAGERR_PSF_I': \"merr_ap_decam_i\",\n",
" \n",
" 'FLUX_AUTO_Z': \"f_decam_z\",\n",
" 'FLUXERR_AUTO_Z': \"ferr_decam_z\", \n",
" 'WAVG_FLUX_PSF_Z': \"f_ap_decam_z\", \n",
" 'WAVG_FLUXERR_PSF_Z': \"ferr_ap_decam_z\",\n",
Expand All @@ -128,13 +135,14 @@
" 'WAVG_MAG_PSF_Z': \"m_ap_decam_z\", \n",
" 'WAVG_MAGERR_PSF_Z': \"merr_ap_decam_z\",\n",
" \n",
" 'FLUX_AUTO_Y': \"f_decam_y\",\n",
" 'FLUXERR_AUTO_Y': \"ferr_decam_y\", \n",
" 'WAVG_FLUX_PSF_Y': \"f_ap_decam_y\", \n",
" 'WAVG_FLUXERR_PSF_Y': \"ferr_ap_decam_y\",\n",
" 'MAG_AUTO_Y': \"m_decam_y\", \n",
" 'MAGERR_AUTO_Y': \"merr_decam_y\", \n",
" 'WAVG_MAG_PSF_Y': \"m_ap_decam_y\", \n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\",\n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\"\n",
"\n",
" })\n",
"\n",
Expand Down Expand Up @@ -191,7 +199,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"catalogue[:10].show_in_notebook()"
Expand All @@ -214,7 +224,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"SORT_COLS = ['merr_ap_decam_g', 'merr_ap_decam_r','merr_ap_decam_i','merr_ap_decam_z','merr_ap_decam_y']\n",
Expand Down Expand Up @@ -255,7 +267,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"nb_astcor_diag_plot(catalogue[RA_COL], catalogue[DEC_COL], \n",
Expand All @@ -265,7 +279,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"delta_ra, delta_dec = astrometric_correction(\n",
Expand All @@ -292,7 +308,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"nb_astcor_diag_plot(catalogue[RA_COL], catalogue[DEC_COL], \n",
Expand Down Expand Up @@ -322,7 +340,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"GAIA_FLAG_NAME = \"des_flag_gaia\"\n",
Expand Down
6 changes: 5 additions & 1 deletion dmu1/dmu1_ml_ELAIS-S1/1.6_DES.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
" 'WAVG_MAG_PSF_G': \"m_ap_decam_g\", \n",
" 'WAVG_MAGERR_PSF_G': \"merr_ap_decam_g\",\n",
" \n",
" 'FLUX_AUTO_R': \"f_decam_r\", \n",
" 'FLUXERR_AUTO_R': \"ferr_decam_r\", \n",
" 'WAVG_FLUX_PSF_R': \"f_ap_decam_r\", \n",
" 'WAVG_FLUXERR_PSF_R': \"ferr_ap_decam_r\",\n",
Expand All @@ -116,6 +117,7 @@
" 'WAVG_MAG_PSF_R': \"m_ap_decam_r\", \n",
" 'WAVG_MAGERR_PSF_R': \"merr_ap_decam_r\",\n",
" \n",
" 'FLUX_AUTO_I': \"f_decam_i\",\n",
" 'FLUXERR_AUTO_I': \"ferr_decam_i\", \n",
" 'WAVG_FLUX_PSF_I': \"f_ap_decam_i\", \n",
" 'WAVG_FLUXERR_PSF_I': \"ferr_ap_decam_i\",\n",
Expand All @@ -124,6 +126,7 @@
" 'WAVG_MAG_PSF_I': \"m_ap_decam_i\", \n",
" 'WAVG_MAGERR_PSF_I': \"merr_ap_decam_i\",\n",
" \n",
" 'FLUX_AUTO_Z': \"f_decam_z\",\n",
" 'FLUXERR_AUTO_Z': \"ferr_decam_z\", \n",
" 'WAVG_FLUX_PSF_Z': \"f_ap_decam_z\", \n",
" 'WAVG_FLUXERR_PSF_Z': \"ferr_ap_decam_z\",\n",
Expand All @@ -132,13 +135,14 @@
" 'WAVG_MAG_PSF_Z': \"m_ap_decam_z\", \n",
" 'WAVG_MAGERR_PSF_Z': \"merr_ap_decam_z\",\n",
" \n",
" 'FLUX_AUTO_Y': \"f_decam_y\",\n",
" 'FLUXERR_AUTO_Y': \"ferr_decam_y\", \n",
" 'WAVG_FLUX_PSF_Y': \"f_ap_decam_y\", \n",
" 'WAVG_FLUXERR_PSF_Y': \"ferr_ap_decam_y\",\n",
" 'MAG_AUTO_Y': \"m_decam_y\", \n",
" 'MAGERR_AUTO_Y': \"merr_decam_y\", \n",
" 'WAVG_MAG_PSF_Y': \"m_ap_decam_y\", \n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\",\n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\"\n",
"\n",
" })\n",
"\n",
Expand Down
6 changes: 5 additions & 1 deletion dmu1/dmu1_ml_Herschel-Stripe-82/1.8.2_DES.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
" 'WAVG_MAG_PSF_G': \"m_ap_decam_g\", \n",
" 'WAVG_MAGERR_PSF_G': \"merr_ap_decam_g\",\n",
" \n",
" 'FLUX_AUTO_R': \"f_decam_r\", \n",
" 'FLUXERR_AUTO_R': \"ferr_decam_r\", \n",
" 'WAVG_FLUX_PSF_R': \"f_ap_decam_r\", \n",
" 'WAVG_FLUXERR_PSF_R': \"ferr_ap_decam_r\",\n",
Expand All @@ -116,6 +117,7 @@
" 'WAVG_MAG_PSF_R': \"m_ap_decam_r\", \n",
" 'WAVG_MAGERR_PSF_R': \"merr_ap_decam_r\",\n",
" \n",
" 'FLUX_AUTO_I': \"f_decam_i\",\n",
" 'FLUXERR_AUTO_I': \"ferr_decam_i\", \n",
" 'WAVG_FLUX_PSF_I': \"f_ap_decam_i\", \n",
" 'WAVG_FLUXERR_PSF_I': \"ferr_ap_decam_i\",\n",
Expand All @@ -124,6 +126,7 @@
" 'WAVG_MAG_PSF_I': \"m_ap_decam_i\", \n",
" 'WAVG_MAGERR_PSF_I': \"merr_ap_decam_i\",\n",
" \n",
" 'FLUX_AUTO_Z': \"f_decam_z\",\n",
" 'FLUXERR_AUTO_Z': \"ferr_decam_z\", \n",
" 'WAVG_FLUX_PSF_Z': \"f_ap_decam_z\", \n",
" 'WAVG_FLUXERR_PSF_Z': \"ferr_ap_decam_z\",\n",
Expand All @@ -132,13 +135,14 @@
" 'WAVG_MAG_PSF_Z': \"m_ap_decam_z\", \n",
" 'WAVG_MAGERR_PSF_Z': \"merr_ap_decam_z\",\n",
" \n",
" 'FLUX_AUTO_Y': \"f_decam_y\",\n",
" 'FLUXERR_AUTO_Y': \"ferr_decam_y\", \n",
" 'WAVG_FLUX_PSF_Y': \"f_ap_decam_y\", \n",
" 'WAVG_FLUXERR_PSF_Y': \"ferr_ap_decam_y\",\n",
" 'MAG_AUTO_Y': \"m_decam_y\", \n",
" 'MAGERR_AUTO_Y': \"merr_decam_y\", \n",
" 'WAVG_MAG_PSF_Y': \"m_ap_decam_y\", \n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\",\n",
" 'WAVG_MAGERR_PSF_Y': \"merr_ap_decam_y\"\n",
"\n",
" })\n",
"\n",
Expand Down
Loading

0 comments on commit 354d48e

Please sign in to comment.