{ "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. As the prior for XID+ is based on IRAC detected sources coming from two different surveys at different depths (SERVS and SWIRE) I will split the XID+ run into two different runs. Here we use the SERVS depth." ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": true }, "outputs": [], "source": [ "Sel_func=pymoc.MOC()\n", "Sel_func.read('../data/ELAIS_N1/MOCs/holes_ELAIS-N1_irac1_O16_MOC.fits')\n", "SERVS_MOC=pymoc.MOC()\n", "SERVS_MOC.read('../data/ELAIS_N1/MOCs/DF-SERVS_ELAIS-N1_MOC.fits')\n", "Final=Sel_func.intersection(SERVS_MOC)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Read in XID+MIPS catalogue" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "WARNING: UnitsWarning: 'degrees' did not parse as fits unit: At col 0, Unit 'degrees' not supported by the FITS standard. [astropy.units.core]\n", "WARNING: UnitsWarning: 'muJy' did not parse as fits unit: At col 0, Unit 'muJy' not supported by the FITS standard. Did you mean MJy, mJy or uJy? [astropy.units.core]\n" ] } ], "source": [ "XID_MIPS=Table.read('../data/ELAIS_N1/MIPS/dmu26_XID+MIPS_ELAIS-N1_SERVS_cat_20170710.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 |
---|---|---|---|---|---|---|---|---|---|---|
degrees | degrees | muJy | muJy | muJy | MJy / sr | MJy / sr | ||||
str100 | float64 | float64 | float32 | float32 | float32 | float32 | float32 | float32 | float32 | float32 |
HELP_J161006.621+533656.872 | 242.527587012 | 53.6157979058 | 10.4667 | 22.6099 | 3.04599 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161005.559+533642.824 | 242.523161793 | 53.6118954771 | 12.3774 | 25.8053 | 3.60663 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161008.641+533615.951 | 242.536005913 | 53.6044309555 | 116.806 | 131.279 | 103.169 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161002.817+533625.213 | 242.511735883 | 53.6070036615 | 70.9787 | 88.4681 | 52.4919 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161009.708+533610.215 | 242.540451147 | 53.6028373869 | 132.994 | 146.192 | 120.556 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161000.783+533454.820 | 242.503263565 | 53.5818943665 | 5.79204 | 13.5911 | 1.59307 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161002.558+533606.162 | 242.510656314 | 53.6017117556 | 18.1655 | 31.734 | 6.73982 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161005.420+533611.962 | 242.522583128 | 53.6033228215 | 12.266 | 24.3795 | 3.96191 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J160959.123+533542.063 | 242.496347238 | 53.5950173915 | 17.7358 | 31.0833 | 7.03387 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |
HELP_J161000.625+533444.663 | 242.50260411 | 53.5790731835 | 52.7274 | 68.7187 | 37.6159 | -0.0133419 | 4.90328e-06 | nan | 2000.0 | 0.0 |