Photometric-redshift uncertainties#
In photometric-redshift tomography, bins are defined in observed photometric redshift \(z_{\mathrm{ph}}\), but the resulting bin distributions are evaluated on the true-redshift grid \(z\).
Following the general construction described in Tomography, the raw tomographic bin distribution is
where
\(n(z)\) is the parent redshift distribution,
\(S_i(z)=P(i\mid z)\) is the probability that a galaxy at true redshift \(z\) is assigned to observed bin \(i\).
For observed-redshift bin edges \(e_i\) and \(e_{i+1}\), the assignment probability is
where \(p(z_{\mathrm{ph}}\mid z)\) is the conditional probability density of observed photometric redshift at fixed true redshift.
Unlike deterministic true-redshift binning, photometric-redshift tomography allows galaxies at the same true redshift to contribute probabilistically to different observed bins.
Core Gaussian assignment#
The core photo-z model assumes a Gaussian conditional distribution,
with mean and scatter given by
where
\(\alpha\) is the multiplicative mean-scaling parameter,
\(\beta\) is the mean-offset parameter,
\(s\) is the non-negative scatter amplitude.
For positive scatter, the conditional probability density is
Integrating this density over the observed bin interval gives the analytic assignment probability,
where \(\operatorname{erf}\) is the error function.
Binny evaluates this expression directly on the true-redshift grid, avoiding numerical integration over observed redshift.
No-uncertainty limit#
When the scatter vanishes, \(s=0\), the core model reduces to a deterministic mapping,
The corresponding conditional density is formally
where \(\delta_{\mathrm{D}}\) is the Dirac delta function.
The assignment probability becomes
For positive mean scaling, the corresponding true-redshift interval is
The usual sharp true-redshift selection is recovered when
where \(f_{\mathrm{out}}\) is the outlier mixture fraction introduced below.
These are the default parameter values in Binny. The remaining outlier parameters have no effect when \(f_{\mathrm{out}}=0\).
Photo-z uncertainty terms#
Binny provides several uncertainty parameters that modify the conditional relation between true and observed photometric redshift.
Scatter#
The Gaussian scatter is parameterized as
where \(s\) controls the width of the conditional observed-redshift distribution.
Increasing the scatter generally broadens the selection functions around the nominal bin boundaries, increasing overlap between neighboring tomographic bins.
The resulting bin shapes also depend on the parent redshift distribution and the other uncertainty parameters.
API mapping:
\(s\):
scatter_scale
Bias / mean offset#
The mean observed-redshift relation is
The conditional mean redshift error of the core component is therefore
For \(\alpha=1\), the mean redshift error is simply \(-\beta\).
A positive mean_offset decreases the mean observed redshift at fixed
true redshift.
For positive mean scaling and fixed observed-redshift boundaries, this
generally moves the selection toward higher true redshift.
A negative offset has the opposite effect.
API mapping:
\(\beta\):
mean_offset
Mean scaling#
The multiplicative parameter \(\alpha\) controls the slope of the mean observed-redshift relation,
Changing \(\alpha\) stretches or compresses the mapping between true and observed redshift.
In the deterministic limit with \(\alpha>0\), the width of the selected interval in true redshift is
Mean scaling therefore affects both the location and width of the effective selection.
API mapping:
\(\alpha\):
mean_scale
Note
The mean_offset and mean_scale parameters act on the conditional
observed-redshift relation, rather than directly shifting or stretching
an already constructed tomographic redshift distribution.
Because the raw bin distribution is the product of the parent distribution and the selection function, these parameters may change its location, width, shape, and integrated population simultaneously.
Outlier mixture#
Binny supports a second Gaussian component representing catastrophic or outlier-like photometric-redshift failures.
The conditional density becomes a mixture of a core and an outlier component,
where
\(p_{\mathrm{core}}\) is the core Gaussian conditional density,
\(p_{\mathrm{out}}\) is the outlier Gaussian conditional density,
\(f_{\mathrm{out}}\in[0,1]\) is the outlier mixture fraction.
The corresponding selection function is
Both components use the analytic Gaussian assignment probability described above, with their respective mean and scatter parameters.
The outlier component has its own conditional mean and scatter,
where
\(\alpha_{\mathrm{out}}\) controls the outlier mean scaling,
\(\beta_{\mathrm{out}}\) controls the outlier mean offset,
\(s_{\mathrm{out}}\) controls the outlier scatter amplitude.
The outlier fraction determines the relative contribution of the two components:
\(f_{\mathrm{out}}=0\): core component only.
\(0<f_{\mathrm{out}}<1\): mixture of core and outlier components.
\(f_{\mathrm{out}}=1\): outlier component only.
Depending on the outlier parameters and the parent distribution, the outlier contribution may appear as an extended tail, a broad shoulder, or a separate secondary peak in the resulting tomographic bin.
API mapping:
\(f_{\mathrm{out}}\):
outlier_frac\(\alpha_{\mathrm{out}}\):
outlier_mean_scale\(\beta_{\mathrm{out}}\):
outlier_mean_offset\(s_{\mathrm{out}}\):
outlier_scatter_scale
Outlier mixture fraction and selected population#
The outlier mixture fraction is not necessarily equal to the fraction of outlier galaxies in a resulting tomographic bin.
For a common conditional mixture model, the integrated core and outlier contributions are
The fraction of selected galaxies belonging to the outlier component is
provided that the denominator is positive.
In general,
because the two components may assign galaxies to the same observed bin with different probabilities.
This distinction concerns the mathematical interpretation of the mixture model.
Implemented photo-z parameters#
The following photometric-redshift uncertainty parameters are implemented in Binny.
Parameter |
API argument |
Description |
|---|---|---|
\(s\) |
|
Core Gaussian scatter amplitude. |
\(\beta\) |
|
Offset subtracted from the core mean relation. |
\(\alpha\) |
|
Multiplicative scaling of the core mean relation. |
\(f_{\mathrm{out}}\) |
|
Outlier mixture fraction. |
\(s_{\mathrm{out}}\) |
|
Outlier Gaussian scatter amplitude. |
\(\beta_{\mathrm{out}}\) |
|
Offset subtracted from the outlier mean relation. |
\(\alpha_{\mathrm{out}}\) |
|
Multiplicative scaling of the outlier mean relation. |
Each parameter may be supplied as a scalar or as a per-bin sequence.
Implemented photo-z parameters#
The following photometric-redshift uncertainty parameters are implemented in Binny.
Parameter |
API argument |
Default |
Description |
|---|---|---|---|
\(s\) |
|
|
Core Gaussian scatter amplitude. |
\(\beta\) |
|
|
Offset subtracted from the core mean relation. |
\(\alpha\) |
|
|
Multiplicative scaling of the core mean relation. |
\(f_{\mathrm{out}}\) |
|
|
Outlier mixture fraction. |
\(s_{\mathrm{out}}\) |
|
|
Outlier Gaussian scatter amplitude. |
\(\beta_{\mathrm{out}}\) |
|
|
Offset subtracted from the outlier mean relation. |
\(\alpha_{\mathrm{out}}\) |
|
|
Multiplicative scaling of the outlier mean relation. |
Each parameter may be supplied as a scalar or as a per-bin sequence.
The outlier component is enabled only when outlier_frac > 0.
In this case, an explicit non-negative outlier_scatter_scale
must be supplied.
A value of 0.0 produces a deterministic outlier component.
Global and bin-dependent uncertainty parameters#
When scalar parameters are supplied, all bins share the same conditional redshift model. Different bins correspond to different observed-redshift intervals of that model.
When per-bin sequences are supplied, the uncertainty parameters may differ independently between tomographic bins.
The parameter vector associated with bin \(i\) is
The corresponding selection function becomes
This flexibility is particularly useful in forecasting and systematic uncertainty studies where individual tomographic distributions may be perturbed independently.
Population conservation#
Each individual assignment probability satisfies
For a common conditional redshift model and contiguous, non-overlapping observed-redshift bins,
The sum is generally smaller than unity for finite observed-redshift coverage, because some galaxies may fall outside the selected interval.
Equality requires that the selected intervals exhaust the support of the conditional redshift distribution.
When uncertainty parameters differ independently between bins, the selection functions need not correspond to a single common conditional density. Consequently, their sum may exceed unity.
Note
Independent per-bin uncertainty parameters should be interpreted as effective tomographic selection models. They do not automatically define a population-conserving partition of the parent sample.
Normalization and interpretation#
The resulting photo-z bins are distributions on the true-redshift grid, not histograms in observed photometric redshift.
As described in Tomography, the raw bin integral is
For a positive parent integral,
the fractional population contribution is
Independent bin normalization is controlled by normalize=True in
the core tomography builder and normalize_bins=True in the lower-level
photometric binning utilities.
For nonempty bins, the normalized distribution is
The normalized curves retain their redshift shapes, while their relative population information is retained in the metadata.
For the core tomography builder, the relevant metadata entries are
metadata["parent_nz"]["norm"],
metadata["bins"]["bins_norms"], and
metadata["bins"]["frac_per_bin"].
For a common conditional model and non-overlapping observed-redshift intervals, the population fractions satisfy
As discussed above, this condition is not automatically guaranteed for independently specified per-bin uncertainty models.
Calibration of photo-z uncertainty parameters#
Photo-z uncertainty parameters may be specified directly or estimated from matched reference and photometric redshift samples.
Binny provides utilities for fitting core-and-tail error models using scaled redshift residuals,
The fitted parameters can be converted into photo-z assignment parameters. The calibration procedure and parameter conversion are described in Photometric-redshift error fitting.