{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import pylab\n", "import pymoc\n", "import xidplus\n", "import numpy as np\n", "%matplotlib inline\n", "from astropy.table import Table" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import seaborn as sns" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This notebook uses all the raw data from the XID+MIPS catalogue, maps, PSF and relevant MOCs to create XID+ prior object and relevant tiling scheme" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Read in MOCs\n", "The selection functions required are the main MOC associated with the masterlist. " ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": true }, "outputs": [], "source": [ "Sel_func=pymoc.MOC()\n", "Sel_func.read('../data/CDFS-SWIRE/holes_CDFS-SWIRE_irac1_O16_MOC.fits')\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Read in XID+MIPS catalogue" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "XID_MIPS=Table.read('../data/CDFS-SWIRE/MIPS/dmu26_XID+MIPS_CDFS-SWIRE_cat_20170901.fits')" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ "<Table length=10>\n", "
help_id | RA | Dec | F_MIPS_24 | FErr_MIPS_24_u | FErr_MIPS_24_l | Bkg_MIPS_24 | Sig_conf_MIPS_24 | Rhat_MIPS_24 | n_eff_MIPS_24 | Pval_res_24 | flag_mips_24 |
---|---|---|---|---|---|---|---|---|---|---|---|
deg | deg | uJy | uJy | uJy | MJy / sr | MJy / sr | |||||
str27 | float64 | float64 | float32 | float32 | float32 | float32 | float32 | float32 | float32 | float32 | bool |
HELP_J033650.824-295620.783 | 54.21176639 | -29.939106486 | 256.714 | 552.544 | 78.7135 | -0.0034898 | 5.16096e-06 | 0.999126 | 1578.0 | 0.0 | False |
HELP_J033655.442-295449.596 | 54.2310102146 | -29.9137765914 | 241.177 | 525.111 | 75.9436 | -0.000860725 | 5.00049e-06 | 1.00131 | 1393.0 | 0.0 | False |
HELP_J033616.314-295548.181 | 54.0679762 | -29.930050306 | 301.589 | 317.576 | 285.959 | -0.00416415 | 5.00936e-06 | nan | 2000.0 | 0.0 | False |
HELP_J033601.094-295546.425 | 54.0045569 | -29.929562436 | 81.0617 | 94.9617 | 68.2415 | 0.00167452 | 4.96993e-06 | nan | 1121.0 | 0.0 | False |
HELP_J033606.888-295518.496 | 54.0287013 | -29.921804496 | 35.2795 | 49.9402 | 21.0285 | -0.00524232 | 5.13793e-06 | nan | 1058.0 | 0.0 | False |
HELP_J033607.350-295516.790 | 54.03062359 | -29.921330436 | 184.848 | 199.895 | 169.931 | -0.00524232 | 5.13793e-06 | nan | 1555.0 | 0.0 | False |
HELP_J033608.786-295409.821 | 54.03660934 | -29.902727956 | 7.16189 | 15.6523 | 1.85904 | -0.00524232 | 5.13793e-06 | nan | 1605.0 | 0.0 | True |
HELP_J033610.856-295506.940 | 54.04523478 | -29.918594406 | 250.447 | 262.422 | 237.689 | -0.00524232 | 5.13793e-06 | nan | 1710.0 | 0.0 | False |
HELP_J033555.160-295410.647 | 53.97983175 | -29.902957406 | 1643.15 | 1657.83 | 1628.09 | -0.00319642 | 4.92844e-06 | nan | 1656.0 | 0.998 | True |
HELP_J033559.324-295522.307 | 53.99718296 | -29.922863036 | 99.8378 | 112.263 | 86.7584 | -0.00319642 | 4.92844e-06 | nan | 1435.0 | 0.0 | False |