Initial import
This commit is contained in:
commit
56a50eead3
820 changed files with 192077 additions and 0 deletions
28
docs/source/theory/ARES&BORG_FFT_normalization.rst
Normal file
28
docs/source/theory/ARES&BORG_FFT_normalization.rst
Normal file
|
@ -0,0 +1,28 @@
|
|||
FFT normalization in ARES/BORG
|
||||
==============================
|
||||
|
||||
This page is to summarize the convention used for normalizing Fourier
|
||||
transform, and the rational behind it.
|
||||
|
||||
The discrete fourier transform is defined, for a cubic box of mesh size
|
||||
:math:`N` as\
|
||||
|
||||
.. math:: x_{\vec{i}} = \mathcal{F}_{\vec{i},\vec{a}} x_{\vec{a}} = \sum_{\vec{a}} \exp\left(\frac{2\pi}{N} \vec{i}.\vec{a}\right)
|
||||
|
||||
In cosmology we are mostly interested in the continuous infinite Fourier
|
||||
transform\
|
||||
|
||||
.. math:: \delta(\vec{x}) = \iiint \frac{\text{d}\vec{k}}{(2\pi)^3} \exp(i \vec{x}.\vec{k}) \hat{\delta}(\vec{k})\;.
|
||||
|
||||
It can be shown that the continuous transform, under reasonable
|
||||
conditions, can be approximated and matched normalized to the following
|
||||
expression in the discrete case:
|
||||
|
||||
:math:`\delta(\vec{x}) = \frac{1}{L^3} \sum_{\vec{k}} \exp\left(i\frac{2\pi}{L} \vec{x} .\vec{k} \right) \hat{\delta}\left(\vec{k}\frac{2\pi}{L}\right)`\ This
|
||||
leads to define the following operator for the discrete Fourier
|
||||
transform:
|
||||
|
||||
:math:`F = \frac{1}{L^3} \mathcal{F}`\ which admit the following
|
||||
inverse:
|
||||
|
||||
:math:`F^{-1} = L^3 \mathcal{F}^{-1} = \left(\frac{L}{N}\right)^3 \mathcal{F}^\dagger`
|
70
docs/source/theory/ARES.rst
Normal file
70
docs/source/theory/ARES.rst
Normal file
|
@ -0,0 +1,70 @@
|
|||
.. _introduction_to_bayesian_large_scale_structure_inference:
|
||||
|
||||
Introduction to ARES
|
||||
====================
|
||||
|
||||
The Algorithm for REconstruction and Sampling (ARES) is a full Bayesian
|
||||
large scale structure inference method targeted at precision recovery of
|
||||
cosmological power-spectra from three dimensional galaxy redshift
|
||||
surveys. Specifically it performs joint inferences of three dimensional
|
||||
density fields, cosmological power spectra as well as luminosity
|
||||
dependent galaxy biases and corresponding noise levels for different
|
||||
galaxy populations in the survey.
|
||||
|
||||
In order to provide full Bayesian uncertainty quantification the
|
||||
algorithm explores the joint posterior distribution of all these
|
||||
quantities via an efficient implementation of high dimensional Markov
|
||||
Chain Monte Carlo methods in a block sampling scheme. In particular the
|
||||
sampling consists in generating from a Wiener posterior distribution
|
||||
random realizations of three dimensional density fields constrained by
|
||||
data in the form of galaxy number counts. Following each generation, we
|
||||
produce conditioned random realizations of the power-spectrum, galaxy
|
||||
biases and noise levels through several sampling steps. Iterating these
|
||||
sampling steps correctly yields random realizations from the joint
|
||||
posterior distribution. In this fashion the ARES algorithm accounts for
|
||||
all joint and correlated uncertainties between all inferred quantities
|
||||
and allows for accurate inferences from galaxy surveys with non-trivial
|
||||
survey geometries. Classes of galaxies with different biases are treated
|
||||
as separate sub samples, allowing even for combined analyses of more
|
||||
than one galaxy survey.
|
||||
|
||||
For further information please consult our publications that are listed
|
||||
`here <https://www.aquila-consortium.org/publications/>`__.
|
||||
|
||||
.. _implementation_the_ares3_code:
|
||||
|
||||
Implementation: the ARES3 code
|
||||
------------------------------
|
||||
|
||||
The ARES3 package comes with a basic flavour within the binary program
|
||||
"ares3". "ares3" is an implementation of the algorithm outlined in the
|
||||
paper "Matrix free Large scale Bayesian inference" (Jasche & Lavaux
|
||||
2014)
|
||||
|
||||
The ARES3 serves as a basis for number of extensions and modules. The
|
||||
minimal extension is the foreground sampler mechanism, that allows to
|
||||
fit some model of foreground contamination in large scale structure
|
||||
data. The second main module is the *HADES* sampler, which
|
||||
incorporates the HMC base definition and implementation alongside some
|
||||
likelihood models. The third module is the :ref:`BORG <introduction_to_borg>` sampler. It
|
||||
is a much more advanced likelihood analysis which incorporates
|
||||
non-linear dynnamics of the Large scale structures.
|
||||
|
||||
.. _ares_model:
|
||||
|
||||
ARES model
|
||||
----------
|
||||
|
||||
The model implemented in ARES is the most simple 'linear' model. The
|
||||
density field is supposed to be a pure Gaussian random field, which
|
||||
linearly biased, selected and with a Gaussian error model. For a single
|
||||
catalog, the forward model corresponds to:
|
||||
|
||||
:math:`N^\mathrm{g}_p = \bar{N} R_p (1 + b \delta_p) + n_p` with
|
||||
:math:`\langle n_p n_{p'} \rangle = R_p \bar{N} \delta^K_{p, p'}`
|
||||
|
||||
:math:`\delta^K` is the Kronecker symbol, :math:`R_p` is the linear
|
||||
response of the survey, i.e. the 3d completeness, :math:`b` the linear
|
||||
bias and :math:`\bar{N}` the mean number of galaxies per grid element.
|
||||
Effectively :math:`\bar{N}` will absorb the details of the normalization
|
||||
of :math:`R_p`.
|
24
docs/source/theory/BORG.rst
Normal file
24
docs/source/theory/BORG.rst
Normal file
|
@ -0,0 +1,24 @@
|
|||
.. _introduction_to_borg:
|
||||
|
||||
Introduction to BORG
|
||||
====================
|
||||
|
||||
The BORG3 (Bayesian Origin Reconstruction from Galaxies) model is a
|
||||
submodule of the ARES3 framework. It shares the same infrastructure ,
|
||||
I/O system and general mechanism. BORG3 relies also on HADES3 package
|
||||
which implements an efficient Hamiltonian Markov Chain sampler of the
|
||||
density field at fixed power spectrum and fixed selection effects.
|
||||
|
||||
More specifically, BORG3 implements the forward and adjoint gradient
|
||||
model for different dynamical model: Lagrangian perturbation theory,
|
||||
Second order Lagrangian perturbation theory, Linearly Evolving Potential
|
||||
and full Particle Mesh. On top of that redshift space distortions are
|
||||
supported by adding a translation to intermediate particle
|
||||
representations.
|
||||
|
||||
On top of that BORG3 provides different likelihood model to relate the
|
||||
matter density field to the galaxy density field: Gaussian white noise,
|
||||
Poisson noise (with non-linear truncated power-law bias model), Negative
|
||||
binomial likelihood.
|
||||
|
||||
Finally BORG3 fully supports MPI with scaling at least up to 1024 cores.
|
Loading…
Add table
Add a link
Reference in a new issue