Elizabeth edited sectionAnalysis.tex  about 10 years ago

Commit id: 67c9c1baea5b52d0b6eae00d1ea77b9215688891

deletions | additions      

       

In order to check the pipeline funcionality, we apply it to the \textit{DES Cluster Simulation} images, publically available (Gill et al. 2009).\\  The steps in the weak lensing analysis and the results of the aplication of it to the simulated data, are described in the next subsections.  %  \subsection{Object detection and classification}  %  We used SExtractor (Bertin \& Arnouts, 1996) for the detection and fotometry of the   sources, in a two-pass mode. A first run is made to detect bright objects, with a detection level of 5$ \sigma $ above the background, in order to estimate the seeing and the saturation level of each image. The seeing is estimated using the average of the FWHM parameter of the point-like objects, selected from the FWHM/MAG\_BEST diagram since for these objects the FWHM is independent of the magnitude (\textbf{se entiende, o les parece mejor agregar el grafico?)}). Determining the seeing is important for SExtractor to perform the star-galaxy classification. The saturation level is estimated as 0.8 times the maximum value of the FLUX\_MAX parameter. These parameters, \textit{seeing} and \textit{saturation level}, are taking into account in the SExtractor configuration file for the second run, with a lower threshold detection limit of 1.5$ \sigma $. Second run is made in dual mode, detecting objects on the \textit{r'} image, while astrometric and photometric parameters are measured on all individual images.\\  %  \begin{figure}  \centering  \includegraphics[width=.5\textwidth]{./../plots/new-ones/mu_mag.eps}~\\  \includegraphics[width=.5\textwidth]{./../plots/new-ones/mag_fwhm.eps}  \caption{Objects detected in the galaxy cluster [VMF98]102 \textit{r'-}band image, stars (\textit{blue points}), galaxies (\textit{green points}), and artifacts (\textit{black points}). In the MU\_MAX/MAG\_BEST plane (\textit{left}), stars are in the region marked by the red solid line $\pm$ 0.4 magnitudes. To check the selection, we plot the sources in the MAG\_BEST/FWHM plane (\textit{left}), where point like object selected as stars have almost the same FWHM despite the magnitude.}  \label{sources}  \end{figure}  %  For the object classification in stars, galaxies and false detections,  we considered a similar analysis as Bardeau\,et\,al.\,2005, taking into account the position of the source in the magnitude/central flux diagram, the FWHM respect to the seeing and the stellarity index, according to the CLASS\_STAR parameter. Objects that are more sharply peaked than the PSF (FWHM replace_contentlt;$ \textit{seeing} - 0.5 pixel) and with FLAG parameter replace_contentgt;$ 4, are considered as false detections. As the light distribution of a point source scales with magnitude, objects on the line magnitude/central flux, $\pm$ 0.4 magnitudes (Figure\,\ref{sources}), FWHM replace_contentlt;$ \textit{seeing} + 1 pixel and CLASS\_STAR replace_contentgt;$ 0.8 are considered as stars. The rest of the objects are considered as galaxies. \\  %  \subsection{Shape measurements}  %  For the shape measurements we used IM2SHAPE (Bridle et al. 2002). Its computes   the shapes parameters modeling the object as sums of Gaussians, convolved with a   PSF which is also a sum of Gaussians. For simplicity, both the PSF and the object   are modeled with a single elliptical Gaussian profile. \\  The PSF was determined measuring the shapes of the stars as they are intrinsically point­like objects. Once we obtained the shape of the stars, we clean the catalogue removing those objects with ellipticity greater than 0.2, which mainly appear to be false detections or faint galaxies, and by looking at the 5 nearest stars at each star position and removing those that differ by more than 2$\sigma$ from the local average shape. \\  After cleaning the catalogue, we linearly interpolate the local PSF at each object position by averaging the shapes of the five closest stars. We checked that  our Im2shape implementation can recover point-like objects by applying this PSF correction to each star. Figure\,\ref{PSF} shows the results of the shape parameters measurements for these stars, with and wihtout taking into account the PSF in the shape measurement: the size distribution is dominated by point sources, and the orientation is more uniformly distributed after the PSF correction.\\    \begin{figure}  \centering  \includegraphics[width=.25\textwidth]{./../plots/psf/ab.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/ab_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/map.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/map_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/e1.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/e1_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/e2.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/e2_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/Theta.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/Theta_correc.eps}  \caption{PSF treatment applied to stars of one of the images of the DES   simulations: Semiaxis ($a$ cos $\theta$, $a$ sin $\theta$) before (\textit{left}) and after (\textit{right}) the  PSF deconvolution, which is more randomly distributed and considerably smaller (First row at top left corner  indicates the scale).}  \label{PSF}  \end{figure}  \subsection{Shear radial profiles}  Gravitational lensing maps the unlensed image, specified by coordinates $(x,y)$, to the lensed image $(x',y')$ using a matrix transformation:  \\  \begin{equation*}  \begin{pmatrix}  x\\  y  \end{pmatrix}  \begin{pmatrix}  1-g_{1} & -g_{2} \\  -g_{2} & 1+g_{1}   \end{pmatrix}  =  \begin{pmatrix}  x' \\  y' \\  \end{pmatrix}  \end{equation*}  \\  where $g_{1}$ and $g_{2}$ are the components of the reduced shear:  \begin{equation*}  g=\dfrac{\gamma}{1-\kappa}  \end{equation*}  If lensing is weak, the image of a circular source with ratio \textit{r}, appears elliptical, with axis given by  \begin{equation*}  a=\dfrac{r}{1-\kappa-\gamma} , b=\dfrac{r}{1-\kappa+\gamma}  \end{equation*}  Defining the ellipticity as  \begin{equation*}  e=\dfrac{a-b}{a+b}=\dfrac{\gamma}{1-\kappa}\approx\gamma  \end{equation*}  where \textit{g} becomes the normal shear, $\gamma$, since $\kappa \ll 1$, which generally holds in the weak lensing regime for clusters, and will be assumed henceforth here.\\  If the source has an intrinsic ellipticity $e_{s}$, the observed ellipticity in the weak lensing limit will be:  \begin{equation*}  e=e_{s}+\gamma  \end{equation*}  Assuming that unlensed galaxies are randomly oriented on the sky plane ($\langle e_{s} \rangle = 0$ ) and averaging over sufficiently many sources:  \begin{equation*}  \langle e \rangle=\langle \gamma \rangle  \end{equation*}  Hence, in the weak­lensing approximation, we get an unbiased estimator of the reduced shear by averaging the shape of background galaxies in concentric annuli around the cluster center. Spherical symmetry also implies that the tangential component (E-­mode) of the lensed galaxies traces the reduced shear, while the average of the component tilted at $\pi/4$ relative to the tangential component is the 'B-­mode' and should be exactly zero for the case of perfect symmetry (see e.g. Sec. 4 of Bartelmann \& Schneider 2001 or Bernstein \& Jarvis 2002).\\  Because of the random orientation of the galaxies in the source plane, the error in the observed galaxy ellipticities and thus, on the estimated shear, will depend on  the number of galaxies averaged together to measure the shear (Schneider et al. 2000). The error can be estimated as:  \begin{equation*}  \sigma_{\gamma}\approx\dfrac{\sigma_{\epsilon}}{\sqrt{N}}  \end{equation*}  where $\sigma_{\epsilon}$ is the dispersion of the intrinsic ellipticity distribution ($\sigma_{\epsilon} \approx 0.3$) and $N$ is the number of objects in the annular bin.  \subsection{Background Galaxies selection and redshift distribution}  %  Background galaxies for the shear estimation, were selected as the galaxies with magnitude in the filter \textit{r'}, $m_{r}$, higher than $m_{L}$, and lower than $m_{max} + 1.0$, where $m_{L}$ is defined as the lowest magnitude $r'$ such that the probability that the galaxy is behind the cluster is higher than 0.7 and $m_{max}$ correspond to the peak of the magnitude distribution of the image in the filter \textit{r'} (both magnitudes for each cluster are listed in Table\,\ref{table:2}). The later cut in magnitude ensures that we are not taking into account galaxies that are too faint, given that they could have great errors in the shape measurements. Also, as we did for the simulated data, we discard galaxies with FWHM replace_contentlt;$ 5, with companions closer than 16 pixels and with $\sigma_{e} > 0.2$.\\  To compute $m_{L}$ we used the catalogue of photometric redshifts computed by Coupon et al. 2009, based on the public release Deep Field 1 of the Canada-France-Hawaii Telescope Legacy Survey. We estimated the fraction of galaxies with $z > z_{cluster}$ in magnitude bins for the \textit{r'} filter, and then we chose $m_{L}$ as the lowest magnitude for which the fraction of galaxies was greater than 0.7. Background galaxy density after the selection are listed for each cluster in Table 2.\\  Once we obtained a catalogue for the background galaxies, we average the two components of the ellipticities (E-mode and B-mode) in nonoverlapping logarithmic annuli, to conserve the S/N ratio in each bin. In order to take into account the contamination of foreground galaxies in the catalogue, we weighted the average value of the components of the galaxie's ellipticity with the probability that the galaxy was behind the cluster. We compute this probability using Coupon's catalogue, from the fraction of galaxies with $z > z_{cluster}$ for each bin in magnitude, \textit{r'}, and color (\textit{g' - r'} and \textit{r' - i'}) - Figure\,\ref{weigh}. Hence, given the magnitude and the color of each galaxy, we assigned to it a weigh, \textit{w}, as the fraction of galaxies with $z > z_{cluster}$ in that bin. \\  \begin{figure}  \centering  \includegraphics[scale=0.35]{./../plots/new-ones/distrib_z05.ps}\\  \caption{Fraction of galaxies with $z > 0.5$ ($n(z>0.5)/N_{tot}$), for different magnitudes in filter \textit{r'} and colors \textit{r'-i'}.}  \label{weigh}  \end{figure}  The average E-mode components correspond to the shear value which depends on the geometrical factor $ \beta = D_{LS}/ D_{L} $, where $D_{LS}$ is the angular diameter distance from the lens to the background source galaxy, and $D_{L}$ is the distance from the observer to the background galaxy. A galaxy at the same radial distance from the center of the cluster but at a different background redshift is sheared differently. To remove this variation, we divide the estimated shear by $\beta$, which results in the infinite redshift limit (z $\rightarrow \infty$) shear value, that is only function of the radial distance from the cluster center. To estimate $\beta$ we used once more Coupon's catalogue, since we can consider that this catalogue is complete up to our magnitude limit. We applied the photometric selection criteria to the catalogue and then we computed $\beta$ for the whole distribution of field galaxies, taking into account the contamination by foreground galaxies given our selection criteria by setting $\beta(z_{phot} < z_{cluster}) = 0$. The averaged geometrical factors for each cluster are given in Table\,\ref{table:2}.  \section{Weak Lensing Analysis:}  \label{sec:method}  %  %  We perform a pipeline based on python language to make the   lensing analysis. Its detects and classifies the sources, determines the \textit{Point Spread Function} (henceforth PSF) at the position of every object, measures the shape of the galaxies accounting for the PSF deformation, selects the background galaxies and computes the shear profile. \\  In order to check the pipeline funcionality, we apply it to the \textit{DES Cluster Simulation} images, publically available (Gill et al. 2009).\\  The steps in the weak lensing analysis and the results of the aplication of it to the simulated data, are described in the next subsections.  %  \subsection{Object detection and classification}  %  We used SExtractor (Bertin \& Arnouts, 1996) for the detection and fotometry of the   sources, in a two-pass mode. A first run is made to detect bright objects, with a detection level of 5$ \sigma $ above the background, in order to estimate the seeing and the saturation level of each image. The seeing is estimated using the average of the FWHM parameter of the point-like objects, selected from the FWHM/MAG\_BEST diagram since for these objects the FWHM is independent of the magnitude (\textbf{se entiende, o les parece mejor agregar el grafico?)}). Determining the seeing is important for SExtractor to perform the star-galaxy classification. The saturation level is estimated as 0.8 times the maximum value of the FLUX\_MAX parameter. These parameters, \textit{seeing} and \textit{saturation level}, are taking into account in the SExtractor configuration file for the second run, with a lower threshold detection limit of 1.5$ \sigma $. Second run is made in dual mode, detecting objects on the \textit{r'} image, while astrometric and photometric parameters are measured on all individual images.\\  %  \begin{figure}  \centering  \includegraphics[width=.5\textwidth]{./../plots/new-ones/mu_mag.eps}~\\  \includegraphics[width=.5\textwidth]{./../plots/new-ones/mag_fwhm.eps}  \caption{Objects detected in the galaxy cluster [VMF98]102 \textit{r'-}band image, stars (\textit{blue points}), galaxies (\textit{green points}), and artifacts (\textit{black points}). In the MU\_MAX/MAG\_BEST plane (\textit{left}), stars are in the region marked by the red solid line $\pm$ 0.4 magnitudes. To check the selection, we plot the sources in the MAG\_BEST/FWHM plane (\textit{left}), where point like object selected as stars have almost the same FWHM despite the magnitude.}  \label{sources}  \end{figure}  %  For the object classification in stars, galaxies and false detections,  we considered a similar analysis as Bardeau\,et\,al.\,2005, taking into account the position of the source in the magnitude/central flux diagram, the FWHM respect to the seeing and the stellarity index, according to the CLASS\_STAR parameter. Objects that are more sharply peaked than the PSF (FWHM replace_contentlt;$ \textit{seeing} - 0.5 pixel) and with FLAG parameter replace_contentgt;$ 4, are considered as false detections. As the light distribution of a point source scales with magnitude, objects on the line magnitude/central flux, $\pm$ 0.4 magnitudes (Figure\,\ref{sources}), FWHM replace_contentlt;$ \textit{seeing} + 1 pixel and CLASS\_STAR replace_contentgt;$ 0.8 are considered as stars. The rest of the objects are considered as galaxies. \\  %  \subsection{Shape measurements}  %  For the shape measurements we used IM2SHAPE (Bridle et al. 2002). Its computes   the shapes parameters modeling the object as sums of Gaussians, convolved with a   PSF which is also a sum of Gaussians. For simplicity, both the PSF and the object   are modeled with a single elliptical Gaussian profile. \\  The PSF was determined measuring the shapes of the stars as they are intrinsically point­like objects. Once we obtained the shape of the stars, we clean the catalogue removing those objects with ellipticity greater than 0.2, which mainly appear to be false detections or faint galaxies, and by looking at the 5 nearest stars at each star position and removing those that differ by more than 2$\sigma$ from the local average shape. \\  After cleaning the catalogue, we linearly interpolate the local PSF at each object position by averaging the shapes of the five closest stars. We checked that  our Im2shape implementation can recover point-like objects by applying this PSF correction to each star. Figure\,\ref{PSF} shows the results of the shape parameters measurements for these stars, with and wihtout taking into account the PSF in the shape measurement: the size distribution is dominated by point sources, and the orientation is more uniformly distributed after the PSF correction.\\    \begin{figure}  \centering  \includegraphics[width=.25\textwidth]{./../plots/psf/ab.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/ab_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/map.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/map_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/e1.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/e1_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/e2.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/e2_correc.eps}  \includegraphics[width=.25\textwidth]{./../plots/psf/Theta.eps}~\hfill  \includegraphics[width=.25\textwidth]{./../plots/psf/Theta_correc.eps}  \caption{PSF treatment applied to stars of one of the images of the DES   simulations: Semiaxis ($a$ cos $\theta$, $a$ sin $\theta$) before (\textit{left}) and after (\textit{right}) the  PSF deconvolution, which is more randomly distributed and considerably smaller (First row at top left corner  indicates the scale).}  \label{PSF}  \end{figure}  \subsection{Shear radial profiles}  Gravitational lensing maps the unlensed image, specified by coordinates $(x,y)$, to the lensed image $(x',y')$ using a matrix transformation:  \\  \begin{equation*}  \begin{pmatrix}  x\\  y  \end{pmatrix}  \begin{pmatrix}  1-g_{1} & -g_{2} \\  -g_{2} & 1+g_{1}   \end{pmatrix}  =  \begin{pmatrix}  x' \\  y' \\  \end{pmatrix}  \end{equation*}  \\  where $g_{1}$ and $g_{2}$ are the components of the reduced shear:  \begin{equation*}  g=\dfrac{\gamma}{1-\kappa}  \end{equation*}  If lensing is weak, the image of a circular source with ratio \textit{r}, appears elliptical, with axis given by  \begin{equation*}  a=\dfrac{r}{1-\kappa-\gamma} , b=\dfrac{r}{1-\kappa+\gamma}  \end{equation*}  Defining the ellipticity as  \begin{equation*}  e=\dfrac{a-b}{a+b}=\dfrac{\gamma}{1-\kappa}\approx\gamma  \end{equation*}  where \textit{g} becomes the normal shear, $\gamma$, since $\kappa \ll 1$, which generally holds in the weak lensing regime for clusters, and will be assumed henceforth here.\\  If the source has an intrinsic ellipticity $e_{s}$, the observed ellipticity in the weak lensing limit will be:  \begin{equation*}  e=e_{s}+\gamma  \end{equation*}  Assuming that unlensed galaxies are randomly oriented on the sky plane ($\langle e_{s} \rangle = 0$ ) and averaging over sufficiently many sources:  \begin{equation*}  \langle e \rangle=\langle \gamma \rangle  \end{equation*}  Hence, in the weak­lensing approximation, we get an unbiased estimator of the reduced shear by averaging the shape of background galaxies in concentric annuli around the cluster center. Spherical symmetry also implies that the tangential component (E-­mode) of the lensed galaxies traces the reduced shear, while the average of the component tilted at $\pi/4$ relative to the tangential component is the 'B-­mode' and should be exactly zero for the case of perfect symmetry (see e.g. Sec. 4 of Bartelmann \& Schneider 2001 or Bernstein \& Jarvis 2002).\\  Because of the random orientation of the galaxies in the source plane, the error in the observed galaxy ellipticities and thus, on the estimated shear, will depend on  the number of galaxies averaged together to measure the shear (Schneider et al. 2000). The error can be estimated as:  \begin{equation*}  \sigma_{\gamma}\approx\dfrac{\sigma_{\epsilon}}{\sqrt{N}}  \end{equation*}  where $\sigma_{\epsilon}$ is the dispersion of the intrinsic ellipticity distribution ($\sigma_{\epsilon} \approx 0.3$) and $N$ is the number of objects in the annular bin.  \subsection{Background Galaxies selection and redshift distribution}  %  Background galaxies for the shear estimation, were selected as the galaxies with magnitude in the filter \textit{r'}, $m_{r}$, higher than $m_{L}$, and lower than $m_{max} + 1.0$, where $m_{L}$ is defined as the lowest magnitude $r'$ such that the probability that the galaxy is behind the cluster is higher than 0.7 and $m_{max}$ correspond to the peak of the magnitude distribution of the image in the filter \textit{r'} (both magnitudes for each cluster are listed in Table\,\ref{table:2}). The later cut in magnitude ensures that we are not taking into account galaxies that are too faint, given that they could have great errors in the shape measurements. Also, as we did for the simulated data, we discard galaxies with FWHM replace_contentlt;$ 5, with companions closer than 16 pixels and with $\sigma_{e} > 0.2$.\\  To compute $m_{L}$ we used the catalogue of photometric redshifts computed by Coupon et al. 2009, based on the public release Deep Field 1 of the Canada-France-Hawaii Telescope Legacy Survey. We estimated the fraction of galaxies with $z > z_{cluster}$ in magnitude bins for the \textit{r'} filter, and then we chose $m_{L}$ as the lowest magnitude for which the fraction of galaxies was greater than 0.7. Background galaxy density after the selection are listed for each cluster in Table 2.\\  Once we obtained a catalogue for the background galaxies, we average the two components of the ellipticities (E-mode and B-mode) in nonoverlapping logarithmic annuli, to conserve the S/N ratio in each bin. In order to take into account the contamination of foreground galaxies in the catalogue, we weighted the average value of the components of the galaxie's ellipticity with the probability that the galaxy was behind the cluster. We compute this probability using Coupon's catalogue, from the fraction of galaxies with $z > z_{cluster}$ for each bin in magnitude, \textit{r'}, and color (\textit{g' - r'} and \textit{r' - i'}) - Figure\,\ref{weigh}. Hence, given the magnitude and the color of each galaxy, we assigned to it a weigh, \textit{w}, as the fraction of galaxies with $z > z_{cluster}$ in that bin. \\  \begin{figure}  \centering  \includegraphics[scale=0.35]{./../plots/new-ones/distrib_z05.ps}\\  \caption{Fraction of galaxies with $z > 0.5$ ($n(z>0.5)/N_{tot}$), for different magnitudes in filter \textit{r'} and colors \textit{r'-i'}.}  \label{weigh}  \end{figure}  The average E-mode components correspond to the shear value which depends on the geometrical factor $ \beta = D_{LS}/ D_{L} $, where $D_{LS}$ is the angular diameter distance from the lens to the background source galaxy, and $D_{L}$ is the distance from the observer to the background galaxy. A galaxy at the same radial distance from the center of the cluster but at a different background redshift is sheared differently. To remove this variation, we divide the estimated shear by $\beta$, which results in the infinite redshift limit (z $\rightarrow \infty$) shear value, that is only function of the radial distance from the cluster center. To estimate $\beta$ we used once more Coupon's catalogue, since we can consider that this catalogue is complete up to our magnitude limit. We applied the photometric selection criteria to the catalogue and then we computed $\beta$ for the whole distribution of field galaxies, taking into account the contamination by foreground galaxies given our selection criteria by setting $\beta(z_{phot} < z_{cluster}) = 0$. The averaged geometrical factors for each cluster are given in Table\,\ref{table:2}.