ETH Zurich

I N S T I T U T E   O F   A S T R O N O M Y    
H O E N G G E R B E R G   C A M P U S    

COSMOS / zCOSMOS
COSMOS & zCOSMOS
MUSE
PARTNERS IN MUSE


Home


Who we are
What we do

Research Highlights

The ZWICKY PRIZE Program

ZEBRA
Zurich Extragalactic Bayesian Redshift Analyzer


Seminars
Research Colloquium
Astro Lunches
Journal Club

Lecture courses



Open Positions


How to find us

How to contact us

 
ETH

ASTRONOMY@ETH
MAIN PAGE

Hoenggerberg

ETH Physics

ETH Homepage


Past Events
Workshop:
Origin and Evolution of Planets
(2008)


Mini-Course on Black Hole Accretion
(2008)


Workshop:
From Protostellar Cores to Disk Galaxies
(2007)


Extragalactic Astrophysics &
Observational Cosmology Group
ZEBRA
The Zurich Extragalactic Bayesian Redshift Analyzer

ZEBRA

ZEBRA is a free and open-source software
distributed under the GNU General Public License 3 and can be downloaded here.

Introduction

ZEBRA combines and extends several of the classical approaches to produce accurate photometric redshifts down to faint magnitudes. In particular, ZEBRA uses the template-fitting approach to produce Maximum Likelihood and Bayesian redshift estimates based on:

  • An automatic iterative technique to correct the original set of galaxy templates to best represent the SEDs of real galaxies at different redshifts;
  • A training set of spectroscopic redshifts for a small fraction of the photometric sample, to improve the robustness of the photometric redshift estimates; and
  • An iterative technique for Bayesian redshift estimates, which extracts the full two-dimensional redshift and template likelihood function for each galaxy.
Workflow of ZEBRA

The workflow of ZEBRA. The input files are indicated on the top. The resulting output data on the bottom. A typical ZEBRA session would take the following route: 1) Check & correction of the photometric catalog; 2) Optimization of the spectral energy distributions (templates); 3) Maximum-Likelihood fit or Bayesian estimation of the probablity distribution in template type - redshift space.

Input

The user can choose from, or has otherwise to provide, an initial set of templates and filter transmission curves. In addition a catalog is needed which provides ZEBRA with the magnitudes of the galaxies in question in the various filter bands.

Output
  • In the photometry-check mode ZEBRA returns a catalog with calibrated photometry together with detailed information about the applied changes.

  • In the template-optimization mode ZEBRA returns the corrected templates as wavelength --flux density (per unit wavelength) tables.

  • In the Maximum-Likelihood mode ZEBRA returns the best fit redshift and template type together with their confidence limits estimated from constant chi^2 boundaries. ZEBRA also provides the likelihood functions for all galaxies in several output formats and the residuals between best fit template magnitude and measured magnitude for each galaxy in each filter band.

  • In the Bayesian mode ZEBRA calculates the 2D-prior in redshift and template space in an iterative fashion. This prior (and, if specified, the interim prior of each iteration step) is returned. The final prior is used by ZEBRA to compute a posterior for each galaxy. The posterior can be saved as full 2D-table or in marginalized form. ZEBRA's output includes the most probable redshift and template type for each galaxy as defined by (i) the maximum of the posterior or (ii) after marginalizing over templates types or (iii) after marginalizing over redshifts, respectively.  The errors are calculated directly from the posterior.

  • ZEBRA can also be employed to derive template-based k-corrections using the specified templates and filters.
Performance

In Feldmann et al. 2006 we have demonstrated ZEBRA's performance using the Subaru, CFHT and NOAO groundbased photometry (Capak et al. 2006; Taniguchi et al. 2006; ApJ COSMOS Special issue) on a sample of ~50,000 COSMOS galaxies and, as a training set, zCOSMOS spectroscopic redshifts that were available for 1.8% of the sample under study.

a)Maximum-Likelihood without template-optimization
b)ZEBRA Maximum-Likelihood
c)ZEBRA Bayes
A simple Maximum-Likelihood estimate of redshifts without template optimization; (top) spectroscopic vs. photometric redshifts; (bottom) the error in the redshift estimation as function of redshift for different template types;

standard deviation of dz/1+z ~ 0.043
outlier fraction ~ 2.1 %
ZEBRA's Maximum-Likelihood estimate of redshifts with template optimization. Top and bottom panel as in a).




standard deviation of dz/1+z ~ 0.027
outlier fraction ~ 1.1 %

ZEBRA's Bayesian estimate of redshifts with template optimization. Top and bottom panels as in a).




standard deviation of dz/1+z ~ 0.027
outlier fraction ~ 0.8 %


Download

In order to run ZEBRA on your machine you may try to download an appropriate, precompiled ZEBRA binary. Alternatively you can download the ZEBRA package and compile the code yourself. Please refer to the ZEBRA user manual on how to install ZEBRA properly. The ZEBRA package includes: the source code, examples on how to use ZEBRA, wrapper scripts and the user manual.

Latest stable version - v1.01 - 21/08/09
Type
Target platform
File
Remark
Binary
Linux 32 bit - x86
zebra lapackpp, gsl statically linked
Binary
Linux 64 bit - x86
zebra
lapackpp, gsl statically linked
Binary
Mac OS X 10.5 - Intel
zebra
lapackpp, gsl statically linked
Source
Unix / Linux / Mac OS
zebra-1.01.tar.gz
incl. source code, examples,
wrapper scripts, manual
Manual
any
user_manual_ZEBRA.pdf
http://arxiv.org/abs/0801.3275

A note about binaries: We recommend the installation of ZEBRA from source as described in the user manual. However, if you prefer to use the binaries and get a "
cannot open shared object file" error message, please check the availability of the following dependencies (dyn. linked libraries): lapack, blas, c, stdc++, m, gcc, gfortran. On most linux system these libraries are pre-installed, otherwise contact your system administrator.

FAQ

Previous versions
ChangeLog

Please report any bugs or problems you encounter with the code to: zebra at phys dot ethz dot ch
If you are intending to extend / improve ZEBRA it would be kind to let us k
now as well.

It is kindly requested that the use of ZEBRA should be acknowledged with an explicit reference to Feldmann, Carollo, Porciani, Lilly et al., MNRAS 372, 564 (2006) in the bibliographic list of any resulting publication.

ZEBRA+

A new version of ZEBRA (ZEBRA+) is currently being built in order to
  • include extinction by dust

  • estimate stellar masses, ages and metallicties

  • adapt the treatment of AGN templates

    Stay tuned!
last modification 25/08/09