{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# XID+PACS Lockman-SWIRE Prior" ] }, { "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+PACS 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. As the prior for XID+ is based on IRAC detected sources." ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": true }, "outputs": [], "source": [ "Sel_func=pymoc.MOC()\n", "Sel_func.read('../data/Lockman-SWIRE/holes_Lockman-SWIRE_irac1_20171214_O16_MOC.fits')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Read in XID+MIPS catalogue" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": true }, "outputs": [], "source": [ "XID_MIPS=Table.read('../data/Lockman-SWIRE/MIPS/dmu26_XID+MIPS_Lockman-SWIRE_cat_20171214.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_J104834.640+553618.070 | 162.1443344 | 55.6050193754 | 953.652 | 1391.02 | 558.782 | -0.263134 | 4.94239e-06 | 1.0021 | 959.0 | 0.0 | False |
HELP_J104844.111+553806.455 | 162.18379776 | 55.6351263157 | 5.835 | 15.6855 | 1.42353 | -0.124418 | 5.0304e-06 | nan | 1428.0 | 0.0 | True |
HELP_J104909.113+554129.002 | 162.287969389 | 55.6913894849 | 16.5938 | 33.347 | 5.67531 | 3.73435e-05 | 4.89605e-06 | 1.00059 | 1623.0 | 0.0 | True |
HELP_J104910.454+554135.336 | 162.293559631 | 55.6931488629 | 47.5049 | 66.385 | 28.2103 | 3.73435e-05 | 4.89605e-06 | nan | 775.0 | 0.0 | False |
HELP_J104911.099+554218.548 | 162.29624584 | 55.7051523559 | 187.706 | 204.257 | 169.476 | -0.00208601 | 5.06499e-06 | 1.00105 | 1615.0 | 0.0 | False |
HELP_J104919.290+554303.561 | 162.330374299 | 55.7176559469 | 39.9872 | 58.7282 | 22.266 | -0.00208601 | 5.06499e-06 | nan | 2000.0 | 0.0 | False |
HELP_J104916.682+554301.860 | 162.319507377 | 55.7171832419 | 18.1097 | 33.5374 | 6.31178 | -0.00208601 | 5.06499e-06 | 1.00147 | 1201.0 | 0.0 | True |
HELP_J104914.098+554211.057 | 162.308741513 | 55.7030714689 | 270.506 | 288.916 | 253.788 | -0.00208601 | 5.06499e-06 | nan | 1763.0 | 0.0 | False |
HELP_J104910.874+554227.417 | 162.295306988 | 55.7076158319 | 30.2717 | 47.4151 | 13.7691 | -0.00208601 | 5.06499e-06 | 0.999344 | 1381.0 | 0.0 | False |
HELP_J104914.130+554220.288 | 162.308873375 | 55.7056354849 | 251.413 | 270.354 | 232.821 | -0.00208601 | 5.06499e-06 | nan | 1918.0 | 0.0 | False |