Two-point Correlation Functions

Class providing two-point correlation functions \(\xi(r,t)\)—the excess probability above Poisson of finding a pair of dark matter particles or galaxies separated by comoving distance \(r\) at cosmic time \(t\). The correlation function is the Fourier transform of the matter power spectrum \(P(k)\), and both its volume-averaged form \(\bar{\xi}(r)\) and point form are used in analyses of large-scale structure clustering. It is used, for example, in computing the survey window functions required for two-point statistics of galaxy samples.

Default implementation: correlationFunctionTwoPointPowerSpectrumTransform

Methods

correlationdouble precision

Return the two-point correlation function for \(r=\)separation [Mpc].

  • double precision, intent(in ) :: separation, time

correlationVolumeAverageddouble precision

Return the volume-averaged two-point correlation function for \(r=\)separation [Mpc].

  • double precision, intent(in ) :: separation, time

correlationFunctionTwoPointPowerSpectrumTransform

Provides a two-point correlation function class in which the correlation function is found by Fourier transforming a power spectrum.

(Default implementation)