the study of the formation and evolution of large - scale structure is essential to our understanding of the universe .
the typical method to measure the distances of faint galaxies is to obtain their spectroscopic redshifts .
the spectroscopic method , however , is very time consuming for surveying a large area with a deep limiting magnitude , even when using a multi - object spectrograph .
the less accurate photometric redshift technique has been proved to be an efficient and effective way to measure approximately the redshifts of galaxies and to study their statistical properties and evolution ( e.g. , * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
* ; * ? ? ?
basically , the technique is a transformation between a set of observable parameters ( e.g. , magnitudes , colors ) and estimates of the physical properties of galaxies ( e.g. , redshift , luminosity ) . often the photometric redshift technique is applied to multi - color deep imaging surveys over a small area ( e.g. , the hubble deep field , sawicki et al .
1997 and fernndez - soto et al .
1999 ; the canada - france deep fields , @xcite ; the combo-17 survey , @xcite ; the las campanas infrared survey , @xcite ; the goods - s , @xcite ) .
these surveys have sufficient depth for measuring objects at high redshift ( @xmath11 ) , but they only probe small cosmological volumes which might not provide a representative sample of the universe due to the limited survey area . with more and more large multi - color imaging surveys , larger and statistically more complete studies of galaxies can be done .
although the application of photometric redshift techniques to the sloan digital sky survey ( sdss ) covers a large sky area and provides a huge redshift sample , the photometric data are still too shallow ( @xmath12 @xmath13 21 ) for galaxies at @xmath14 @xcite . the oxford - dartmouth thirty degree survey ( odts , @xcite ) has both sufficient depth and a relatively large area ( @xmath1530 deg@xmath4 ) , but it does not have a large spectroscopic training set to calibrate the photometric redshifts .
a deep multicolor survey with large area and proper spectroscopic data will vastly improve on the current results .
the red - sequence cluster survey ( rcs , * ? ? ?
* ) is a 4m - class imaging survey in the @xmath1 and @xmath0 bands covering @xmath16 deg@xmath4 total in the northern and southern sky .
we have obtained follow - up observations in @xmath2 and @xmath3 for a sub - area of the rcs .
the four color photometry ( @xmath0 , @xmath1 , @xmath2 , and @xmath3 ) allows us to cover a relatively large sub - area ( 33.6 deg@xmath4 ) which samples a large cosmological volume for galaxies up to redshift @xmath15 1.5 .
this sub - area with four - color photometry overlaps with the canadian network for observational cosmology ( cnoc2 ) field galaxy redshift survey ( yee et al .
2000 ;  2005 , in preparation ) which provides several thousand redshifts which can be used for the empirical photometric redshift technique and provide verification of the photometric redshifts obtained . by applying an empirical quadratic polynomial photometric redshift fitting method to the rcs photometric catalogs , a photometric redshift catalog containing about one million galaxies at @xmath17 with relatively small redshift errors can be generated .    in this paper
we describe details of the rcs follow - up @xmath2 and @xmath3 observations and the techniques used to generate the photometric redshift catalog for the rcs survey . in  [ data ]
we describe the data we used for the photometric redshift fitting and the photometric calibrations for the @xmath2 and @xmath3 data . in  [ trainingset ]
we provide a description of the spectroscopic training sets used in the photometric redshift fits .
section [ photoz - method ] presents the photometric redshift technique we used .
we describe the method used to estimate the photometric redshift error in  [ photoz - err ] .
we then demonstrate the results and present an example of the catalog in  [ result ] . in  [ conclusion ] we summarize the advantage of the photometric redshift catalog from the rcs and discuss possible follow - up studies based on the catalog .
the rcs @xcite was designed to find clusters in a large volume , at high redshift , and to low masses .
the primary goals are to define a large sample of galaxy clusters at @xmath18 , hence providing a measurement of @xmath19 and @xmath20 , and to perform studies of the evolution of galaxy clusters using a large complete sample .
two filters ( @xmath0 and @xmath1 ) were chosen to find clusters at @xmath21 by applying the cluster red - sequence method @xcite .
there are 19 widely separated patches in both the northern and southern sky , covering @xmath16 deg@xmath4 in total .
the northern half of the survey was observed with the cfh12k ccd camera on the 3.6 m canada - france - hawaii telescope ( cfht ) , and the southern half was obtained using the mosaic ii camera on the cerro tololo inter - american observatory ( ctio ) 4 m blanco telescope . for the cfht
rcs runs , each patch consists of fifteen cfh12k pointings arranged in a slightly overlapping grid of 3 @xmath22 5 pointings .
the cfh12k camera is a 12k @xmath22 8k pixel@xmath23 ccd mosaic camera , consisting of twelve 2k @xmath22 4k pixel@xmath23 ccds ( from mit lincoln laboratories ) arranged in a 6 @xmath22 2 grid .
it covers a 42 @xmath22 28 arcminute@xmath4 area for the whole mosaic at prime focus ( f/4.18 ) , corresponding to 0.2059 arcseconds per pixel .
we note that the average east - west ( x ) gap between the ccds is 7.8 arcseconds , and the average north - south ( y ) gap between the ccds is 6.8 arcseconds .
the observation dates are from may 1999 to january 2001 .
the typical seeing is 0.62 arcsec for @xmath0 and 0.70 arcsec for @xmath1 .
the integration times are typically 1200s for @xmath0 and 900s for @xmath1 , with average limiting magnitudes of @xmath24 and @xmath25 ( vega ) for point sources , adoping an aperture of diameter 2.7 arcsec ( on average ) . the data and the photometric techniques are described in detail in @xcite .
the follow - up observations in @xmath2 and @xmath3 were obtained using the cfh12k camera and cover 33.6 deg@xmath4 ( @xmath26% complete for the original cfht rcs fields ) .
the follow - up @xmath2 and @xmath3 observations contain 108 pointings spread over the ten cfht rcs patches .
the pointings of the cfht rcs patches are shown in table  [ patch ] .
for each pointing , a single exposure in each field was taken without dithering .
the observation dates are from may 2001 to june 2002 .
most data were taken in three runs in queue mode : 01ac44 , 01bc25 , and 02ac25 .
the data for another 29 pointings were taken using the observing time ( run 01bc28 ) shared with the explore project @xcite .
some data were also taken during two cnoc2 photometric redshift runs using cfh12k in january 2000 and december 2000 .
we had 16 photometric nights out of 50 nights in which data were taken . because some data were taken under non - photometric conditions , short exposures were obtained in photometric weather for calibration .
the typical seeing is 0.65 arcsec for @xmath2 and 0.95 arcsec for @xmath3 .
the average exposure times for @xmath2 and @xmath3 are 480s and 840s , respectively , and the median limiting magnitudes ( vega ) for point sources are 24.5 and 25.0 , respectively , with an adopted aperture of diameter 2.9 arcsec ( on average ) .
we present histograms of the @xmath2 and @xmath3 5@xmath27 limiting magnitudes in figure  [ vb_lim ] .
ccccccc 01 & 0226 + 00 & 02 26 07.0 & + 00 40 35 & 4.81 & 3.99 & cnoc2 patch@xmath28 + 02 & 0351 - 09 & 03 51 20.7 & -09 57 41 & 4.79 & 4.30 & + 03 & 0926 + 37 & 09 26 09.6 & + 37 10 12 & 5.59 & 4.85 & cnoc2 patch@xmath28 + 04 & 1122 + 25 & 11 22 22.5 & + 25 05 55 & 4.78 & 4.72 & + 05 & 1327 + 29 & 13 27 41.9 & + 29 43 55 & 4.54 & 1.34 & pdcs patch@xmath29 + 06 & 1416 + 53 & 14 16 35.0 & + 53 02 26 & 4.53 & 3.04 & groth strip + 07 & 1449 + 09 & 14 49 26.7 & + 09 00 27 & 4.17 & 2.01 & cnoc2 patch@xmath28 + 08 & 1616 + 30 & 16 16 35.5 & + 30 21 02 & 4.26 & 4.16 & + 09 & 2153 - 05 & 21 53 10.8 & -05 41 11 & 3.43 & 2.96 & cnoc2 patch@xmath28 + 10 & 2318 - 00 & 23 18 10.7 & -00 04 55 & 4.84 & 2.23 & +      photometric data reduction including object finding , star - galaxy classification , and aperture photometry was performed using the program ppp , described in detail in @xcite and @xcite .
the rcs @xmath0 and @xmath1 object finding and photometry were already done as part of the primary cluster finding program , and are described in detail in @xcite . to simplify the photometric measurement procedure
, we used the pixel positions of objects in the @xmath1 image to do photometry for @xmath2 and @xmath3 . to achieve this
, the position of each object in @xmath2 and @xmath3 must be accurately determined to within two pixels in radius relative to the @xmath1 image , sufficiently close for ppp to do a recentroiding of the object position before performing photometry . however , the follow - up observations in @xmath2 and @xmath3 began a semester after the observations in @xmath0 and @xmath1 were finished .
the cfh12k ccd was taken off and re - installed on the prime focus for each run , and the camera was not at the identical position after each re - installation .
hence , the @xmath2 and @xmath3 images are rotated slightly relative to the @xmath0 and @xmath1 images for the same field .
the telescope pointing is also not identical . to deal with these problems ,
we match the @xmath2 and @xmath3 images to the @xmath1 image before performing photometry .
because we did not dither to make one large image per pointing , we match the images chip by chip .
the transformation function between the @xmath2 and @xmath3 images and the @xmath1 images can be easily determined from bright reference objects .
however , the new transformed coordinates for each pixel are almost always not integer numbers after applying the transformation function with non - integer shifts and rotation
. therefore re - sampling is needed .
to avoid degradation of the image quality and to preserve the poisson characteristics of the photon noise in the images , we use the nearest neighbor re - sampling algorithm , which also preserves flux .
we use the closest integer coordinate of the transformed non - integer coordinate as the new coordinate for each original pixel .
however , two original pixels may produce two transformed non - integer coordinates which may have the same nearest integer coordinate . in other words , one new pixel may be assigned fluxes from two original pixels because of round off in the pixel coordinates .
in addition , some new coordinates may have zero flux because they are not the nearest coordinates for any original pixels .
the photometry results would not be correct when either condition occurs within a photometry aperture .
we try to deal with the problem by subtracting the local background from a pixel containing double fluxes because that pixel will also contain double the background counts . on the other hand
, we put the counts of the local background into those pixels with zero flux .
these procedures minimize the errors on the photometry . we note that on average , only approximately 500 pixels ( ranging from 0 to 3,000 depending on the rotation angle ) are affected for each chip .
given that the total number of objects in each chip is @xmath30 and that the average diameter of the photometry aperture is 14 pixels , we estimate that only @xmath31 pixels in photometry apertures are affected in each chip ; i.e. , only one object out of 100 is affected and the effect has been minimized by the method we described above ( the magnitude difference before and after the transformation for an affected object is less than 0.02 magnitude ) .    additionally , the transformed image of each chip often overlaps with several nearby chips of the original image , and the matched regions from other chips are also cropped and included in the transformed image .
we note that within each pointing , images from all the chips have been scaled to have the same zeropoint .
an example of a re - sampled @xmath2 image is shown in figure  [ matching - image ] .
the gaps between chips are also filled with counts of the local background .
objects falling into the gaps are lost .
the final transformed @xmath2 and @xmath3 images are matched with the @xmath1 images for the same fields .
the typical shift is between a few pixels to one hundred pixels .
the typical rotation angle is about 0.03 degree and the largest angle is less than one degree .
after the matching is done , we apply the coordinate file of objects from the @xmath1 image to perform the aperture photometry procedure .
since the same coordinate file is used for the data in different filters , the object i d of each object in different filters of the same pointing remains the same .
the multi - color photometric catalog can be generated very easily by just combining the photometric results object by object directly .
the colors are measured using identical apertures for all four filters , as prescribed in @xcite .
the preliminary @xmath2 and @xmath3 photometric calibrations ( zero - point , airmass , and color terms ) were taken directly from the cfht elixir solutions in the image fits file headers .
the elixir system at cfht provides real - time data quality assessment , end - of - run detailed calibration analysis , and image pre - processing and meta - data compilation for data distribution .
data taken under bad weather conditions are calibrated by short exposures taken in photometric nights .
however , we find that the color ( @xmath32 or @xmath33 ) vs. color ( @xmath34 ) diagrams have offsets from pointing to pointing , and sometimes the offsets are as large as @xmath35 magnitude , which implies that the photometric calibrations are not sufficiently accurate .
an example of the differences between two pointings on the color - color diagram is shown in figure  [ color - color ] .
hence , we use the following method to recalibrate the photometry . according to a recent star count study @xcite ,
although the densities of stars would be different for different fields , the normalized color distributions for bright stars are very similar from field to field as long as the selected fields are sufficiently large . based on this result , we recalibrated the @xmath0 , @xmath2 , and @xmath3 photometry by using the @xmath36 , @xmath32 , and @xmath33 color distributions , assuming that the photometry of @xmath1 calibrated by standard stars is correct @xcite .
stars with @xmath37 are selected to determine the magnitude offsets on a pointing - to - pointing and patch - to - patch basis .
figure  [ color - histo ] represents an example of the difference between the color histograms of two pointings . for the pointing - to - pointing recalibration within each patch
, the pointing with the least scatter in the color - color diagrams ( @xmath32 or @xmath33 vs. @xmath34 ) is chosen to be the reference pointing .
( the reference pointings are 0226a3 , 0351c1 , 0926b4 , 1122c5 , 1327b2 , 1416c1 , 1449b2 , 1616c5 , 2153a1 , and 2318b1 for the 10 patches . )
the magnitude offsets in @xmath0 , @xmath2 , and @xmath3 are computed using cross - correlation of the distributions of @xmath36 , @xmath32 , and @xmath33 , respectively , between the reference pointing and the test pointing .
the patch - to - patch photometry recalibrations are performed after the pointing - to - pointing recalibrations are done .
patch 0926 is chosen to be the reference patch .
the same recalibration procedure as the pointing - to - pointing recalibration is applied to the patch - to - patch recalibration , and all the pointings from each patch are used during the patch - to - patch recalibration procedure .
we compare the recalibrated photometry of galaxies with the overlapping published sdss database as a check on our recalibration procedure .
patches 0226 , 2318 , 0926 , 1416 , 1449 , and 1616 overlap with the sdss data release 3 ( dr3 ; * ? ? ?
* http://www.sdss.org/dr3/ ) .
we match the objects between rcs and sdss , and use the following equations to determine the relation between the two different photometry systems : @xmath38 where the @xmath39 term is the coefficient of the color term in the transformation , and @xmath40mag , where mag @xmath41 , is the magnitude zeropoint difference between the rcs and sdss photometry systems .
we compare rcs magnitudes against sdss model magnitudes .
the quality of the recalibration can be verified by checking the consistency of the @xmath40mag values between different rcs patches . in figure
[ sdss - offset ] we plot @xmath40mag for @xmath3 , @xmath2 , and @xmath0 for those rcs patches overlapping the sdss , where we have arbitrarily set @xmath40mag @xmath42 for patch 0226 _ after _ recalibration . for these patch - to - patch comparisons
we have ignored the slope terms above and simply set @xmath40mag to the median offset between the respective rcs and sdss magnitudes for each patch .
the open boxes indicate @xmath40mag using elixir calibrations , and the filled boxes indicate @xmath40mag after recalibration .
the recalibrated data have less scatter between patches than the elixir - calibrated data in all the panels , especially for @xmath3 . figure  [ sdss - sd ] shows the standard deviations of the @xmath40mag values for @xmath3 , @xmath2 , and @xmath0 among the different pointings within each rcs patch . here we first fit the above transformation equations to each patch as a whole , transform the sdss magnitudes accordingly , and then compute the median offset between rcs magnitudes and transformed sdss magnitudes for each pointing within a patch .
the standard deviations of these pointing - by - pointing offsets are plotted in figure  [ sdss - sd ] .
the open boxes and the filled boxes again indicate the elixir - calibrated results and the recalibrated results , respectively .
the pointing - to - pointing recalibrations reduce the standard deviations dramatically for @xmath2 and @xmath3 .
this rcs - sdss comparison proves that recalibration using the color distributions of bright stars significantly improves the calibrations of the @xmath2 and @xmath3 photometry over the original elixir - based calibrations , and that most of the original photometric calibrations ( as performed by rcs , @xcite ) for @xmath0 are already good .
galactic extinction has to be applied to the data before doing photometric redshift fitting .
the extinction values are calculated according to prescriptions from @xcite , @xcite , and @xcite .
the galactic extinction values for the four filters for each patch are shown in table  [ extinction ] .
note that our procedure will tend to result in slightly wrong galactic extinction corrections for the @xmath3 , @xmath2 , and @xmath0 filters , since the stars used in the recalibration procedure already suffer extinction to some extent and the recalibration procedure will have corrected for some of the extinction differences among the patches .
however , the error we make is reduced because we use colors in the recalibration and because we use relative shifts among the patches .
for example , if we assume that the stars we use already suffer the full amount of galactic extinction , then for patch 2318 , which has the largest @xmath43 value , we would have made only errors of -0.049 , -0.022 , and 0.024 mag for @xmath3 , @xmath2 , and @xmath0 , respectively .
moreover , the comparison against sdss data described above and shown in figure  [ sdss - offset ] indicates that the extinction of stars does not cause large errors in our recalibration procedure .
crrrrrrrrrr e(b - v ) & 0.036 & 0.043 & 0.012 & 0.018 & 0.012 & 0.010 & 0.029 & 0.038 & 0.035 & 0.044 + @xmath44 & 0.140 & 0.165 & 0.048 & 0.068 & 0.046 & 0.037 & 0.112 & 0.146 & 0.135 & 0.167 + @xmath45 & 0.108 & 0.127 & 0.037 & 0.053 & 0.035 & 0.028 & 0.086 & 0.113 & 0.105 & 0.129 + @xmath46 & 0.083 & 0.098 & 0.029 & 0.040 & 0.027 & 0.022 & 0.066 & 0.087 & 0.080 & 0.099 + @xmath47 & 0.053 & 0.063 & 0.018 & 0.026 & 0.018 & 0.014 & 0.043 & 0.056 & 0.052 & 0.064 +
since we use an empirical quadratic polynomial fit to estimate photometric redshifts for the rcs data , we need spectroscopic data which overlap with the rcs fields to create a training set .
we primarily use the spectroscopic data from the cnoc2 project , but we also include goods / hdf - n data to improve the limiting magnitude and redshift range of the training set .
all the data included in our training set are described in detail below .      the canadian network for observational cosmology ( cnoc2 ) field galaxy redshift survey ( yee et al .
2000 ;  2005 , in preparation ) is a spectroscopic / photometric survey of faint galaxies .
there are four widely separated patches named 0226 , 0926 , 1449 , and 2153 .
the data were obtained using the multi - object spectrograph on the cfht .
the survey covers over 1.5 deg@xmath4 of sky with a total sample of @xmath48 redshifts with @xmath49 .
the cnoc2 survey used a band - limiting filter for the spectroscopic observations to increase the number of objects observed .
this produces an effective redshift range for the statistically complete sample of 0.12 - 0.55 , and 0.0 - 0.68 for emission - line galaxies .
the nominal statistical completeness magnitude is @xmath50 , but there are objects as faint as @xmath51 in the redshift sample .
fifteen rcs pointings , distributed over four rcs patches and including four - filter photometric data , overlap the cnoc2 fields .
we match the objects from the two surveys and create a training set containing the photometric data from the rcs and the spectroscopic redshifts from cnoc2 .
there are 3,130 objects in this training set .
compared to the spectroscopic limit of cnoc2 , the photometric data of rcs are much deeper ( 100% completeness limit @xmath52 for rcs compared to the spectroscopic completeness limit @xmath50 for cnoc2 ) . furthermore , the cnoc2 spectroscopic sample has a nominal redshift limit of @xmath15 0.55 due to the use of a band - limiting filter , and so does not provide a good training set for objects with @xmath53 at @xmath54 . a deeper dataset ( limiting magnitude of @xmath55 ) with higher redshifts ( @xmath56 )
is thus needed in addition to the original training set to improve redshift estimates for high-@xmath57 objects in the rcs .
thus , we choose the goods / hdf - n data to be the additional training set for high-@xmath57 and fainter objects .
the great observatories origins deep survey ( goods ; * ? ? ?
* ) is a survey based on multi - band imaging data obtained with the hubble space telescope ( hst ) and the advanced camera for surveys ( acs ) .
it covers two fields ( hdf - n and cdf - s ) with roughly 320 arcmin@xmath4 total area . for our high - redshift , faint - magnitude training set
, we use publicly available @xmath58 photometry and spectroscopic redshifts for the goods / hdf - n field .
the photometry comes from the ground - based hawaii hdf - n data set of @xcite , which was obtained with the subaru 8.3 m telescope and has limiting magnitudes @xmath59 , @xmath60 , @xmath61 , and @xmath62 measured in 3 " diameter apertures , and typical integration times of 600s , 1200s , 480s , and 180s/240s , respectively .
the spectroscopic redshift data for the goods / hdf - n field are from the samples of @xcite and @xcite , obtained using the keck 10 m telescope .    after combining and matching objects in the hawaii hdf - n photometric catalog to the goods / hdf - n spectroscopic catalog , a training set containing 1,794 objects
is generated .
this additional training set is not only deeper than the rcs+cnoc2 set , but it also contains many more objects with higher redshifts ( @xmath63 ) . to combine the cnoc2 and goods training sets , we also need to offset the magnitudes of the goods data to match the zero - points of the rcs data .
we did not use stars to derive the magnitude offsets because the field is too small to contain a statistically sufficient number of stars for the purpose .
we first apply galactic extinction corrections to the goods / hdf - n data ( @xmath64 , @xmath65 , @xmath66 , and @xmath67 for @xmath0 , @xmath1 , @xmath2 , and @xmath3 ) , and then compute the difference in the color distributions for galaxies with @xmath68 between the rcs and goods / hdf - n samples . by assuming @xmath1 is always correctly calibrated
, the magnitude offsets for @xmath0 , @xmath2 , and @xmath3 can be determined .
magnitude offsets @xmath69 , @xmath70 , and @xmath71 for @xmath0 , @xmath2 , and @xmath3 , respectively , are applied to the goods / hdf - n data .
the final training set created by combining the rcs+cnoc2 and the goods / hdf - n data includes 4924 objects .
this combined training set will improve the accuracy of photometric redshifts , especially for objects at fainter magnitudes and higher redshifts .
photometric redshift techniques have been developed for decades ( e.g. , * ? ? ? * ) , but there are two primary approaches to estimating the photometric redshift .
one way is to compare the photometric data against templates generated from models or from a real spectral energy distribution database ( e.g. , hogg et al .
1998 ; fernndez - soto et al .  1999 ) .
the other way is to find the empirical relation between the photometric data and the redshift identified from the spectroscopic data , e.g. , empirical polynomial fitting ( connolly et al .
the empirical method is especially effective ( e.g. , see @xcite ) when there is a large spectroscopic redshift data set available , as in the case of our rcs data set .
we use empirical quadratic polynomial fitting to estimate photometric redshifts for the rcs data .
first we need to generate a subset called a `` training set , '' which includes information on object i d , spectral redshift , and photometric data for each filter ( see section  [ trainingset ] ) .
we then fit this subset with the following second order equation using least - squares fitting : @xmath72 including the constant term , 15 parameters are derived from the fit .
the above formula describes the empirical relation between the photometric data and the spectroscopic redshift . by applying this formula to the photometric data of an object , an estimated photometric redshift for that object
is readily obtained .
one can use a brute - force single fit for all the data , but fitting all galaxies with a single quadratic formula is not optimal , since different types of galaxies may have different fitting parameters in the quadratic formula .
the single fit method gives a result with large scatter and systematic deviations ( see left panel , figure  [ photoz_comp ] ) . to improve the photometric redshift results , different types of galaxies should be fit separately .
we describe below two methods of separating galaxies into different samples .
color is one of the important signatures for identifying the galaxy type .
however , it is subject to k - corrections for galaxies at different redshifts .
thus , other parameters have to be used to break the color - redshift degeneracy . roughly speaking ,
more distant galaxies have fainter magnitudes , and for a reasonable range of galaxy types , they also have redder observed colors . hence by using some appropriate boundaries to divide galaxies in the color - magnitude plane , we can mimic very roughly the effect of separating galaxies of different types at different redshifts .
figure  [ color - mag ] presents a color ( @xmath33 ) vs. magnitude ( @xmath1 ) diagram .
the sample data consist of rcs+cnoc2 ( dots ) and goods ( crosses ) galaxies with @xmath6 in our training set ( see  [ trainingset ] for a detailed description of the training set ) .
there is a gap around @xmath33=1.8 to 2.0 which roughly separates early - type galaxies ( redder ) and late - type galaxies ( bluer ) .
we divide the color - magnitude plane into ten parts .
regions 1 - 4 are for redder galaxies , and region 5 - 10 are for bluer galaxies .
this method produces a result with smaller scatter and systematic deviations than the single fit method ( middle panel , figure  [ photoz_comp ] ) .
however , the @xmath33 color uses filters that are too blue to make a good separation for galaxies with redshifts larger than 0.6 , where the 4000  break will be shifted to @xmath73 6500 . to solve this problem , a redder filter ( @xmath0 ) has to be used in the separation criteria to produce a better result .    in our second method of separating the training set
, we add one more color ( @xmath34 ) to the original two - dimensional color - magnitude plane to form a three - dimensional color - color - magnitude space . the kd - tree algorithm , which uses median values to divide up the data points in a k - dimensional space successively @xcite , is used to separate galaxies in our three - dimensional space .
we use a kd - tree depth of five , so that the space is separated into 32 cells .
each cell contains about 150 objects .
the photometric redshift fitting procedure is applied to each cell separately .
we tried other numbers of cells , and they give similar results . in general , using a larger number of cells gives slightly better fits , but we choose 32 cells as a compromise so as not to be in danger of overfitting ( i.e. , having too few objects per cell for a 15-parameter fit ) .
the three - dimensional kd - tree method gives a better result than the method of cutting the color - magnitude plane into 10 regions ( see right panel , figure  [ photoz_comp ] ) .
figure  [ photoz_comp ] compares the quality of the photometric redshifts obtained using the three different cutting methods described above .
the panels from left to right are the photometric redshift vs.spectroscopic redshift diagrams obtained using : ( 1 ) brute force single fit for all data , ( 2 ) cutting into 10 regions in the color - magnitude plane , and ( 3 ) the kd - tree method with 32 cells .
both the high-@xmath57 and low-@xmath57 ends are improved with much reduced systematics as we go from method ( 1 ) to method ( 3 ) .
the scatter in the differences between photometric and spectroscopic redshifts is reduced as more advanced cutting algorithms are used .
hence , we choose the three - dimensional kd - tree algorithm with 32 cells for our final photometric redshift catalog .
by examining the distribution of the differences between spectroscopic redshifts and photometric redshifts for the training set , we can estimate the uncertainty in the redshift fits . however
, this does not provide a measurement of the photometric redshift error for individual galaxies in the catalog . knowing the confidence limits on the photometric redshift measurements for individual objects is very important for subsequent science analyses .
without the confidence limits for each object , the analyses based on the photometric redshift may suffer from catastrophic errors , which happen when the photometric redshift estimates are unknowingly very different from the true spectroscopic redshifts . by considering the photometric redshift error for each object and taking it into account in estimating the errors in a subsequent science analysis , one will obtain more realistic confidence limits in the analysis results . in the following subsections , we describe the photometric redshift error determined by comparing the photometric redshifts to the spectroscopic redshifts in our training set ( empirical error ) , and we also describe the method we use to estimate the photometric redshift error for individual objects ( computed error ) .
figure  [ zerr ] presents the accuracy of the photometric redshifts by comparing the photometric redshift and the spectroscopic redshift for the objects in the training set .
the @xmath74 is the 68th percentile difference between the photometric redshift and the spectroscopic redshift in bins of 100 objects each along the spectroscopic redshift axis .
this provides a general estimate of how statistically accurate our photometric redshift measurements are . for objects at @xmath75 ,
the rms scatter @xmath74 is less than 0.05 .
the overall rms scatter is 0.068 .
however , most objects at @xmath76 in the training set are from the goods / hdf - n sample , which have a much deeper limiting magnitude .
the photometric redshift error for an object in the rcs at high-@xmath57 is thus under - estimated by the @xmath74 of the training set . by adding additional gaussian noise to the goods / hdf - n data , we simulate the photometric redshift error as if the goods / hdf - n data have the same depth and seeing conditions as the rcs data .
the results are shown in figure  [ zerr1 ] . for objects at @xmath8 ,
the rms scatter remains roughly the same , but it becomes @xmath77 for an object at @xmath78 .
the extremely large rms for objects at @xmath79 is caused by the large systematic deviation of the photometric redshifts from the spectroscopic redshifts .
the overall average rms scatter is 0.11 .
this result shows the real error levels in the photometric redshift catalog .
we also calculate the catastrophic error rate for different redshift ranges in bins of 100 objects each and show the result in figure  [ catastrophic_err ] .
we define the catastrophic error rate as the ratio of the number of objects with @xmath80 to the total number of objects for each redshift bin .
the result is calculated using the rcs / cnoc2 and noise added goods / hdf - n data .
note that the histogram has variable redshift bin widths because we choose widths that always include exactly 100 objects per bin .
the catastrophic error rate is below 0.03 for @xmath81 .
it becomes around 0.05 for @xmath82 due to larger @xmath74 . for redshifts higher than 1.2 ,
the catastrophic error rate is 0.25 , which is primarily due to the larger photometric redshift systematic error .
basically the photometric redshift uncertainty for an individual object comes from two sources .
one source is the error in the photometric data themselves , and the other source is the uncertainty in the empirical fitting parameters in the quadratic formula . as described below , we will use the combination of a monte - carlo method and a bootstrap method to estimate the effect of both these error sources and thereby compute the total photometric redshift error for each object .
we refer to this error as the `` estimated '' or `` computed '' error .    the measurement error of the photometry is estimated from two sources .
one is from the uncertainty of the sky measurement ; the other is from the internal error of the magnitude measurement .
the photometry errors are given by ppp @xcite .
the monte - carlo method provides a way to estimate how the photometric errors statistically propagate into the error on the photometric redshift . by assuming that the distribution of the photometric uncertainties is gaussian , we generate 500 photometric measurements , using a normal distribution with a width equal to the photometric error and centered on the original magnitude in each filter . for the estimates of the uncertainties in the photometric redshift fitting parameters ( equation  [ photozeqn ] ) , the training set is bootstrap - resampled 500 times to generate 500 bootstrapped training sets and corresponding solutions . by combining 500 simulated photometric data sets with 500 bootstrapped training sets ,
250,000 photometric redshift estimates are produced for each galaxy .
the median value of these 250,000 redshifts is chosen to be the photometric redshift of the galaxy , and the 68% width ( @xmath83 if the photometric redshift error distribution is gaussian ) is the estimated photometric redshift error .
note that the photometric redshift error distribution is not necessarily gaussian .
our computed error estimate is intended to cover the 68% error range , regardless of the shape of the photometric redshift error distribution .
to test the quality of our photometric redshift error estimates , we compare the computed errors with the empirical errors for the galaxies in the training set .
figure  [ err_comp ] shows the comparison of the empirical error and the computed error for the rcs and goods / hdf - n data in our training set .
the empirical error plotted is the 68th percentile difference between the photometric redshift and the spectroscopic redshift , in bins of 100 objects each along the 68% computed error axis .
the computed error plotted is the median value of the computed errors of objects in the same bin of 100 objects .
the computed errors agree very well with the empirical errors , with @xmath84empirical error - computed error@xmath85 .
this near exact agreement of the empirical and computed error is fortuitous .
when different methods of separating the training set are used , in general there is an offset and/or scaling of the computed error relative to the empirical error .
however , in general , regardless of the exact fitting algorithm used , the computed errors are always well - behaved linear functions of the empirical error , showing that our method of estimating individual errors is robust .
to produce the final photometric redshift catalog , we use the 32-cell kd - tree cutting method . from figure
[ zerr1 ] , for objects at @xmath8 , the rms scatter of @xmath86 is less than 0.06 . for objects at @xmath87 ,
the rms scatter of @xmath86 is @xmath77 .
the overall average rms scatter is 0.11 .
it can be seen that objects with lower spectroscopic redshifts are over - estimated while objects with higher spectroscopic redshifts are under - estimated ( figure  [ zerr1 ] ) .
the bluest filter for the rcs is @xmath3(4500 ) and it is not blue enough for the 4000 break at @xmath88 .
this creates a poor redshift estimate for low - z ( @xmath88 ) objects , and they tend to have higher photometric redshifts than real redshifts because their seds and the seds of objects at @xmath89 are very similar . for those objects with redshift
higher than 1.2 , the 4000 break is moving out of the reddest filter ( @xmath0 ) .
a behavior opposite to the low - z objects is seen for the high-@xmath57 objects , i.e. , they tend to have lower photometric redshifts than real redshifts .
we present the computed error vs. photometric redshift in different @xmath1 bins in figure  [ esterr_photoz ] . for the panels with @xmath90
, we plot a dot for every 15 objects . for the panel with @xmath91 , we plot a dot for every 20 objects . for the panel with @xmath92 ,
we plot a dot for every 30 objects , and for the panel with @xmath93 , every 50 objects .
the curve in each panel is the median value for all the data points in each @xmath1 bin , not just for the data shown in the figure .
note the different scales for the computed error axes in each panel .
in general , for galaxies with @xmath94 with photometric redshift less than 0.8 , the errors are below 0.1 . for objects with @xmath92 ,
the errors become larger but there are still a significant number of galaxies with errors less than 0.1 . for objects with @xmath95 ,
the photometric redshift errors are greater than 0.3 , which is due to larger photometric errors and also to a higher fraction of late - type galaxies . generally speaking ,
the photometric redshift error increases with magnitude due to larger photometric uncertainty .
although the galaxies are fit separately in several color and magnitude bins , the rms scatter for bluer galaxies is still much larger than the scatter for redder galaxies ( shown in figure  [ color - err ] ) .
this is because early - type ( redder ) galaxies have some significant spectral features ( e.g. , the 4000 break ) and have similar seds , while late - type ( bluer ) galaxies tend to have a featureless and relatively flat continuum .
ongoing star formation , gas absorption / emission , and dust extinction will also complicate the seds of late - type galaxies , and different galaxies have different combinations of these effects . because different late - type galaxies have weaker features and larger variation in their seds than early - type galaxies ,
the errors in the photometric redshift estimates will be larger for late - type galaxies .
we compare the photometric redshift technique we use to other techniques described in @xcite .
they use nine different methods including template fits and empirical fits to estimate photometric redshifts for the sdss early data release . from their study , in general , the results using empirical fits have smaller @xmath74 than the ones using template fits , and the best algorithm with the smallest @xmath74 among the empirical fits is also the kd - tree method . however , the kd - tree method they use is a two - dimensional tree to cut their training set in a color - color plane , unlike what we use , which is a three - dimensional tree in a color - color - magnitude space .
the addition of magnitudes provides a rough estimate of redshift which makes the separation of the training set more precise than using just colors .
combining deeper photometry , a larger training set over a wide redshift range , and a better cutting method for the training set , the limiting magnitude of our photometric redshift result is @xmath96 magnitudes deeper than the sdss result , even with only four wide - band filters ( compared to five filters for sdss ) and a much higher redshift limit .
however , qualitatively , the agreement between spectroscopic and photometric redshift is similar between the sdss and the rcs ; e.g. , the very low redshift galaxies tend to have over - estimated photometric redshifts .
to test our photometric redshift results , we compare the redshift distributions of our data against the photometric redshift distributions from the canada - france deep fields ( cfdf)@xcite , and the spectroscopic redshift distributions for the goods / hdf - n field @xcite .
figure  [ zdist ] presents the comparison results .
the solid lines indicate the rcs data .
the dashed lines represent the cfdf data , and the dotted lines indicate the goods data .
the agreement between the different samples is in general very good .
the scatter for the goods data in the @xmath97 panels is due to the small area of the goods / hdf - n field ( @xmath13 160 arcmin@xmath4 ) .
the agreement for the three data sets is good in the @xmath98 bin . in the @xmath99 bin ,
the rcs data is somewhat broader presumably due to the larger redshift uncertainty , and it also has a slightly lower average .
these comparisons provide a high level of confidence that the rcs photometric redshift measurements , despite the relatively shallow photometry , are statistically robust and reliable to as faint as @xmath100 , whereas for @xmath101 , the photometric redshift catalog should be used with caution .    all galaxies with @xmath102
are included in the photometric redshift catalog .
the total number of galaxies is more than 1,300,000 .
about 168,000 objects ( 13% of the total ) have photometric redshifts at @xmath103 or @xmath104 , which are beyond the redshift range of the training set .
negative redshifts are unlikely to be physical , and because the extrapolation of the polynomial fit is very unstable , photometric redshifts @xmath105 can not be trusted . for these objects , we use a value of `` 99 '' to indicate this type of problematic photometric redshift in the catalog .
figure  [ photoz - ratio ] presents the fraction of good photometric redshifts vs. @xmath1 magnitude .
the definition of `` good photometric redshift '' is @xmath106 , where @xmath107 is the computed photometric redshift error .
patches 0351 , 1122 , and 1327 have much poorer success rates at the faint end compared to the other patches due to poor @xmath2 and @xmath3 data quality ( the limiting magnitudes for @xmath2 and @xmath3 are about 24 and 23.5 , respectively , compared to the average of 24.5 and 25.0 , see figure  [ vb_lim ] ) . for galaxies with @xmath108 in patches 0226 , 1449 , 1616 , and 2153 , the fractions of good redshifts
are higher than 90% . for the remaining four patches , the fractions are roughly higher than 90% for galaxies with @xmath109 . for brighter ( @xmath110 ) galaxies ,
the lower fractions are probably due to a lack of bright galaxies in our training set , improper star - galaxy separation due to saturated stars , saturation of bright galaxy images in one filter or more , and the lack of a sufficiently blue filter for galaxies at low redshift . for fainter galaxies ,
the fractions are also going down due to larger magnitude errors , especially for redder galaxies because they are even fainter in @xmath2 and @xmath3 magnitudes . according to this figure , an overall reliable completeness magnitude limit ( 90% to 98% ) for the full catalog is @xmath111 , while if the patches 0351 , 1122 , and 1327 are removed , the statistical completeness limit extends to @xmath112 .
if we relax the photometric redshift uncertainty limit to @xmath113 , the completeness limit extends to @xmath114 .    because ppp star - galaxy classification begins to become less robust at @xmath115 due to the low signal - to - noise ratio for faint objects @xcite , some faint galaxies are classified as stars . to test the effect and extent of misclassification , a `` fake '' photometric redshift catalog for point sources in each patch
is also generated .
if we force fit photometric redshifts to real stars , it would produce results that systematically do not have the same redshift distribution as the galaxies .
figure  [ zdist.gal_star ] demonstrates the photometric redshift distributions of ppp classified galaxies and stars in different @xmath116 magnitude bins .
the upper panels show the galaxy fraction of all objects ( galaxies + stars ) , and the lower panels show the stellar fraction . for the @xmath117 , @xmath118 , and @xmath119 bins , the redshift distributions for ppp classified galaxies and stars are not similar .
the `` fake '' photometric redshifts of stars tend to be separated into two bins at @xmath120 for the bluer disk stars , and @xmath78 for the redder faint halo stars .
the peaks for the three brighter bins do not change with magnitude , unlike those for the galaxies .
but for the @xmath99 bin , the shape of the redshift distributions in the upper and lower panels are very similar , which implies that a significant fraction of the `` stars '' are actually galaxies . of course
, we can not rule out that high - surface brightness , concentrated galaxies ( more likely to be misclassified as stars ) may have a different redshift distribution compared to low - surface brightness , less concentrated galaxies .
table  [ catalog ] is an example showing the information available for each object in the photometric redshift catalog ; the full photometric redshift catalog ( table  4 ) is available in the electronic version of the paper .
listed in the sample catalog are the following rows :    @xmath121the rcs object number .
the first two digits indicate the patch number , numbered 01 to 10 in the order of the patches in table  [ patch ] .
the second two digits indicate the pointing number within a patch .
the third two digits indicate the ccd chip number within the pointing .
the remaining five digits represent the object number within each ccd chip .
@xmath122the r.a . in hours and dec . in degrees ( j2000 ) .
@xmath123the total magnitudes , magnitude errors , and color errors for @xmath0 , @xmath1 , @xmath2 , and @xmath3 .
the magnitude errors are derived from the photon noise in the optimal aperture ( on total magnitude , see @xcite ) for each object .
the color errors are the sum in quadrature of the photon errors for each filter in the color aperture .
@xmath124the photometric redshift .
@xmath125the computed error on the photometric redshift .
cccccc ra & 2.435250 & 2.428926 & 2.432872 & 2.429133 & 2.432602 + dec & 0.90261 & 0.90425 & 0.90534 & 0.90611 & 0.90704 + @xmath0 & 20.81 & 18.70 & 20.04 & 19.27 & 19.43 + + /-
c of @xmath0 & 0.05 0.04 & 0.01 0.01 & 0.03 0.02 & 0.02 0.01 & 0.01 0.01 + @xmath1 & 21.00 & 19.36 & 20.58 & 19.98 & 20.04 + + /-
c of @xmath1 & 0.02 0.01 & 0.01 0.00 & 0.01 0.01 & 0.01 0.01 & 0.01 0.01 + @xmath2 & 21.45 & 20.67 & 21.66 & 21.28 & 21.30 + + /-
c of @xmath2 & 0.04 0.02 & 0.01 0.01 & 0.03 0.03 & 0.03 0.02 & 0.02 0.02 + @xmath3 & 22.23 & 22.06 & 22.79 & 22.58 & 22.67 + + /-
c of @xmath3 & 0.03 0.03 & 0.03 0.03 & 0.05 0.05 & 0.05 0.04 & 0.04 0.04 + photometric redshift & 0.263 & 0.436 & 0.393 & 0.442 & 0.395 + redshift error & 0.072 & 0.031 & 0.071 & 0.031 & 0.018 +
we present a photometric redshift catalog from the rcs data , constructed by applying an empirical polynomial fitting technique using a training set of 4924 objects with redshifts from the cnoc2 and goods / hdf - n samples .
a 32-cell kd - tree algorithm is used to divide up our sample to improve the accuracy of the photometric redshift estimates .
our catalog includes 1.3 million galaxies in 33.6 deg@xmath4 of sky ( distributed over 10 patches ) with redshifts less than 1.5 .
the rms photometric redshift scatter is @xmath7 within the redshift range @xmath8 , and @xmath9 for galaxies with @xmath10 .
the computed photometric redshift errors for individual galaxies are also provided .
the magnitude limit for completeness of the catalog is @xmath126 ( with @xmath106 ) if the three shallow patches ( 0351 , 1122 , and 1327 ) are excluded .
the limit extends to @xmath127 for @xmath113 .
we also compare the redshift distribution from our catalog to the cfdf and the goods / hdf - n data , and the agreement between the different samples is in general very good .
we are carrying out a number of scientific studies using the photometric redshift catalog .
one important example is to provide a large sample of galaxies over a large look - back time to measure the luminosity function and its evolution for field galaxies ( lin et al .  2005 , in preparation ) .
moreover , the luminosity function for galaxies in clusters discovered by the rcs can be determined more accurately using photometric redshifts than by using two filters ( @xmath1 and @xmath0 ) .
furthermore , we plan to develop cluster finding algorithms using the photometric redshift catalog , creating cluster catalogs for comparison with the result from the rcs technique @xcite .
this will allow us to verify the completeness of the two - filter cluster red - sequence finding algorithm .
another topic is the search for close galaxy pairs , both in the field and in galaxy clusters , to study the evolution of the merging rate ( hsieh et al .
2005 , in preparation ) .
such a study will provide data to test the hierarchical model of galaxy evolution .
we are also using the catalog to find sub - structures ( groups ) in clusters , and to study the cluster population as a function of radius .
finally , the photometric redshift catalog provides accurate redshift distributions of lens galaxies and source galaxies , which are both very important for weak lensing analysis . with photometric redshift information
, many weak lensing analyses , from galaxy - galaxy lensing to cosmic shear , can be improved .
for example , knowing the redshifts of the lenses allows one to derive the mass - to - light ratio of galaxies as a function of galaxy luminosity ( hoekstra et al .
2005 , in preparation ) , testing the scaling relations of bayonic and dark matter .
we wish to thank the staff at cfht for the observations and reduction of part of the data under the queue system .
the research of h. y. is supported by grants from the national science and engineering research council of canada and the university of toronto .                                                                               and
@xmath3 limiting magnitudes .
the distributions of point source magnitudes from individual chips for the @xmath2 filter and @xmath3 filter are shown in the left panel and the right panel , respectively .
the thick lines indicate the median value of the limiting magnitudes for @xmath2 and @xmath3 , which are 24.54 and 24.99 , respectively .
note that a number of pointings have very shallow @xmath3 limits due to observations done in poor seeing .
[ vb_lim ] , scaledwidth=90.0% ]     is used as the reference image .
the central image is the original ( before matching ) image in @xmath2 .
the right image is the shifted / rotated image in @xmath2 made by matching to the @xmath1 image .
note that the upper part and left part of the right image are copied from the nearby chips to keep the completeness of the @xmath2 image , and the gaps are not filled with any counts here for clarity of presentation .
the bad columns in the original @xmath2 image are fixed for the shifted / rotated @xmath2 image by using a linear interpolation algorithm.[matching - image ] , scaledwidth=90.0% ]     vs. @xmath34 diagram .
the right panel is the @xmath32 vs. @xmath34 diagram .
the white dots and black dots indicate extended sources with @xmath68 in 0226a3 and 0226c1 , respectively .
the distributions of galaxies in the two pointings in the color - color diagrams do not match , especially for @xmath32 vs. @xmath34 .
it is evident that the original photometric calibrations are not sufficiently accurate , and some additional recalibrations have to be performed .
[ color - color ] , scaledwidth=90.0% ]    , @xmath32 , and @xmath36 , respectively .
the solid line indicates the data from 0226a3 and the dashed line indicates the data from 0226c1 .
only stars with @xmath37 are used .
all histograms are normalized . in the three panels
the color histograms for the two pointings are similar in shape but are offset from each other . by assuming that the photometric calibrations for @xmath1 are all correct and by choosing the pointing 0226a3 as the reference pointing , the magnitudes of @xmath3 and @xmath2 should be brighter and the @xmath0 magnitude should be a little fainter for the 0226c1 pointing .
shifts of @xmath128 , @xmath129 , and @xmath130 mag need to be applied to the @xmath3 , @xmath2 , and @xmath0 magnitudes , respectively , of the 0226c1 pointing in order to make the color histograms match .
[ color - histo ] , scaledwidth=90.0% ]    mag between rcs and sdss in @xmath3 , @xmath2 , and @xmath0 ( left to right ) for overlapping patches ; see text for details .
we arbitrarily set @xmath40mag @xmath131 for patch 0226 _ after _ recalibration .
note that we do not calibrate the rcs photometry to the sdss photometry .
the open boxes and filled boxes indicate the elixir - calibrated results and the recalibrated results , respectively .
the recalibrated results show less scatter than the elixir - calibrated ones .
[ sdss - offset ] , scaledwidth=100.0% ]    mag between rcs and sdss for the set of pointings within each rcs patch ; see text for details .
@xmath3 , @xmath2 , and @xmath0 are shown ( left to right ) .
the open boxes and filled boxes indicate the elixir - calibrated results and the recalibrated results , respectively .
the inter - pointing recalibrations for each patch reduce the standard deviations for @xmath2 and @xmath3 significantly .
[ sdss - sd ] , scaledwidth=100.0% ]      ) vs. magnitude ( @xmath1 ) diagram showing the layout of the regions used for the data separation .
the dots indicate the rcs+cnoc2 data and the crosses indicate the goods / hdf - n data in our training set .
the galaxies are roughly in two loci on the color - magnitude plane with a gap around @xmath33=1.8 to 2.0 .
the early - type galaxies dominate the redder ( upper ) locus while the late - type galaxies dominate the bluer ( lower ) locus .
we separate the upper locus into four regions ( 1 , 2 , 3 , and 4 ) and the lower locus into six regions ( 5 , 6 , 7 , 8 , 9 , and 10 ) for the photometric redshift fits .
note that this cutting method is not used for the final catalog .
[ color - mag],scaledwidth=90.0% ]     vs. spectroscopic redshift diagram ( left ) , and median(@xmath86 ) or @xmath74 vs. spectroscopic redshift diagram ( right ) before noise is added .
the fitting uses the kd - tree 32-cell cutting of the training set .
the dots indicate the rcs / cnoc2 data , the crosses indicate the goods / hdf - n data , and the solid curve in the left panel is the median value of @xmath86 .
the same solid curve is also shown in the right panel for clearer presentation .
the dashed curve in the right panel is the @xmath74 which indicates the 68th percentile difference between the photometric redshift and the spectroscopic redshift , in bins of 100 objects each along the spectroscopic redshift axis .
the @xmath74 for objects at our median redshift is less than 0.05 .
the error becomes larger ( @xmath132 ) for objects at @xmath133 .
the extremely large error for objects at @xmath79 is due to the large systematic deviations at those high redshifts .
[ zerr ] , scaledwidth=90.0% ]     but noise has been added to the goods / hdf - n sample ( see text ) .
the @xmath74 for objects at our median redshift is similar compared to that in figure  [ zerr ] , but the error increases to around 0.2 for objects at @xmath87 , which is much larger than the value from figure  [ zerr ] .
[ zerr1],scaledwidth=90.0% ]     to the total number of objects for each redshift bin .
the result is calculated using the rcs / cnoc2 and noise added goods / hdf - n data .
note that the histogram has variable redshift bin widths because we choose widths that always include exactly 100 objects per bin .
the catastrophic error rate is below 0.03 for @xmath81 .
it becomes around 0.05 for @xmath82 due to larger @xmath74 .
for redshifts higher than 1.2 , the catastrophic error rate is 0.25 , which is primarily due to the larger systematic error .
[ catastrophic_err],scaledwidth=90.0% ]       bins .
we plot a dot for every 15 and 20 objects for the @xmath90 and @xmath91 bins , respectively . for the panels with @xmath92 and @xmath95 bins ,
we plot a dot for every 30 and 50 objects , respectively .
the curve in each panel is the median value for all data points in each @xmath1 bin , not just for the data shown in the figure .
note that we use different scales for the computed error axes in each panel .
the error grows with fainter @xmath1 and higher redshift .
for the objects at @xmath134 , the errors also become larger because we do not have a sufficiently blue filter for low redshift galaxies . generally speaking , the photometric redshift error increases with magnitude due to larger photometric uncertainty .
[ esterr_photoz],scaledwidth=90.0% ]     vs. color ( @xmath33 ) diagram for rcs data in our training set .
@xmath74 is 0.03 for redder objects ( @xmath135 ) .
the width of the error distribution becomes 0.043 for objects with @xmath136 . for objects with @xmath137 ,
this becomes larger than 0.055 .
[ color - err],scaledwidth=90.0% ]      , defined as @xmath106 , where @xmath107 is the computed photometric redshift error .
each line indicates one patch .
patches 0351 , 1122 , and 1327 have much lower fractions at the faint end due to the poorer @xmath2 and @xmath3 data quality ( see text and figure  [ vb_lim ] ) . for patches 0226 , 1449 ,
1616 , and 2153 , the fractions are higher than 90% for @xmath108 . for the remaining three patches , the fractions are higher than 90% for @xmath109 .
the completeness levels increase to @xmath127 mag when the criterion @xmath113 is used .
[ photoz - ratio],scaledwidth=90.0% ]     bins .
the upper four panels represent the galaxy fraction among all objects ( galaxies + stars ) .
the lower four panels show the `` stars '' fraction among all objects . only for the @xmath99 bin
is the redshift distributions very similar between the upper and lower panels .
it implies that many `` stars '' in this magnitude range are actually galaxies .
[ zdist.gal_star],scaledwidth=90.0% ]