Download & Run: ColorPro & BPZ

BPZ is now integrated with ColorPro! After producing the final photometric catalog, ColorPro will automatically run BPZ for you if you wish. Bayesian Photometric Redshifts will be obtained for all the galaxies in your catalog. The BPZ options can be set in the same configuration file that you use for ColorPro.

Software Required

NOTE: Please install SExtractor from source. There appears to be a bug in the Scisoft Mac OS X distribution of SExtractor. Thanks to Sahar Allam and Marc Rafelski for isolating this problem and tracking down the solution! To install from source, just unpack the files and then run: "./configure; sudo make install".

  • Python with PyRAF, Numpy, and PyFITS
  • (ColorPro now works with numpy v1.0b3 and PyFITS v1.1b2)
  • SExtractor* (see note above)
  • (SExSeg packaged with ColorPro)
  • WCSTools: xy2sky, sky2xy, imsize
  • match (OPTIONAL: to automatically correct simple WCS misalignments, namely x / y shifts)
  • Install

    Download:   colorpro-1.0.6b.tar.gz (1.5M)   (or colorproonly-1.0.6b.tar.gz (102K) without the example images)
    Unzip & unpack:   tar -xvf colorpro-1.0.6b.tar.gz

    (Note you may not want to delete the .tar file just yet...)

    ColorPro should be installed in a new colorpro-1.0.6b/ directory. Add this directory to your PYTHONPATH, and alias a new command "colorpro", like this:

    setenv HOME /home/coe (use your pathname instead!)
    setenv COLORPRO {$HOME}/colorpro-1.0.6b
    setenv PYTHONPATH {$PYTHONPATH}:{$COLORPRO}
    alias colorpro "python $COLORPRO/colorpro.py"
    setenv SEXSEG $COLORPRO
    alias sexseg "python $SEXSEG/sexseg.py"
    setenv NUMERIX numpy


    (You can add these lines to your .mycshrc file.)

    Note: Pyraf expects to find "login.cl" in either the current directory or in ~/iraf/ (where ~/ is your home directory). If your login.cl is somewhere else, either copy it to ~/iraf/ or create ~/iraf as a link to the directory where your login.cl is.

    And don't be fooled by my NUMERIX environment variable. You can't set it to numeric and expect ColorPro to run using Numeric instead of Numpy. The only thing NUMERIX is good for is that it tells PyFITS to use Numpy instead of Numeric.

    Optional: Install BPZ as well

    Try it out!

    If you downloaded the example along with ColorPro, navigate to the colorpro-1.0.6/example/ subdirectory.  To run ColorPro, simply type:

      colorpro

    Or to try out ColorPro on an example that runs straight SExtractor instead of SExSeg:
      colorpro straightsex.in

    (Note that ColorPro will produce a bunch of intermediate files in addition to the final output catalog.  If you want to keep your example/ subdirectory pristine, it's best to copy the files over to another directory.  If you've already sullied the directory, you can recreate it if you still have the colorpro-1.0.6.tar file!)

    ColorPro will automatically look for colorpro.in, the configuration file, which tells it where to find all of your images, etc.

    ColorPro will run on a small portion of the UDF (identical to that shown in Fig. 2 in our UDF catalog paper).  Images (including RMS & weight images) are provided in 6 filters: b, v, i, z, j, h.  ColorPro then goes about the messy business of creating detection images, aligning the images, degrading the detection image to the poorer PSFs of the j & h NIC3 images, compiling a segmentation map from 5 sources (again as in Fig. 2), running SExSeg on all the images, and finally collating the final catalog.

    The end product is (by default): colorpro.cat
    (A more detailed catalog is also produced: phot.cat)

    To learn about the contents of colorpro.cat, see ColorPro Output.

    BPZ is now integrated with ColorPro! After colorpro.cat is produced, ColorPro will automatically run BPZ for you if you wish (and if you have installed BPZ). The resulting catalog is (by default) colorpro_bpz.cat
    And a final catalog containing the photometry and BPZ results is: colorpro_photbpz.cat

    If all else fails, read the:

    ColorPro Manual