Thursday, June 9, 2011
More QSO-Galaxy Cross Correlations
Monday, June 6, 2011
Testing QSO-Galaxy Cross CF
from pylab import *
from correlationFunctions import *
#------------------------------------------------------------------------
# Create file names (tiny catalogs)
#------------------------------------------------------------------------
workingDir = 'tinyrun'
makeworkingdir(workingDir)
galaxyDataFile, qsoDataFile, randomDataFile, corr2dCodefile, argumentFile, runConstantsFile = makeFileNamesTiny(workingDir)
oversample = 5. # Amount that randoms should be oversampled
corrBins = 25.0 # Number of correlation bins (+1)
mincorr = 0.1 # (Mpc/h comoving distance separation) Must be great than zero if log-binning
maxcorr = 10.0 # (Mphc/h comoving distance separation)
convo = 180./pi # conversion from degrees to radians
tlogbin = 1 # = 0 for uniform spacing, = 1 for log spacing in theta
#------------------------------------------------------------------------
# Write run constants to a file
#------------------------------------------------------------------------
writeRunConstantsToFile(runConstantsFile, galaxyDataFile, qsoDataFile, \
randomDataFile, corr2dCodefile, argumentFile, oversample, corrBins, \
mincorr, maxcorr, tlogbin)
#------------------------------------------------------------------------
# Compute the Angular Correlation Function
#------------------------------------------------------------------------
runcrossCorrelation(workingDir, argumentFile, corr2dCodefile, galaxyDataFile,\
qsoDataFile, randomDataFile, mincorr, maxcorr, corrBins, tlogbin)
# separation (Mpc/h) crossw (Mpc/h)
0.4300000000 -0.1156862745
1.0900000000 -0.1044776119
1.7500000000 -0.1208039566
2.4100000000 -0.0914845135
3.0700000000 -0.0393970538
3.7300000000 -0.0268417043
4.3900000000 0.0134841235
5.0500000000 0.0596093513
5.7100000000 0.0227161938
6.3700000000 0.1025539385
7.0300000000 0.0929232804
7.6900000000 0.0900670231
8.3500000000 0.0591397849
9.0100000000 0.0284723490
9.6700000000 0.0598689436
As you can see the correlation functions match!
Wednesday, June 1, 2011
Data in Order
Friday, May 20, 2011
New Project
Here is the new project description:
Participants:
Jessica Kirkpatrick
Martin White, David Schlegel, Nic Ross, Alexie Leauthaud, Jean-Paul Kneib
Categories: BOSS
Project Description:
We plan to measure the intermediate scale clustering of low redshift BOSS quasars along Stripe 82 by cross-correlation against the photometric galaxy catalog from the CFH i-band imaging on Stripe 82. There are approximately 1,000 BOSS quasars with 0.5<z<1 and just under 6 million galaxies in the -43<RA<43 and -1<DEC<1 region brighter than i=23.5, which should lead to a strong detection of clustering over approximately 2 orders of magnitude in length scale. The geometry of the stripe suggests errors on the cross-correlation can be efficiently obtained by jackknife or bootstrap sampling the ~50 2x2 degree blocks.
We intend to split the QSO sample in luminosity and black hole mass. We plan to estimate the BH mass using the fits from Vestergaard and Peterson, knowing the Hbeta line width and the continuum luminosity at 5100A. The pipeline measures the former, we plan to measure the latter from the photometry calibrated with Ian McGreer's mocks.
If we use the QG/QR-1 estimator we do not need the quasar mask, only that of the galaxies which will be provided by the CS82 team in the form of a pixelized mask from visual inspection. The dN/dz of the galaxies is known from photometric redshifts plus spectroscopic training sets. While the galaxies could be split in photometric redshift bins, the gains from doing so are not expected to be large, so our initial investigations will simply cross-correlate the quasars with the magnitude limited galaxy catalog.
Along with this project we will submit a request for EC status for:
Ludo van Waerbeke
Hendrik Hildebrant
David Woods
Thomas Erben
who were instrumental in obtaining and reducing the CS82 data and producing the required galaxy catalog and mask but are not members of the BOSS collaboration.
Details are available at https://www.sdss3.org/
The first thing Martin wanted me to do was to approximate the errors bars for the correlation function based on the density of galaxies and quasars in my sample.
Starting with luminosity function in this paper, I am doing the following to estimate the density.
According to Table 1 in Ilbert et. al. the following are the Schechter parameters for the galaxy luminosity function, redshift 0.6-0.8:

I understand that the errors go as 1 / sqrt(pair counts) in each bin. But going from galaxy/qso density to pair counts in a bin is where I am a bit lost.
For a 3D correlation function the number of data pairs goes as Nqso times Nbar-galaxy times 1+xi times the volume of the bin (in 3D, e.g. 4\pi s^2 ds for a spherical shell). Just think of what the code does: sit on each quasar and count all the galaxies in the bin. To go from a 3D correlation function to a 2D correlation function you need to integrate in the Z direction. But remember that the sum of independent Poisson distributions is also a Poisson with a mean equal to the sum of the means of the contributing parts. So this allows you to figure out what the error on wp is. You should see that as you integrate to very large line-of-sight distance things become noisier. So choose something like +/-50Mpc/h for the width in line-of-sight distance to integrate over in defining wp.
It's a little easier to understand if you write the defining equations out for yourself on a piece of paper.
Martin
http://arxiv.org/abs/0802.2105
https://trac.sdss3.org/wiki/BOSS/quasars/black_hole_masses
