LFKit logo black Photometry Overview#

A luminosity function describes the abundance of galaxies as a function of intrinsic brightness. It is a number-density distribution: it tells us how many galaxies exist per unit volume and per luminosity or magnitude interval. If it is normalized by the total number density, it can also be interpreted as a probability density over luminosity or magnitude.

In luminosity units, the luminosity function is often written as \(\Phi(L, z)\), where \(L\) is luminosity and \(z\) is redshift. The quantity

\[\Phi(L, z)\,\mathrm{d}L\]

is the comoving number density of galaxies with luminosities between \(L\) and \(L+\mathrm{d}L\) at redshift \(z\).

Equivalently, in absolute magnitude space, the luminosity function is written as \(\Phi(M, z)\), where \(M\) is absolute magnitude. In this case,

\[\Phi(M, z)\,\mathrm{d}M\]

is the comoving number density of galaxies with absolute magnitudes between \(M\) and \(M+\mathrm{d}M\).

Luminosity and absolute magnitude are intrinsic quantities. Surveys instead measure fluxes, which are usually reported as apparent magnitudes \(m\). Therefore, using a luminosity function with observed data usually requires converting between apparent magnitude and absolute magnitude using a luminosity distance, and sometimes additional photometric corrections.

For worked examples of the LFKit public API, see the dedicated example pages:

Luminosity and magnitude#

Luminosity \(L\) is the total energy emitted by a galaxy per unit time. Flux \(F\) is the energy received by an observer per unit area and per unit time. The two are related by the luminosity distance \(d_L\):

\[F = \frac{L}{4\pi d_L^2}.\]

This is why luminosity is not directly observed. It is inferred from the measured flux once a distance has been specified.

Astronomy often uses magnitudes instead of luminosities. Apparent magnitude \(m\) describes how bright an object appears to the observer. Absolute magnitude \(M\) describes the intrinsic brightness of the object, defined as the apparent magnitude it would have at a standard reference distance.

By convention, more negative magnitudes are brighter. A galaxy with \(M=-22\) is brighter than a galaxy with \(M=-18\).

Luminosity and absolute magnitude are related logarithmically. Relative to a reference luminosity \(L_0\), the absolute magnitude can be written as

\[M = M_0 - 2.5 \log_{10}\left(\frac{L}{L_0}\right),\]

or equivalently,

\[\frac{L}{L_0} = 10^{-0.4(M - M_0)}.\]

Here \(M_0\) is the magnitude corresponding to the reference luminosity \(L_0\). This relation is why brighter objects have smaller, more negative magnitudes.

The conversion between apparent and absolute magnitude can be written as

\[M = m - \mu(z) - K(z) + E(z),\]

where:

  • \(M\) is absolute magnitude,

  • \(m\) is apparent magnitude,

  • \(\mu(z)\) is the distance modulus,

  • \(K(z)\) is the k-correction,

  • \(E(z)\) is the evolution correction,

  • \(z\) is redshift.

The distance modulus encodes the effect of distance. The k-correction accounts for observing a redshifted galaxy spectrum through a fixed bandpass. The evolution correction accounts for intrinsic luminosity evolution of the galaxy population, depending on the convention adopted in the analysis.

Magnitude-space luminosity functions#

LFKit works primarily in rest-frame absolute magnitude space. This is a natural choice for galaxy luminosity functions because absolute magnitude is an intrinsic brightness variable.

A magnitude-space luminosity function \(\Phi(M, z)\) gives the number density of galaxies per unit magnitude. If \(\Phi(M, z)\) has units of \({\rm Mpc}^{-3}\,{\rm mag}^{-1}\), then integrating it over a finite absolute magnitude interval gives a number density in \({\rm Mpc}^{-3}\):

\[n(z) = \int_{M_{\rm bright}}^{M_{\rm faint}} \Phi(M, z)\,\mathrm{d}M.\]

