Skip to content

Commit

Permalink
Fixed voice column naming error on E-S1
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelshirley committed Dec 7, 2017
1 parent 0ffab45 commit 617a9d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions dmu1/dmu1_ml_ELAIS-S1/1.3_ESIS-VOICE.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
Expand Down Expand Up @@ -118,7 +120,9 @@
{
"cell_type": "code",
"execution_count": 51,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"t = Table.read(\"../../dmu0/dmu0_ESIS-VOICE/data/esis_b2vr_cat_03_HELP-coverage.fits\")\n",
Expand Down Expand Up @@ -687,16 +691,16 @@
" \n",
" catalogue.add_column(Column(\n",
" data = flux * 1.e6,\n",
" name = \"f_megacam_{}\".format(band)\n",
" name = \"f_voice_{}\".format(band)\n",
" ))\n",
" catalogue.add_column(Column(\n",
" data = fluxerr * 1.e6,\n",
" name = \"ferr_megacam_{}\".format(band)\n",
" name = \"ferr_voice_{}\".format(band)\n",
" ))\n",
" \n",
" # Band-flag column\n",
" catalogue.add_column(Column(np.zeros(len(catalogue), dtype=bool), \n",
" name=\"flag_megacam_{}\".format(band)\n",
" name=\"flag_voice_{}\".format(band)\n",
" ))\n",
" \n",
"# TODO: Set to True the flag columns for fluxes that should not be used for SED fitting.\n",
Expand Down
4 changes: 2 additions & 2 deletions dmu1/dmu1_ml_Herschel-Stripe-82/2.2_Merging_low_memory.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@
"vhs_moc = MOC(filename=\"../../dmu0/dmu0_VISTA-VHS/data/VHS_Herschel-Stripe-82_MOC.fits\")\n",
"vics82_moc = MOC(filename=\"../../dmu0/dmu0_VICS82/data/VICS82_FULL_SDSS_FEB2017_K22_HELP-coverage_intIDs_MOC.fits\")\n",
"las_moc = MOC(filename=\"../../dmu0/dmu0_UKIDSS-LAS/data/UKIDSS-LAS_Herschel-Stripe-82_MOC.fits\")\n",
"ps1_moc = MOC(filename=\"../../dmu0/dmu0_PanSTARRS1-3SS/data/PanSTARRS1-3SS_Herschel-Stripe-82_MOC.fits\")\n",
"ps1_moc = MOC(filename=\"../../dmu0/dmu0_PanSTARRS1-3SS/data/PanSTARRS1-3SS_Herschel-Stripe-82_v2_MOC.fits\")\n",
"shela_moc = MOC(filename=\"../../dmu0/dmu0_SHELA/data/shela_irac_v1.3_flux_cat_MOC.fits\")\n",
"spies_moc = MOC(filename=\"../../dmu0/dmu0_SpIES/data/SpIES_ch1andch2_HELP-coverage_MOC.fits\")\n",
"decals_moc = MOC(filename=\"../../dmu0/dmu0_DECaLS/data/DECaLS_Herschel-Stripe-82_MOC.fits\")\n",
Expand Down Expand Up @@ -1195,7 +1195,7 @@
" \n",
" \n",
" \n",
" sub_catalogue.write(\"{}/sub_catalogue_herschel-stripe-82_low-memory{}_{}.fits\".format(OUT_DIR, SUFFIX, n), overwrite=True)\n",
" sub_catalogue.write(\"{}/sub_catalogue_herschel-stripe-82_{}_{}.fits\".format(OUT_DIR, SUFFIX, n), overwrite=True)\n",
" n += 1"
]
}
Expand Down

0 comments on commit 617a9d8

Please sign in to comment.