Skip to content

Commit

Permalink
Adding more dtype=bool to XMM-LSS
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelshirley committed Jan 10, 2018
1 parent 46460e3 commit c29fe22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmu1/dmu1_ml_XMM-LSS/2.1_Megacam_merge.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,11 @@
" # Megacam aperture flux \n",
" has_ap_cfhtls_deep = ~np.isnan(master_catalogue['f_ap_cfhtls-deep_' + band])\n",
" if band == 'y':\n",
" has_ap_cfhtls_wide = np.full(len(master_catalogue), False)\n",
" has_ap_cfhtls_wide = np.full(len(master_catalogue), False, dtype=bool)\n",
" else:\n",
" has_ap_cfhtls_wide = ~np.isnan(master_catalogue['f_ap_cfhtls-wide_' + band])\n",
" if band == 'i':\n",
" has_ap_sparcs = np.full(len(master_catalogue), False)\n",
" has_ap_sparcs = np.full(len(master_catalogue), False, dtype=bool)\n",
" else:\n",
" has_ap_sparcs = ~np.isnan(master_catalogue['f_ap_sparcs_' + band])\n",
" \n",
Expand Down

0 comments on commit c29fe22

Please sign in to comment.