Here:

  • \(n(z)\) is the integrated number density at redshift \(z\),

  • \(M_{\rm bright}\) is the bright absolute magnitude limit,

  • \(M_{\rm faint}\) is the faint absolute magnitude limit,

  • \(\Phi(M, z)\) is the luminosity function per unit magnitude.

Because brighter galaxies have more negative magnitudes, \(M_{\rm bright}\) is usually more negative than \(M_{\rm faint}\).

The Schechter luminosity function#

A common model for galaxy luminosity functions is the Schechter function. In luminosity space, it is usually written as

\[\Phi(L)\,\mathrm{d}L = \phi_\star \left(\frac{L}{L_\star}\right)^\alpha \exp\left(-\frac{L}{L_\star}\right) \frac{\mathrm{d}L}{L_\star}.\]

Here:

  • \(L\) is galaxy luminosity,

  • \(L_\star\) is the characteristic luminosity,

  • \(\phi_\star\) is the normalization,

  • \(\alpha\) is the faint-end slope.

The Schechter form combines two behaviours. At low luminosities, the model is approximately a power law controlled by \(\alpha\). At high luminosities, the exponential term suppresses the abundance of very bright galaxies.

Schechter function in magnitude space#

The magnitude-space form follows from the luminosity-space form by using the luminosity ratio

\[\frac{L}{L_\star} = 10^{-0.4(M - M_\star)}.\]

The change of variables from luminosity to magnitude also introduces the factor \(0.4\ln(10)\).

In absolute magnitude space, the Schechter luminosity function can be written as

\[\Phi(M) = 0.4 \ln(10) \, \phi_\star \, x^{\alpha + 1} \exp(-x),\]

with

\[x = 10^{-0.4(M - M_\star)}.\]

Here:

  • \(M\) is absolute magnitude,

  • \(M_\star\) is the characteristic absolute magnitude,

  • \(\phi_\star\) is the normalization,

  • \(\alpha\) is the faint-end slope,

  • \(x\) is the luminosity ratio \(L/L_\star\) written in magnitude form.

The parameter \(M_\star\) marks the transition between the power-law part of the luminosity function and the exponential bright-end cutoff. The parameter \(\alpha\) controls how rapidly the abundance rises toward fainter magnitudes. More negative values of \(\alpha\) produce a steeper faint end.

The normalization \(\phi_\star\) sets the overall abundance scale. If \(\phi_\star\) is supplied in \({\rm Mpc}^{-3}\), then \(\Phi(M)\) is usually interpreted as a number density per magnitude, \({\rm Mpc}^{-3}\,{\rm mag}^{-1}\).

Redshift evolution#

Galaxy populations evolve with redshift, so luminosity function parameters are often allowed to depend on \(z\). A redshift-dependent Schechter model can be written schematically as

\[\Phi(M, z) = \Phi\left(M \mid \phi_\star(z), M_\star(z), \alpha(z)\right).\]

Here:

  • \(\phi_\star(z)\) describes evolution in the overall normalization,

  • \(M_\star(z)\) describes evolution in the characteristic magnitude,

  • \(\alpha(z)\) describes evolution in the faint-end slope.

Changing \(\phi_\star(z)\) changes the total abundance scale. Changing \(M_\star(z)\) shifts the characteristic magnitude where the luminosity function turns over. Changing \(\alpha(z)\) mainly changes the relative abundance of faint galaxies.

Different analyses use different parameterizations for this evolution. For example, one may use a constant parameter, a linear trend with redshift, or a survey-specific empirical model. The important point is that the luminosity function model and the photometric evolution correction should be defined consistently.

Apparent magnitude limits#

Observed catalogs are often selected by an apparent magnitude limit \(m_{\rm lim}\). A luminosity function, however, is usually evaluated in absolute magnitude space. The corresponding absolute magnitude limit is

\[M_{\rm lim}(z) = m_{\rm lim} - \mu(z) - K(z) + E(z).\]

Here:

  • \(M_{\rm lim}(z)\) is the redshift-dependent absolute magnitude limit,

  • \(m_{\rm lim}\) is the apparent magnitude limit of the catalog,

  • \(\mu(z)\) is the distance modulus,

  • \(K(z)\) is the k-correction,

  • \(E(z)\) is the evolution correction.

The dependence on \(z\) is important. The same apparent magnitude limit corresponds to different intrinsic luminosities at different redshifts. At higher redshift, a fixed apparent magnitude cut usually selects only brighter galaxies.

This is the basic reason magnitude-limited samples become increasingly incomplete for faint galaxies at larger distances.

Number-density integrals#

Integrating a luminosity function over magnitude gives the number density of galaxies inside a chosen magnitude range:

\[n(z) = \int_{M_{\rm bright}}^{M_{\rm faint}} \Phi(M, z)\,\mathrm{d}M.\]

This quantity is useful when the luminosity function is used to predict the abundance of a galaxy sample. Changing the integration limits changes the population being counted. A brighter cut selects only luminous galaxies, while a fainter cut includes more of the faint galaxy population.

For a magnitude-limited catalog, the observed number density can be written as

\[n_{\rm obs}(z) = \int_{M_{\rm bright}}^{\min[M_{\rm lim}(z), M_{\rm faint}]} \Phi(M, z)\,\mathrm{d}M.\]

The missing, or out-of-catalog, number density can be written as

\[n_{\rm miss}(z) = \int_{\max[M_{\rm lim}(z), M_{\rm bright}]}^{M_{\rm faint}} \Phi(M, z)\,\mathrm{d}M.\]

Here:

  • \(n_{\rm obs}(z)\) is the number density above the catalog selection,

  • \(n_{\rm miss}(z)\) is the number density below the catalog selection,

  • \(M_{\rm lim}(z)\) is the absolute magnitude limit implied by the apparent magnitude cut.

These definitions split the same reference luminosity function into the part that is observable and the part that is missed by the magnitude limit.

Completeness fractions#

The catalog completeness fraction is the fraction of the reference population that is retained by the magnitude limit:

\[f_{\rm obs}(z) = \frac{n_{\rm obs}(z)} {n_{\rm obs}(z) + n_{\rm miss}(z)}.\]

The missing fraction is

\[f_{\rm miss}(z) = 1 - f_{\rm obs}(z).\]

Here:

  • \(f_{\rm obs}(z)\) is the observed or in-catalog fraction,

  • \(f_{\rm miss}(z)\) is the missing or out-of-catalog fraction.

These fractions only describe the selection caused by the apparent magnitude limit. Other survey effects, such as masks, blending, targeting, color cuts, or spectroscopic failures, are separate selection effects and should be modeled elsewhere.

Luminosity evolution and double counting#

Luminosity evolution can enter an analysis in more than one place. It may appear in the photometric conversion through an evolution correction \(E(z)\), or it may appear directly in the luminosity function through a redshift-dependent parameter such as \(M_\star(z)\).

These two choices are not automatically equivalent. Using both at the same time can be correct if the conventions are defined carefully, but it can also double count evolution if both terms describe the same physical effect.

A useful rule is to keep the roles separate:

  • \(E(z)\) belongs to the apparent-to-absolute magnitude conversion,

  • \(M_\star(z)\), \(\phi_\star(z)\), and \(\alpha(z)\) belong to the luminosity function model.

The analysis should define which part of the evolution is handled by the photometric correction and which part is handled by the luminosity function parameterization.

What LFKit models#

LFKit focuses on the luminosity function side of these calculations. In this layer, the relevant ingredients are intrinsic luminosity or magnitude, redshift-dependent luminosity function parameters, apparent-to-absolute magnitude conversions, and number-density integrals.

LFKit does not model every survey selection effect. Angular masks, survey area, blending, targeting, spectroscopic success rates, and other catalog-level effects should be handled by the calling analysis code.

The theory described here is implemented in the public LFKit interface and shown with executable examples in the example pages.