Free Access
Issue
A&A
Volume 619, November 2018
Article Number A119
Number of page(s) 16
Section Astronomical instrumentation
DOI https://doi.org/10.1051/0004-6361/201832781
Published online 15 November 2018

© ESO 2018

1. Introduction

In most astrophysical data sets arising from photon counting observations, different physical fluxes superimpose each other. Point-like sources, compact objects, diffuse emission, background radiation, and other sky structures imprint on the data. Furthermore multiple instrumental distortions such as an imperfect instrument response and noise complicate the data interpretation. In particular the data of high energy photon and particle telescopes are subject to Poissonian shot noise which turns any smooth emission region into a granular image in the detector plane. In this paper, a novel technique is developed with the ultimate goal to provide reliable estimates of the actual sky photon flux components, diffuse and point-like, which both vary as a function of location and photon energy. This is achieved by a rigorous mathematical and statistical treatment.

Individual photon counts are subject to Poissonian shot noise, whose amplitude depends on the count rate itself. The signal-to-noise ratio (S/N) drops for low count rates, limiting the detection and discrimination of faint sources. The ill-posed inverse problem is complicated also by the fact that telescopes are inexact in the sense that the exposure is inhomogeneous across their field of view. In addition, the instrument response function may be non-linear and only known up to a certain accuracy. Especially point sources are smeared out in the data plane by the instrument’s point spread function (PSF), which might let the point sources appear as extended objects in the data plane.

The observed photon flux is a superposition of multiple morphologically different emission structures that are best decomposed into their original components to better understand their causes. Typical morphologically different emitters in astrophysics can be characterised as diffuse, compact, and point-like sources. On the one hand, diffuse objects illuminate the sky over extended areas and show distinct spatial and spectrally extended structures, for example galaxy clusters. On the other hand, point sources, as main sequence stars, are local features that do not show any spatial structure by definition. They typically have well structured broad-band energy spectra. Compact objects, for example cool core clusters in between the extremes of point-like sources and diffuse emission regions, will not be considered here as a separate morphological class. They should either be regarded as part of the diffuse or the point-like flux. In addition to the detected cosmic sources, the recorded counts might contain events due to background radiation (such as instrumental background, charged particle induced background, scattered solar radiation, cosmic rays and other unwanted signals). If its morphological structure is significantly different from that caused by diffuse and/or point-like sources, one may be able to distinguish it from sky emission. Overall, this leads to the obvious question how to denoise, deconvolve, and decompose the observed data set into its original emission components. The ill-posed inverse problem arises because no unique solution exists to split the observed counts into the three accounted components, i.e. diffuse, point-like source and background radiation fluxes. To tackle this generic inference problem in astrophysics, we introduce D4PO for denoise, deconcolve, and decompose multi-domain photon observations. In this context we aim to reconstruct the outlined flux components not only in the spatial domain, but also simultaneously with respect to other domains like energy or time. This requires that spatial and spectral or temporal information is available for each detected photon or at least most of them. We show how to infer multiple morphologically different photon flux components while each component can depend on multiple domains, such as energy, time and location. As the decomposition of superimposed signals is degenerate, a detector event can in principle be assigned to any of the considered components. Therefore additional information has to be folded into the inference. For this, D4PO relies on a Bayesian approach which allows in a natural way to incorporate a valid data model and a priori knowledge about the source structures to break the degeneracy between the different flux contributions.

First attempts in this direction have been pursued by a maximum likelihood analysis (Valdes 1982), followed by maximum entropy analysis (Cornwell & Evans 1985; Strong 2003) and leastsquare techniques for sparse systems (Bouchet et al. 2013) which were applied to various astrophysical photon count data sets, such as INTEGRAL/SPI (Vedrenne et al. 2003), COMPTEL (Schoenfelder et al. 1993) etc. A popular tool to separate point-like sources from diffuse emission regions is SExtractor (Bertin & Arnouts 1996), which provides a catalogue of point-like sources. However SExtractor is not highly sensitive in the detection of faint and extended sources (Knollmüller et al. 2018), but it was successfully applied in the X-ray regime on filtered images (Valtchanov et al. 2001). To identify point-like sources in ROSAT X-ray photon observations (Voges et al. 1999), which includes background radiation, Boese & Doebereiner (2001) developed an inference technique based on a maximum likelihood estimator for each detected photon, taking into account energy and position. Thereby they assume a parametric Poisson model for the likelihood and can therefore denoise and identify point-like sources in the data set. Within the field of sparse regularisation multiple techniques exploiting an assumed signal sparsity with respect to various functional basis systems or waveforms have been proven to successfully denoise and deconvolve different types of data (González-Nuevo et al. 2006; Willett et al. 2007; Dupe et al. 2009; Bioucas-Dias & Figueiredo 2010; Willett & Nowak 2007; Lahmiri 2017; Osoba & Kosko 2016; Venkatesh Gubbi & Sekhar Seelamantula 2014; Dolui et al. 2014; Figueiredo & Bioucas-Dias 2010).

Disregarding the Poissonian statistics of photon counts, a generic method to denoise, deconvolve and decompose simulated radio data assuming Gaussian noise statistics has been developed (Bobin et al. 2008; Chapman et al. 2013). Further in the regime of Gaussian noise statistics, Giovannelli & Coulais (2005) developed an algorithm to decompose point and extended sources based on the minimisation of least squares residuals. The CLEAN algorithm (Högbom 1974), widely used in radio interferometery, assumes that the whole sky emission is composed of point-like sources, which leads to inferior reconstructions of the diffuse and background emission (Sault & Oosterloo 2007). Extensions of CLEAN to model the sky with Gaussian blobs to account for diffuse emission structures have improved on this (Abrantes et al. 2009; Rau & Cornwell 2011), however it is still unclear how to optimally set the width of these Gaussians. The algorithm PowellSnakes I/II (Carvalho et al. 2009, 2012) was successfully applied on the Planck sky data (Planck Collaboration VII 2011). It is capable of analysing multi-frequency data and to detect point-like sources within diffuse emission regions.

A Bayesian approach close to ours has been developed to separate the background signal from the sky sources in the X-ray part of the electromagnetic spectrum (Guglielmetti et al. 2009; Guglielmetti et al. 2004). This method is based on a two-component mixture model which jointly infers point-like sources and diffuse emissions including their uncertainties.

This work builds on the D3PO algorithm (Selig & Enßlin 2015), which was successfully applied to the Fermi LAT data (Selig et al. 2015). D3PO denoises, deconvolves and decomposes photon counts into two signals, a point-like and a diffuse one, while it simultaneously reconstructs the spatial power spectrum of the latter. This is done through a hierarchical parameter model incorporating prior knowledge.

D4PO advances upon D3PO in several ways. First, the number of components to be inferred is extended to be more than two. Second, the components can live over different domains: a brightness distribution on the sky can be inferred jointly with a background level living only in a temporal domain. Third, and most importantly, the manifolds, i.e. where the different components live on, can be product manifolds from different domains, as a flux can be a function of location, time, and energy.

Following the work of Selig & Enßlin (2015), we derive the algorithm within the framework of information field theory (IFT, Enßlin et al. 2009), which allows in a natural way the incorporation of priors. This prior knowledge is crucial as it is used to discriminate between the morphologically different sources via their individual statistical properties. While D3PO could reconstruct the diffuse component depending purely on its location, we show how to incorporate further information present in the data to get reconstructions that do not only depend on the location of the reconstruction but also on its energy and/or time.

All fluxes, be they diffuse, point-like or background, are modelled individually as signal fields. A field is a continuous quantity defined over a continuous space. A space here is the domain of one or several manifolds or sub-domains. For example the sky emissivity is regarded to be a field living over the product of the two dimensional angular manifold of the celestial sphere times a one-dimensional spectral energy manifold. Diffuse continuum emission is a smooth function of both sky position and photon energy. Within each sub-manifold of a field space we assume statistical homogeneity and isotropy separately for the field. This joint field correlation over the composed space is assumed to be a direct product of the sub-domain correlations. This provides the novel possibility to reconstruct fields which do not only depend on one parameter (in this case, location), but on multiple parameters, such as location and energy.

Figure 1 illustrates such a reconstruction scenario, the denoising, deconvolving, and decomposition of an exemplary data set generated by an emission that consists of diffuse and point-like fluxes, each living over two different sub-domains. Thereby the data set contains information about photon observations including their location and energy. The first sub-domain of both photon flux components is a one-dimensional continuous space representing the spatial domain, while the second sub-domain represents the spectral information of the photons. The exact statistical properties of both components will be discussed in detail in Sect. 2.3, but from Fig. 1 our implicit understanding of diffuse and point-like fluxes, which depend on energy and location, becomes apparent. Here the spatial correlation length of the diffuse flux in the spatial sub-domain is significantly longer compared to that of the point-like sources, which only illuminate the sky at distinct locations. In contrast to this are the correlations in the energy sub domain, where the point-like sources shine over a broader energy range compared to the diffuse emission.

thumbnail Fig. 1.

Showcase for the D4PO algorithm to denoise, deconvolve, and decompose multi-domain photon observations. This is a simplified test scenario, which disregards a potential background flux and has only a unit response function (a perfect PSF). Top panels: (from left to right) data, providing spatial versus spectral information about each detected photon, original multi-domain point-like flux, as well as the multi-domain diffuse fields. Bottom panels: reconstruction of both fields. All fields are living over a regular grid with 350 × 350 pixels.

The numerical implementation of the algorithm is done in NIFTY3 (Steininger et al. 2017; Selig et al. 2013). This allows us to set up the algorithm in a rather abstract way by being independent of a concrete data set, domain discretisation and number of fields. Thanks to the abstractness and the flexibility of NIFTY3, reconstructions such as those shown in Fig. 1 can easily be extended to different domains (i.e. the sphere) and to more source components, i.e. additional backgrounds.

The structure of this work is as follows: in Sect. 2 we give a detailed derivation of the outlined algorithm, with an in-depth discussion of the incorporated models and priors. Section 3 describes different approaches to calculate the derived posterior probability density function (PDF). In Sect. 4 we discuss numerically efficient implementations of the algorithm. Its performance is demonstrated in Sect. 5 by its application to a simulated astrophysical data set, whose results are compared to a Maximum Likelihood approach. Finally we conclude in Sect. 6.

2. Inference from photon observation

2.1. Signal inference

Our goal is to image the high energy sky based on photon count data as it is provided by the astroparticle physics instruments like Fermi (Atwood et al. 2009), Integral (Vedrenne et al. 2003), Comptel (Schoenfelder et al. 1993), CTA (Acharya et al. 2013). The sky emissivity is a function of the sky position and photon energy, that is generated by a number of spectral and morphologically different sources.

Due to experimental constraints and practical limitations (such as limited observation time, energy range, and spatial and spectral resolution), the obtained data set of any photon count experiment cannot capture all degrees of freedom of the underlying photon flux. As a physical photon flux is a continuous scalar field that can vary with respect to various parameters, such as time, location and energy, we let all signals of interest live in a continuous space over some domain Ω. Hence we are facing an underdetermined inference problem as there are infinitely many signal field configurations leading to the same finite data set. Consequently we need to use probabilistic data analysis methods, which do not necessarily provide the physically correct underlying signal field configuration but provide expectations and remaining uncertainties of the signal field.

In this context we are investigating the a posteriori probability distribution P(φ|d), which states how likely a potential signal φ is given the data set d. This is provided by Bayes’ theorem

P ( φ | d ) = P ( d | φ ) P ( φ ) P ( d ) , $$ \begin{aligned} P (\boldsymbol{\varphi } \vert \boldsymbol{d}) = \frac{P(\boldsymbol{d} \vert \boldsymbol{\varphi }) P(\boldsymbol{\varphi })}{P(\boldsymbol{d})}, \end{aligned} $$(1)

which is the quotient of the product of the likelihood PDF P(d|φ) and the signal prior PDF P(φ) divided by the evidence PDF P(d). The likelihood describes how likely it was to observe the measured data set d given a signal field φ. It covers all processes that are relevant for the measurement. The prior describes all a priori knowledge on φ and must therefore not depend on d itself. We estimate the posteriori mean m of the signal field given the data and its uncertainty covariance D, which are defined as

m = φ ( φ | d ) = D φ φ P ( φ | d ) , and $$ \begin{aligned} \boldsymbol{m}&= \langle \boldsymbol{\varphi }\rangle _{(\boldsymbol{\varphi } \vert {d})} = \int \mathcal{D} \boldsymbol{\varphi }\, \boldsymbol{\varphi } P (\boldsymbol{\varphi }\vert \boldsymbol{d})\, , \quad \text{ and} \end{aligned} $$(2) D = ( m φ ) ( m φ ) ( φ | d ) , $$ \begin{aligned} \boldsymbol{D}&= \langle (\boldsymbol{m}-\boldsymbol{\varphi })(\boldsymbol{m}-\boldsymbol{\varphi })^{\dagger }\rangle _{(\boldsymbol{\varphi }\vert \boldsymbol{d})}, \end{aligned} $$(3)

where † denotes adjunction and ⟨ ⋅ ⟩(φ|d) the expectation value with respect to the posterior probability distribution P(φ|d).

In the following sections we will gradually derive the posterior PDF of the physical flux distribution of multiple superimposed photon fluxes given in a data set. This will partly follow and build on the existing D3PO algorithm by Selig & Enßlin (2015).

2.2. Poissonian likelihood

A typical photon count instrument provides us with a data vector d consisting of integer photon counts that are spatially binned into NPIX pixels. The sky emissivity ρ = ρ(x, E), which caused the photon counts, is defined for each continuous sky position x and energy E. Since high energy astrophysical spectra cover orders of magnitude in energy, it is convenient to introduce the logarithmic energy coordinate y = log(E/E0) with some reference energy E0. The flux is a function of the combined coordinates z = (x, y), such that ρ(z)=ρ(x, y) and lives over the associated domain Ω = 𝕊 ⊗ 𝕂, i.e. the product of spatial and spectral domains. 𝕊 = 𝒮2 if the full sky is treated, 𝕊 = ℝ2 if a patch of the sky is described as in the flat sky approximation, or 𝕊 = ℝ as in the mock examples in this paper, and finally 𝕂 = ℝ as logarithmic energies can be positive and negative. The flux ρ is a superposition of two morphologically different signal fields, such as a diffuse and point-like flux. Hence

ρ ( z ) = ρ ( z ) diffuse + ρ ( z ) point-like = ρ 0 ( e s ( z ) + e u ( z ) ) $$ \begin{aligned} \boldsymbol{\rho }\left(z\right)&= \boldsymbol{\rho }\left(z\right)_\text{ diffuse} + \boldsymbol{\rho }\left(z\right)_\text{ point-like}\nonumber \\&= \rho _0 \left(\mathrm{e}^{s(z)} +\mathrm{e}^{u(z)}\right) \end{aligned} $$(4)

where we introduce the dimensionless fields s(z)= : s and u(z)= : u, to represent the logarithmic diffuse and point-like source fluxes over the signal domain Ω. Further we introduce the convention that a scalar function is applied to a field value by values on its natural domain, (f(s))(z) = f(s(z)) if z ∈ Ω. The constant ρ0 is absorbing the physical dimensions of the photon flux.

The imaging device observing the celestial photon flux ρ is expected to measure a number of events λ, informing us about s and u, as well as other event sources like cosmic ray hits or radioactivity, which we will refer to as background. This dependence of λ on the sky emissivity ρ can be modelled via a linear instrument response operator R0 acting on ρ: λ = R 0 ρ + R 0 ρ = R ( e s + e u ) + R e b , $$ \begin{aligned} \boldsymbol{\lambda }&= \boldsymbol{R}_0\boldsymbol{\rho } + \boldsymbol{R}^{\prime }_0 \boldsymbol{\rho }^{\prime } \nonumber \\&= \boldsymbol{R} \left(\mathrm{e}^{\boldsymbol{s}} +\mathrm{e}^{\boldsymbol{u}}\right) + \boldsymbol{R}^{\prime } \mathrm{e}^{\boldsymbol{b}}, \end{aligned} $$(5)

with R = R0ρ0 and R′=R0ρ0. The response operator R0 describes all aspects of the measurement processes which relate the sky brightness to the average photon count. To describe the background counts we further introduce the background event emissivity ρ′=ρ0eb, the background event instrument response R0, as well as the abbreviation R′=R0ρ0. The background field is a function of the two coordinates exposure time t and the log-energy y, such that z′=(t, y) and its domain Ω′=𝕋 ⊗ 𝕂 with 𝕋 ∈ ℝ. In our applications, we assume that the observing time interval and the sky are identified with each other. In real observations, the sky is often scanned multiple times, providing redundancies in the data, which facilitates the separation of sky and background. The background response R′ describes the instruments sensitivity to background processes, such as cosmic ray events which produce uninteresting counts and need to be filtered out. For each pixel in the detector we get

λ i = Ω d z R i ( z ) ( e s ( z ) + e u ( z ) ) + Ω d z R i ( z ) e b ( z ) . $$ \begin{aligned} \lambda _i =&\int _{\Omega } \mathrm{d}z\, R_i(z) \left( \mathrm{e}^{s(z)} + \mathrm{e}^{u(z)}\right) + \int _{\Omega ^{\prime }} \mathrm{d}z^{\prime }\, R^{\prime }_i(z^{\prime })\mathrm{e}^{b(z^{\prime })}. \end{aligned} $$(6)

The individual events are assumed to follow a Poisson distribution ( d i | λ i )= λ i d i e λ i /( d i !) $$ {\cal P}({\boldsymbol{d}_i}|{\boldsymbol{\lambda} _i}) = \boldsymbol{\lambda} _i^{{d_i}}{{\rm{e}}^{ - {\lambda _i}}}/({\boldsymbol{d}_i}!) $$ in each data bin. Hence the likelihood of the data vector d = (d1, …, dNPIX) given an expected number of photons λ is a product of statistically independent Poisson processes, P ( d | λ ) = i P ( d i | λ i ) = i 1 d i ! λ i d i e λ i . $$ \begin{aligned} P(\boldsymbol{d}\vert \boldsymbol{\lambda }) = \prod _i \mathcal{P} (d_i\vert \lambda _i) = \prod _i \frac{1}{d_i!}\lambda _i^{d_i}\mathrm{e}^{-\lambda _i}. \end{aligned} $$(7)

In total, the likelihood of photon count data given two superimposed morphologically different photon fluxes and some background fluxes is consequently described by Eqs. (6) and (7). To simplify and clarify the notations in the following, we introduce the three component vector φ = (s, u, b) consisting of the diffuse, point-like and the background flux. Further we introduce the combined response [BOLD]ℛ = (R, R, R′). This allows us to state the information Hamiltonian, defined as the negative logarithm of P(d|φ), compactly as

H ( d | φ ) = log P ( d | φ ) = H 0 + 1 R e φ d log ( R e φ ) , $$ \begin{aligned} H(\boldsymbol{d}\vert \boldsymbol{\varphi })&= -\log P(\boldsymbol{d} \vert \boldsymbol{\varphi }) \nonumber \\&= H_0 + \boldsymbol{1}^{\dagger } \boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }} - \boldsymbol{d}^{\dagger } \log \left(\boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }} \right), \end{aligned} $$(8)

where we absorbed all terms that are constant in φ into H0 and introduced the scalar product of concatenated vectors

φ φ = s s + u u + b b = Ω d z ( s ( z ) ¯ s ( z ) + u ( z ) ¯ u ( z ) ) + Ω d z b ( z ) ¯ b ( z ) . $$ \begin{aligned} \boldsymbol{\varphi }^{\dagger } \boldsymbol{\varphi ^{\prime }} =&\boldsymbol{s}^{\dagger } \boldsymbol{s^{\prime }} + \boldsymbol{u}^{\dagger }\boldsymbol{u^{\prime }} + \boldsymbol{b}^{\dagger } \boldsymbol{b^{\prime }} \nonumber \\ =&\int _\Omega \mathrm{d}z \left(\overline{s\left(z\right)}s^{\prime }\left(z\right) + \overline{u\left(z\right)}u^{\prime }\left(z\right)\right) + \int _{\Omega ^{\prime }} \mathrm{d}z^{\prime }\, \overline{b\left(z\right)}b^{\prime }\left(z\right). \end{aligned} $$(9)

1 is a constant data vector being one everywhere on the data space.

We note that the likelihood, Eq. (7), can be accountable for n signals in data space, with

λ = i = 1 n R i e s i ( z ) . $$ \begin{aligned} \boldsymbol{\lambda } = \sum _{\mathrm{i} =1}^\mathrm{n} \mathcal{R} _\mathrm{i} \mathrm{e}^{s_\mathrm{i} \left(z\right)}. \end{aligned} $$(10)

This would only extend φ and [BOLD]ℛ while Eq. (8) stays untouched. For this reason, D4PO can reconstruct n such fields, each living over its own space, and all contributing to the expected counts through an individual response function.

2.3. Prior assumptions

As we are seeking to decompose the photon counts into background flux and two sky flux components, prior PDFs are taken into consideration. Prior knowledge is important to incorporate in the modelling process in order to constrain the degeneracy of the inverse problem, since without prior knowledge one can explain the full data set by the diffuse and the point-like signal alone or even purely by a background or any combination thereof. We introduce priors on the fields s, u, and b. Priors are employed to describe and implicitly define the typical expected morphology of the three different components: diffuse, point-like and background fluxes.

2.3.1. The diffuse component

The diffuse photon flux ρ(s) = ρ0es is a strictly positive quantity which might vary over several orders of magnitude. Its morphology may be described by cloud-like and smoothly varying patches on the sky. Hence the diffuse flux shows spatial correlations. Furthermore, we concentrate here on radiation processes due to cosmic ray interactions in the interstellar medium like the inverse Compton scattering and π0 production and decay. These processes show smooth, often power-law like spectra, with considerable correlation in the log-energy dimension. According to the principle of maximum entropy the log-normal model can be regarded as a minimalistic description of our a priori knowledge on ρ(s) (Oppermann et al. 2013; Kinney 2014). The log-normal model has shown to be suitable within various observational (Kitaura et al. 2009; Selig et al. 2015; Pumpe et al. 2018) and theoretical (Coles & Jones 1991; Sheth 1995; Kayo et al. 2001; Vio et al. 2001; Neyrinck et al. 2009; Selig & Enßlin 2015; Pumpe et al. 2016; Junklewitz et al. 2016; Greiner et al. 2016; Knollmüller et al. 2017; Böhm et al. 2017) considerations. Hence, we adopt a multivariate Gaussian distribution as a prior for the logarithmic s: G ( s , S ) = 1 2 π | S | exp ( 1 2 s S 1 s ) $$ \begin{aligned} \mathcal{G} (\boldsymbol{s}, \mathcal{S} ) = \frac{1}{\sqrt{2 \pi \vert \mathcal{S} \vert }} \exp \left( -\frac{1}{2}\boldsymbol{s}^{\dagger } \mathcal{S} ^{-1}\boldsymbol{s}\right) \end{aligned} $$(11)

with a covariance 𝒮 = ⟨ss(s|𝒮). The covariance 𝒮 describes the strength of spatial correlation in the log-energy y = logE/E0 and space domain x of s. As these two correlations need to be modelled individually, we chose the following ansatz

S z z = X ( s ) ( | x x | ) Y ( s ) ( | y y | ) , $$ \begin{aligned} \mathcal{S} _{zz^{\prime }} = \mathcal{X} ^{(s)} (\vert x-x^{\prime }\vert ) \mathcal{Y} ^{(s)}(\vert y- y^{\prime }\vert ), \end{aligned} $$(12)

being a direct product of the two correlation functions, X x, x (s) = X (s) ( |x x | ) $$ {\cal X}_{x,{x^\prime }}^{(s)} = {{\cal X}^{(s)}}\left( {|x - {x^\prime }|} \right) $$ and Y y y (s) = Y (s) (|y y |) $$ {\cal Y}_{y{y^\prime }}^{(s)} = {{\cal Y}^{(s)}}(|y - {y^\prime }|) $$, which only depend on the relative differences in position x and log-energy y. This is equivalent to the assumption that s is statistically homogeneous and isotropic on the celestial sphere and statistically homogeneous in the log-energy space. Statistical homogeneity in log-energy models the fact that typical high energy astrophysics spectra exhibit similar features on a log-log perspective. Thanks to the assumed statistical homogeneity we can find a diagonal representation of 𝒳 and 𝒴 in their harmonic bases, such that

X = l e τ X ( l ) P l , and $$ \begin{aligned} \mathcal{X}&= \sum _{l} \mathrm{e}^{\tau _\mathcal{X} (l)} \mathbb{P} _l, \quad \text{ and}\end{aligned} $$(13) Y = k e τ Y ( k ) P k . $$ \begin{aligned} \mathcal{Y}&= \sum _{k} \mathrm{e}^{\tau _\mathcal{Y} (k)} \mathbb{P} _k . \end{aligned} $$(14)

Here τ𝒳(l) and τ𝒴(k) are spectral parameters determining the logarithmic power spectra in the spatial and spectral domain, respectively, according to the chosen harmonic basis (l, k) for each corresponding harmonic space. ℙ is a projection operator onto spectral bands. We assume a similar level of variance for the fields within each of these bands separately. The projection operator is given by: P k k b k F k F k , $$ \begin{aligned} \mathbb{P} _k \equiv \sum _{k^{\prime }\in b_k} F_{k^{\prime }} F_{k^{\prime }}^{\dagger }, \end{aligned} $$(15)

where Fky = eiky is the Fourier basis (or spherical harmonic basis if the subdomain is 𝒮2) and bk denotes the set of Fourier modes belonging to the corresponding Fourier band k. The inverses of the two covariances are

X 1 = l e τ X ( l ) P l , $$ \begin{aligned} \mathcal{X} ^{-1}&= \sum _{l} \mathrm{e}^{-\tau _\mathcal{X} (l)} \mathbb{P} _l,\end{aligned} $$(16) Y 1 = k e τ Y ( k ) P k . $$ \begin{aligned} \mathcal{Y} ^{-1}&= \sum _{k} \mathrm{e}^{-\tau _\mathcal{Y} (k)} \mathbb{P} _k . \end{aligned} $$(17)

The spectral parameters τ𝒳 and τ𝒴 are in general unknown a priori. These spectral parameters are reconstructed from the same data as the signal, introducing another prior for their covariances.

In the following paragraphs we will introduce two constraints on the spectral parameters τ. These hyperpriors on the prior itself lead to a hierarchical parameter model. To shorten and clarify notations we will only discuss τ𝒳(l) in full detail; the expressions for τ𝒴(k) are analogous.

Moreover, s may not only depend on location and energy but also on further parameters such as time etc. In this case the covariance 𝒮 extends as follows: S z z = i X i ( | x i x i | ) with z = ( x 1 , x 2 , , x n ) z = ( x 1 , x 2 , , x n ) . $$ \begin{aligned}&\mathcal{S} _{zz^{\prime }} = \prod _\mathrm{i} \mathcal{X} _\mathrm{i} \left(\vert x_\mathrm{i} - x_\mathrm{i} ^{\prime } \vert \right) \quad \mathrm{with} \nonumber \\&z = \left(x_1, x_2, \dots , x_n\right)^{\dagger } \nonumber \\&z^{\prime } = \left(x_1^{\prime }, x_2^{\prime }, \dots , x_n^{\prime }\right)^{\dagger } . \end{aligned} $$(18)

Equation (18) leads to multiple spectral parameters that need to be inferred from the data if not known a priori. D4PO is also prepared to handle such cases.

2.3.2. Unknown magnitude of the power spectrum

As the spectral parameters τ𝒳(l) might vary over several orders of magnitude, this demands for a logarithmically uniform prior for each element of the power spectrum and in consequence for a uniform prior Pun for each spectral parameter τ𝒳(l). Following the work of Enßlin & Frommert (2011); Enßlin & Weig (2010) and Selig & Enßlin (2015) we initially assume inverse-Gamma distributions for each individual element, P un ( e τ | α l , q l ) = l q l α l 1 Γ ( α l 1 ) e ( α l τ l + q l e τ l ) $$ \begin{aligned} P_{\text{ un}}(\mathrm{e}^\tau \vert \alpha _l, q_l) = \prod _l \frac{q_l^{\alpha _l-1}}{\Gamma (\alpha _l -1)} \mathrm{e}^{-(\alpha _l \tau _l + q_l \mathrm{e}^{-\tau _l})}\, \end{aligned} $$(19)

and hence, P un ( τ | α l , q l ) = l q l α l 1 Γ ( α l 1 ) × e ( α l τ l + q l e τ l ) | d e τ k d τ l | , $$ \begin{aligned} P_{\text{ un}}\left( \tau \vert \alpha _l,\, q_l\right)&= \prod _l \frac{q_l^{\alpha _l-1}}{\Gamma \left(\alpha _l-1\right)}\nonumber \\&\quad \times \mathrm{e}^{-\left(\alpha _l \tau _l + q_l \mathrm{e}^{-\tau _l}\right)} \left|\frac{\mathrm{d}\mathrm{e}^{\tau _k}}{\mathrm{d} \tau _l} \right|, \end{aligned} $$(20)

where αl and ql denote shape and scale parameters for the spectral hyperpriors, and Γ the Gamma function. The form of Eq. (20) shows that for αl → 1 and ql → 0, ∀l  >  0, the inverse gamma distribution becomes asymptotically flat on a logarithmic scale and therefore for these parameter values do not provide any constraints on the magnitudes of τ.

2.3.3. Smoothness of power spectrum

Up to now we have only treated each element of the power spectrum separately, permitting the power to change strongly as a function of scale l (and k). However, similar spatial (or energetic) scales should exhibit similar amounts of variance for most astrophysical emission processes in the interstellar medium. Thus we assume that the power spectrum is smooth on a logarithmic scale of l and k, respectively. In accordance with Enßlin & Frommert (2011) and Oppermann et al. (2013) this can be enforced by introducing a smoothness enforcing prior Psm P sm ( τ | σ ) exp ( 1 2 σ 2 d ( log l ) ( 2 τ l ( log l ) ) 2 ) exp ( 1 2 τ T τ ) , $$ \begin{aligned} P_{\text{ sm}} (\tau \vert \sigma )&\propto \exp \left(-\frac{1}{2 \sigma ^{2}} \int \mathrm{d} (\log l)\, \left( \frac{\partial ^2 \tau _l}{\partial \left( \log l\right)}\right)^{2}\right) \nonumber \\&\propto \exp \left(-\frac{1}{2} \tau ^{\dagger } \boldsymbol{T} \tau \right), \end{aligned} $$(21)

which is based on the second logarithmic derivative of the spectral parameters τ. The parameter σ specifies the expected roughness of the spectrum. In the limit σ → ∞ spectral roughness is not suppressed in contrast to σ → 0 which enforces a smooth power-law power spectrum. For a more detailed explanation and demonstration of the influence of σ on the reconstruction of τ we refer to Pumpe et al. (2018).

In total the resulting priors for the diffuse flux field are determined by the spectral parameters τ X ( s ) $ {\tau_{{\mathcal{X}}^{(\boldsymbol{s})}}} $ for spatial correlation and τ Y ( s ) $ {\tau_{{\mathcal{Y}}^{(\boldsymbol{s})}}} $ for correlations in the log-energy domain. These spectral parameters are constrained by the product of the priors discussed above

P ( τ i | α i , q i , σ i ) = P sm ( τ i | σ i ) P un ( τ i | α i , q i ) , $$ \begin{aligned} P (\tau _i\vert \alpha _i, q_i, \sigma _i ) =\, P_{\text{ sm}} (\tau _i \vert \sigma _i ) P_\text{ un} (\tau _i \vert \alpha _i, q_i ) , \end{aligned} $$(22)

with i ∈ {𝒳(s), 𝒴(s)}

2.3.4. The point-like component

The photon flux contributions of neighbouring point-like sources in the image space can be assumed to be statistically independent of each other if we ignore knowledge on source clustering. Consequently, statistically independent priors for the photon flux contribution of each point-like source are introduced in the following.

As the point-like flux ρ(u) = ρ0eu is also a strictly positive quantity, we mainly follow the same arguments as for the diffuse flux to derive its prior for correlations within in the log energy domain (Sect. 2.3.1). We adopt for the spectral correlation in the energy domain y of u a multivariate Gaussian distribution 𝒢(u, 𝒴(u)), with 𝒴(u) = ⟨uu(u|d). As we may again assume statistical homogeneity, we can find a diagonal representation of the yet unknown 𝒴(u), such that

Y ( u ) = k e τ Y ( u ) ( k ) P k , $$ \begin{aligned} \mathcal{Y} ^{(u)} = \sum _{k} \mathrm{e}^{\tau _{\mathcal{Y} ^{(\boldsymbol{u})}}(k)} \mathbb{P} _k, \end{aligned} $$(23)

with ℙ being the projection operator according to Eq. (15), τ𝒴(u)(k) being the spectral parameter determining the logarithmic power spectrum of 𝒴(u). Since τ𝒴(u)(k) is usually unknown we introduce again a hierarchical parameter model as in Sects. 2.3.2 and 2.3.3. This gives us

P ( τ Y ( u ) | α Y ( u ) , q Y ( u ) , σ Y ( u ) ) = P sm ( τ Y ( u ) | σ Y ( u ) ) × P un ( τ Y ( u ) ) | α Y ( u ) , q Y ( u ) ) , $$ \begin{aligned} P(\tau _{\mathcal{Y} ^{(\boldsymbol{u})}} \vert \alpha _{\mathcal{Y} ^{(\boldsymbol{u})}}, q_{\mathcal{Y} ^{(\boldsymbol{u})}},\sigma _{\mathcal{Y} ^{(\boldsymbol{u})}}) =&P_{\text{ sm}} (\tau _{\mathcal{Y} ^{(\boldsymbol{u})}} \vert \sigma _{\mathcal{Y} ^{(\boldsymbol{u})}}) \nonumber \\&\times P_\text{ un} (\tau _{\mathcal{Y} ^{(\boldsymbol{u})}}) \vert \alpha _{\mathcal{Y} ^{(\boldsymbol{u})}}, q_{\mathcal{Y} ^{(\boldsymbol{u})}}), \end{aligned} $$(24)

with α Y ( u ) $ \alpha_{\mathcal{Y}^{(\boldsymbol{u})}} $ and q Y ( u ) $ q_{\mathcal{Y}^{(\boldsymbol{u})}} $ being the scale and shape parameters of the inverse gamma distribution and σ Y ( u ) $ \sigma_{\mathcal{Y}^{(\boldsymbol{u})}} $ the parameter to specify the expected roughness of the spectrum.

To derive a suitable prior for the spatial dimension of u, one may look at the following basic considerations. Let us assume that the universe hosts a homogenous distribution of point sources. Therefore the number of point sources would scale with the observable volume, i.e. with distance cubed. But the apparent brightness of a source is reduced by the spreading of the light rays, i.e. decreases with distances squared. Hence one may expect a power law behaviour between the number of point-like sources and their brightness with a slope of β = 3/2. As such a power-law is not necessarily normalisable, since it diverges at zero we further impose an exponential cut-off slightly above 0. This yields an inverse Gamma distribution, which has been shown to be a suitable prior for point-like photon fluxes (Guglielmetti et al. 2009; Carvalho et al. 2009, 2012; Selig & Enßlin 2015; Selig et al. 2015). The spatial prior for u is therefore given by a product of independent inverse-Gamma distributions

P ( u x | β , η ) = x I ( e u x , β , η ) | d e u x d u x | $$ \begin{aligned} P\left(\boldsymbol{u}_{x}\vert \beta , \eta \right)&= \prod _x \mathcal{I} \left(\mathrm{e}^{\boldsymbol{u}_x}, \beta , \eta \right) \left|\frac{\mathrm{d}e^{\boldsymbol{u}_x}}{\mathrm{d} \boldsymbol{u}_x} \right|\end{aligned} $$(25) exp ( ( β 1 ) u x η e u x ) , $$ \begin{aligned}&\propto \exp \left( -\left( \boldsymbol{\beta } -1 \right)^{\dagger } \boldsymbol{u}_x - \boldsymbol{\eta }^{\dagger } \mathrm{e}^{\boldsymbol{-u}_x}\right), \end{aligned} $$(26)

where β = β, ∀x and η = η, ∀x are the shape and scale parameters of the inverse gamma distribution ℐ.

In total the prior for the point-like flux becomes

P ( u ) = P ( u y | τ Y ( u ) ) P ( τ Y ( u ) | α Y ( u ) , q Y ( u ) , σ Y ( u ) ) P ( u x | β , η ) . $$ \begin{aligned} P(\boldsymbol{u}) =&\, P\left(\boldsymbol{u} _y\vert \tau _{\mathcal{Y} ^{(\boldsymbol{u})}}\right) P\left(\tau _{\mathcal{Y} ^{(\boldsymbol{u})}} \vert \alpha _{\mathcal{Y} ^{(\boldsymbol{u})}}, q_{\mathcal{Y} ^{(\boldsymbol{u})}}, \sigma _{\mathcal{Y} ^{(\boldsymbol{u})}}\right) P\left(\boldsymbol{u}_{x}\vert \beta , \eta \right). \end{aligned} $$(27)

2.3.5. Modelling the background

Since the background b is also a strictly positive but unknown field, we assume the prior P(b) to have the same structure as the one for s, except for the fact that it might be defined over different spaces. Hence we may again follow Sect. 2.3.1 to build a hierarchical prior model for P(b).

2.3.6. Parameter model

Figure 2 shows the complete hierarchical Bayesian network introduced in Sect. 2. The goal is to model the data d by our quantities s and u and the background described by b. The three logarithmic power spectra τ ( s ) = ( τ X ( s ) , τ Y ( s ) ) $ \tau^{(\boldsymbol{s})}= (\tau_{\mathcal{X}^{(\boldsymbol{s})}}^{\dagger}, \tau_{\mathcal{Y}^{(\boldsymbol{s})}}^{\dagger})^{\dagger} $, τ Y ( u ) $ \tau_{\mathcal{Y}^{(\boldsymbol{u})}}^{\dagger} $, and τ ( b ) = ( τ X ( b ) , τ Y ( b ) ) , $ \tau^{(\boldsymbol{b})}= (\tau^{\dagger}_{\mathcal{X}^{(\boldsymbol{b})}}, \tau^{\dagger}_{\mathcal{Y}^{(\boldsymbol{b})}})^{\dagger}, $ can be reconstructed from the data. In case additional information sources are available to further constraint these parameters one may certainly use those and adjust the known logarithmic power spectra accordingly. However, in total the suggested algorithm is steered by the parameters α, q, and σ, for which we can partly provide canonical values: αk, i = σk, i = 1 ∀ k = 0, β = 3/2, as well as η, qi ≳ 0 for i ∈ {𝒳(s), 𝒴(s), 𝒴(u), 𝒳(b), 𝒴(b)}.

thumbnail Fig. 2.

Graphical model of the hierarchical Bayesian network introduced in Sect. 2. Shown are the model parameters α, q, σ, η and β, in rectangular boxes, as they have to be specified by the user. The logarithmic spectral parameters τ ( s ) = ( τ X ( s ) , τ Y ( s ) ) , τ Y ( u ) $ \tau^{(\boldsymbol{s})}= (\tau_{{\mathcal{X}}^{(\boldsymbol{s})}}^{\dagger}, \tau_{{\mathcal{Y}}^{(\boldsymbol{s})}}^{\dagger})^{\dagger}, \tau_{{\mathcal{Y}}^{(\boldsymbol{u})}}^{\dagger} $ and τ ( b ) = ( τ X ( b ) , τ Y ( b ) ) , $ \tau^{(\boldsymbol{b})}= (\tau^{\dagger}_{{\mathcal{X}}^{(\boldsymbol{b})}}, \tau^{\dagger}_{{\mathcal{Y}}^{(\boldsymbol{b})}})^{\dagger}, $ the diffuse signal field φ, and the expected number of photons λ, are inferred by the algorithm and shown in black solid circles. The observed photon count data, d, is marked by a dashed circle at the bottom.

3. The inference

The likelihood constructed in Sect. 2 and the prior assumptions for the diffuse, point-like, and background signal field contain together all information available to tackle this inference problem. The resulting posterior PDF is given by

P ( φ , τ | d ) = P ( d | φ , τ ) P ( d ) × i { s , u , b } P ( τ Y ( i ) | α Y ( i ) , q Y ( i ) , σ Y ( i ) ) × i { s , b } P ( τ X ( i ) | α X ( i ) , q X ( i ) , σ X ( i ) ) × P ( φ u x | β , η ) $$ \begin{aligned} P(\boldsymbol{\varphi }, \boldsymbol{\tau } \vert \boldsymbol{d}) =&\, \frac{P(\boldsymbol{d}\vert \boldsymbol{\varphi }, \boldsymbol{\tau })}{P(\boldsymbol{d})} \nonumber \\&\times \prod _{i \in \{\boldsymbol{s}, \boldsymbol{u}, \boldsymbol{b}\}} P\left(\tau _{{\mathcal{Y} }^{(i)}} \vert \alpha _{{\mathcal{Y} }^{(i)}}, q_{{\mathcal{Y} }^{(i)}}, \sigma _{{\mathcal{Y} }^{(i)}}\right) \nonumber \\&\times \prod _{i \in \{\boldsymbol{s}, \boldsymbol{b}\}} P\left(\tau _{{\mathcal{X} }^{(i)}} \vert \alpha _{{\mathcal{X} }^{(i)}}, q_{{\mathcal{X} }^{(i)}}, \sigma _{{\mathcal{X} }^{(i)}}\right) \nonumber \\&\times P\left(\boldsymbol{\varphi }_{\boldsymbol{u}_{x}}\vert \beta , \eta \right) \end{aligned} $$(28)

where we have introduced τ = ( τ X ( s ) , τ Y ( s ) , τ Y ( u ) , τ X ( b ) , τ Y ( b ) ) $ \boldsymbol{\tau} = (\tau_{{{\mathcal{X}}}^{(\boldsymbol{s})}}, \tau_{{{\mathcal{Y}}}^{(\boldsymbol{s})}}, \tau_{{{\mathcal{Y}}}^{(\boldsymbol{u})}}, \tau_{{{\mathcal{X}}}^{(\boldsymbol{b})}}, \tau_{{{\mathcal{Y}}}^{(\boldsymbol{b})}}) $.

In an ideal case with unlimited computational power, we would now calculate the mean and its variances according to Eqs. (2) and (3) for φ, by integrating over all possible combinations of φ and τ. This would also provide us with all spectral parameters τ. But due to the complexity of the posterior probability distribution this is not worth pursuing.

We are relying on numerical approaches. Phase space sampling techniques like Markov chain Monte Carlo methods (Metropolis & Ullam 1949; Wandelt 2004; Jasche & Kitaura 2010; Jasche et al. 2010; Jasche & Wandelt 2013) are hardly applicable to our inference problem due to the extremely large phase space to be sampled over. Consequently we have to find suitable approximations to tackle the problem.

In Sect. 3.1 we introduce a Maximum a posteriori approach to solve the inference problem and in Sect. 3.2 we show how to obtain physical solutions from this approximation.

3.1. Maximum a posteriori

In case the posterior distribution is single peaked and symmetric, its maximum and mean coincide. At least in first order approximation this holds for Eq. (28), which allows us to use the so called maximum a posteriori (MAP) approach. This method can be enforced by introducing either a δ−function at the posterior’s mode, φ ( φ | d ) MAP- δ D φ φ δ ( φ φ mode ) $$ \begin{aligned} \langle \boldsymbol{\varphi }\rangle _{(\boldsymbol{\varphi }\vert \boldsymbol{d})} \overset{\text{ MAP-}\delta }{\approx } \int {\mathcal{D} }\boldsymbol{\varphi } \, \boldsymbol{\varphi }\,\delta (\boldsymbol{\varphi }-\boldsymbol{\varphi }_{\text{ mode}}) \end{aligned} $$(29)

or by using a Laplace approximation, with its uncertainty covariance D, estimated from the curvature around the maximum. A field expectation value is given by

f ( φ ) ( φ | d ) MAP- G D φ f ( φ ) G ( φ φ mode , D ) . $$ \begin{aligned} \langle f\left(\boldsymbol{\varphi }\right)\rangle _{(\boldsymbol{\varphi }\vert \boldsymbol{d})} \overset{\text{ MAP-}\mathcal{G} }{\approx } \int {\mathcal{D} }\boldsymbol{\varphi } \, f\left(\boldsymbol{\varphi }\right)\,\mathcal{G} \left(\boldsymbol{\varphi }-\boldsymbol{\varphi }_{\text{ mode}}, D\right). \end{aligned} $$(30)

In either case we are required to find the mode which is the maximum of the posterior distribution (28). Rather than maximizing the full posterior, it is convenient to minimize the information Hamiltonian, defined by its negative logarithm

H ( φ , τ | d ) = log P ( φ , τ | d ) = H 0 + 1 R e φ d log [ R e φ ] + 1 2 [ log ( det Φ ) + φ Φ 1 φ ] + i I ( α i 1 ) τ i + q i e τ i + 1 2 τ i T i τ i + ( β 1 ) φ u x + η e φ u x $$ \begin{aligned} H(\boldsymbol{\varphi }, \boldsymbol{\tau } \vert \boldsymbol{d}) =&- \log P(\boldsymbol{\varphi }, \boldsymbol{\tau } \vert \boldsymbol{d}) \nonumber \\ =&\, H_0 + \boldsymbol{1}^{\dagger } \boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }} - \boldsymbol{d}^{\dagger } \log \left[\boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }} \right] \nonumber \\&+ \frac{1}{2} \left[ \log (\det \Phi ) + \boldsymbol{\varphi }^{\dagger } \Phi ^{-1} \boldsymbol{\varphi } \right] \nonumber \\&+ \sum _{i \in \mathcal{I} } (\boldsymbol{\alpha }_i -1)^{\dagger } \tau _i + \boldsymbol{q}_i^{\dagger } \mathrm{e}^{-\tau _i} + \frac{1}{2} \tau _i^{\dagger } \boldsymbol{T}_{i} \tau _i \nonumber \\&+ \left(\boldsymbol{\beta } - 1\right)^{\dagger }\boldsymbol{\varphi }_{\boldsymbol{u}_x} + \boldsymbol{\eta }^{\dagger } \mathrm{e}^{-\boldsymbol{\varphi }_{\boldsymbol{u}_x}} \end{aligned} $$(31)

with Φ = diag(𝒮, 𝒰, ℬ)T and ℐ ∈ {𝒳(s), 𝒴(s), 𝒴(u), 𝒳(b), 𝒴(b)}. We have absorbed all terms that are constant in φ and τ into H0. The MAP-ansatz seeks for the minimum of Eq. (31), which is equivalent to maximizing the posterior Eq. (28). This minimum can be found by taking the first partial derivatives of Eq. (31) with respect to all components of φ and τ, respectively and equalling them to zero. The resulting filtering formulas for the diffuse and point-like flux read as

H φ | min = ( 1 d l ) R e φ + Φ ( ) 1 φ = ! 0 H φ u x | min = H φ | min + ( β 1 ) η e φ u x = ! 0 $$ \begin{aligned}&\left.\frac{\partial H}{\partial \boldsymbol{\varphi }} \right|_{\text{ min}} = \left( 1- \frac{\boldsymbol{d}}{\boldsymbol{l}}\right)^{\dagger } \boldsymbol{R}* \mathrm{e}^{\boldsymbol{\varphi }} + \Phi ^{(*)-1}\boldsymbol{\varphi } \overset{!}{=} 0\nonumber \\&\left.\frac{\partial H}{\partial \boldsymbol{\varphi }_{\boldsymbol{u}_x}} \right|_{\text{ min}} = \left.\frac{\partial H}{\partial \boldsymbol{\varphi }} \right|_{\text{ min}} + \left(\boldsymbol{\beta } -1\right) - \boldsymbol{\eta } * \mathrm{e}^{-\boldsymbol{\varphi }_{\boldsymbol{u}_x}}\overset{!}{=} 0 \end{aligned} $$(32)

with

l = R e φ , $$ \begin{aligned}&\boldsymbol{l} = \boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }}, \end{aligned} $$(33) Φ ( ) = diag ( S ( ) , U ( ) , B ( ) ) T $$ \begin{aligned}&\Phi ^{(*)} = \text{ diag} \left({\mathcal{S} }^{(*)}, \mathcal{U} ^{(*)}, \mathcal{B} ^{(*)}\right)^\mathrm{T} \end{aligned} $$(34) S ( ) = k e τ Y ( s ) ( ) ( k ) P k l e τ X ( s ) ( ) ( l ) P l , $$ \begin{aligned}&{\mathcal{S} }^{(*)} = \sum _k \mathrm{e}^{\tau ^{(*)}_{{\mathcal{Y} }^{(\boldsymbol{s})}}(k)} \mathbb{P} _k \sum _l \mathrm{e}^{\tau ^{(*)}_{{\mathcal{X} }^{(\boldsymbol{s})}}(l)} \mathbb{P} _l,\end{aligned} $$(35) U ( ) = k e τ Y ( u ) ( ) ( k ) P k , $$ \begin{aligned}&\mathcal{U} ^{(*)} = \sum _k \mathrm{e}^{\tau ^{(*)}_{{\mathcal{Y} }^{(\boldsymbol{u})}}(k)} \mathbb{P} _k,\end{aligned} $$(36) B ( ) = k e τ Y ( b ) ( ) ( k ) P k k e τ X ( b ) ( ) ( k ) P k . $$ \begin{aligned}&\mathcal{B} ^{(*)} = \sum _k \mathrm{e}^{\tau ^{(*)}_{{\mathcal{Y} }^{(\boldsymbol{b})}}(k)} \mathbb{P} _k \sum _k \mathrm{e}^{\tau ^{(*)}_{{\mathcal{X} }^{(\boldsymbol{b})}}(k)} \mathbb{P} _k. \end{aligned} $$(37)

By and d l $ \frac{\boldsymbol{d}}{\boldsymbol{l}} $ we refer to component wise multiplication and division, respectively. The filtering formulas for the power spectra, which are also derived by taking the first partial derivatives with respect to the components of τ read as

e τ Y ( i ) = q Y ( i ) + 1 2 ( Tr [ i i P X 1 ] ) α Y ( i ) 1 + 1 2 ( Tr [ P P X ] ) k + T Y ( i ) τ Y ( i ) , $$ \begin{aligned} \mathrm{e}^{\tau _{{\mathcal{Y} }^{(\boldsymbol{i})}}}&= \frac{q_{{\mathcal{Y} }^{(\boldsymbol{i})}} + \frac{1}{2} \left( \text{ Tr}\left[\boldsymbol{i}\boldsymbol{i}^{\dagger } \mathbb{P} ^{\dagger }{\mathcal{X} }^{-1}\right]\right)}{\alpha _{{\mathcal{Y} }^{(\boldsymbol{i})}} -1 + \frac{1}{2} \left( \text{ Tr} \left[ \mathbb{P} \mathbb{P} ^{\dagger } {\mathcal{X} }\right]\right)_k + \boldsymbol{T}_{{\mathcal{Y} }^{(i)}}\tau _{{\mathcal{Y} }^{(\boldsymbol{i})}}}, \end{aligned} $$(38)

and

e τ X ( j ) = q X ( j ) + 1 2 ( Tr [ j j P Y 1 ] ) α X ( j ) 1 + 1 2 ( Tr [ P P Y ] ) l + T X ( j ) τ X ( j ) , $$ \begin{aligned} \mathrm{e}^{\tau _{{\mathcal{X} }^{(\boldsymbol{j})}}}&= \frac{q_{{\mathcal{X} }^{(\boldsymbol{j})}} + \frac{1}{2} \left( \text{ Tr}\left[\boldsymbol{j}\boldsymbol{j}^{\dagger } \mathbb{P} ^{\dagger }{\mathcal{Y} }^{-1}\right]\right)}{\alpha _{{\mathcal{X} }^{(\boldsymbol{j})}} -1 + \frac{1}{2} \left( \text{ Tr} \left[ \mathbb{P} \mathbb{P} ^{\dagger } {\mathcal{Y} }\right]\right)_l + \boldsymbol{T}_{{\mathcal{X} }^{(j)}}\tau _{{\mathcal{X} }^{(\boldsymbol{j})}}}, \end{aligned} $$(39)

with i ∈ {s, u, b} and j ∈ {s, b}. These filtering formulas for the spectral parameters τ are in accordance with Enßlin & Frommert (2011) and Oppermann et al. (2013). Unfortunately the Eqs. (32)–(39) lead to eight implicit equations rather than one explicit. Hence these equations need to be solved by an iterative minimization of Eq. (31) using a minimisation algorithm such as steepest descent. The second derivative of the Hamiltonian, i.e. the Hessian around the minimum, may serve as a first order approximation of the uncertainty covariance, 2 H φ φ | min D ( φ ) 1 . $$ \begin{aligned} \left. \frac{\partial ^2 H}{\partial \boldsymbol{\varphi }\partial \boldsymbol{\varphi }^{\dagger }} \right|_{\text{ min}} \approx D^{\left(\boldsymbol{\varphi }\right)-1}. \end{aligned} $$(40)

A detailed derivation and closed form of D(φ) − 1 can be found in Appendix A.

It has been shown (Enßlin & Frommert 2011) that MAP-estimating of a field and its power spectrum simultaneously is suboptimal. The reason is that the joined posterior is far from being symmetric and exhibits long tails in directions correlated in the field and in its spectrum. The resulting scheme can strongly underestimate the field variance in low S/N situations. To overcome this difficulty, a number of approaches have been pursued like renormalization techniques. They lead to improved schemes which are closely related to each other. The most transparent of these approaches is the mean field approximation that involves the construction and minimization of an action, the Gibbs free energy (Enßlin & Weig 2010). A detailed derivation of this approach can be found in Appendix B.

The filtering formulas in a Gibbs free energy approach for φ only change within the exponent, while the one for τ yields

e τ Y ( i ) = q Y ( i ) + 1 2 ( Tr [ ( i i + D ( j ) ) P X 1 ] ) α Y ( i ) 1 + 1 2 ( Tr [ P P X ] ) k + T Y ( i ) t Y ( i ) , $$ \begin{aligned} \mathrm{e}^{\tau _{{{\mathcal{Y} }}^{(\boldsymbol{i})}}}&= \frac{q_{{\mathcal{Y} }^{(\boldsymbol{i})}} + \frac{1}{2} \left( \text{ Tr}\left[\left(\boldsymbol{i}\boldsymbol{i}^{\dagger } + D^{\left(j\right)}\right) \mathbb{P} ^{\dagger }{\mathcal{X} }^{-1}\right]\right)}{\alpha _{{\mathcal{Y} }^{(\boldsymbol{i})}} -1 + \frac{1}{2} \left( \text{ Tr} \left[ \mathbb{P} \mathbb{P} ^{\dagger } {\mathcal{X} }\right]\right)_k + \boldsymbol{T}_{{\mathcal{Y} }^{(i)}}\boldsymbol{t}_{{\mathcal{Y} }^{(\boldsymbol{i})}}}, \end{aligned} $$(41)

and

e τ X ( j ) = q X ( j ) + 1 2 ( Tr [ ( j j + D ( j ) ) P Y 1 ] ) α X ( j ) 1 + 1 2 ( Tr [ P P Y ] ) l + T X ( j ) t X ( j ) , $$ \begin{aligned} \mathrm{e}^{\tau _{{\mathcal{X} }^{(\boldsymbol{j})}}}&= \frac{q_{{\mathcal{X} }^{(\boldsymbol{j})}} + \frac{1}{2} \left( \text{ Tr}\left[\left(\boldsymbol{j}\boldsymbol{j}^{\dagger } + D^{\left(j\right)}\right) \mathbb{P} ^{\dagger }{\mathcal{Y} }^{-1}\right]\right)}{\alpha _{{\mathcal{X} }^{(\boldsymbol{j})}} -1 + \frac{1}{2} \left( \text{ Tr} \left[ \mathbb{P} \mathbb{P} ^{\dagger } {\mathcal{Y} }\right]\right)_l + \boldsymbol{T}_{{\mathcal{X} }^{(j)}}\boldsymbol{t}_{{\mathcal{X} }^{(\boldsymbol{j})}}}, \end{aligned} $$(42)

with i ∈ {s, u, b} and j ∈ {s, b}. These formulas are in close accordance with the critical filtering technique (Oppermann et al. 2013). Equations (41) and (42) give a reconstruction of the spectral parameters of a field which does not necessarily need to be statistically isotropic and homogeneous over its combined domains. The appearing correction term D in the trace term of the numerator of Eqs. (42) and (41) compared to the MAP-solutions Eqs. (38) and (39) is positive definite. Hence it introduces a positive contribution to the logarithmic power spectrum and therefore lowers a potential perception threshold (Enßlin & Frommert 2011).

3.2. The physical solution

All previously described methods only recover logarithmic fluxes, but the actual quantities of interest are the physical fluxes ρ. These physical fluxes can be calculated employing the following approximation: ρ MAP δ ρ δ = ρ 0 e m mode $$ \begin{aligned} \left\langle \boldsymbol{\rho }\right\rangle \overset{\text{ MAP}-\delta }{\approx }&\left\langle \boldsymbol{\rho }\right\rangle _\delta = \rho _0 \mathrm{e}^{m_{\text{ mode}}} \end{aligned} $$(43) MAP-G ρ G = ρ 0 e m mode + 1 2 D mode . $$ \begin{aligned} \overset{\text{ MAP-G}}{\approx }&\left\langle \boldsymbol{\rho }\right\rangle _\mathcal{G} = \rho _0 \mathrm{e}^{m_{\text{ mode}}+ \frac{1}{2}D_{\text{ mode}}}. \end{aligned} $$(44)

The uncertainty of the reconstructed fields may be approximated by

σ G 2 = ρ 2 G ρ G 2 MAP-G ρ G 2 ( e D 1 ) , $$ \begin{aligned} \sigma _{\mathcal{G} }^2 = \left\langle \boldsymbol{\rho }^2\right\rangle _{\mathcal{G} }-\Big \langle \boldsymbol{\rho }\Big \rangle ^2_{\mathcal{G} } \overset{\text{ MAP-G}}{\approx }&\Big \langle \boldsymbol{\rho }\Big \rangle _{\mathcal{G} }^2 \left( \mathrm{e}^D -1\right), \end{aligned} $$(45)

with its square root being the relative uncertainty.

The full Gibbs approach described in Sect. B.1 would require to know D(φ) at all times during the minimisation of Eq. (B.9), and is numerically not feasible. We only consider the MAP-𝒢 approach here to infer the signal fields. D3PO has shown that such an approach does produce accurate signal field reconstructions. For the reconstruction of the spectral parameters τ, we use the full Gibbs approach as given by Eqs. (41) and (42), as these take higher order correction terms into account.

It must be noted that the mode approximation only holds for strictly convex problems and can perform poorly if this property does not hold. The precise form of the posterior is neither analytically nor numerically fully accessible due to the potentially extremely large phase space of the degrees of freedom. However in first order approximation, the posterior Hamiltonian may be assumed to be convex close to its minimum.

4. The inference algorithm

To denoise, deconvolve, and decompose photon observations, while simultaneously learning the statistical properties of the fields, i.e. their power spectra, is a highly relevant but non-trivial task.

The derived information Hamiltonian Eq. (31) and Gibbs free energy Eq. (B.9) are scalar quantities defined over a potentially huge phase space of φ and τ. Even within an ideal measurement scenario the inference has to estimate three numbers plus the spectral parameters for each location and energy of the field from just one data value. Hence the inference can become highly degenerate if the data or priors do not sufficiently constrain the reconstruction. Such a scenario would likely lead to multiple local minima in a non-convex manifold of the landscape of the information Hamiltonian and Gibbs free energy, respectively. In total the complexity of the inference has its main roots at the non-linear coupling between the individual fields and spectral parameters to be inferred.

After numerous numerical tests we can propose an iterative optimisation scheme, which divides the global minimisation into multiple, more easily solvable subsets. By now, the following guide has given the best results:

  1. Initialise the algorithm with naive starting values, i.e. φ = 0 and e τ k k 4 $ \mathrm{e}^{\boldsymbol{\tau}_{k}} \propto k^{-4} $. If more profound knowledge is at hand you may certainly use this to construct a suitable initial field prior in order to speed up the inference and to overcome the outlined issues about the non-convexity of the minimisation.

  2. Optimise the diffuse signal field, by minimising the information Hamiltonian Eq. (31) or the Gibbs free energy Eq. (B.9), respectively, by a method of your choice. As the gradients are always analytically accessible, we recommend using methods which make use of this, such as steepest descent.

  3. Optimise the point-like and background signal field, accordingly to the diffuse signal field in the step before.

  4. Update both spectral parameters of the diffuse flux field by again minimising Eqs. (31) and (B.9), respectively, with respect to τ X ( s ) $ \tau_{{\mathcal{X}}}^{\left(s\right)} $ and τ Y ( s ) $ \tau_{{\mathcal{Y}}}^{\left(s\right)} $. This optimisation step may be executed via a quasi Newton method.

  5. Optimise the diffuse flux field, analogous to step two.

  6. Optimise the spectral parameters and maps of the point-like and background signal field according to step four and five, analog to the diffuse signal field.

  7. Iterate between the steps four to six, until you have reached a global optimum. This may take a couple cycles. In order to get rough estimates of the signal in early cycles it is not necessary to let each minimisation run until it has reached its global desired convergence criteria. These may be retightened gradually as one gets closer to the global minimum.

  8. At the reached minimum, calculate D(φ) in order to obtain the physical fluxes Eq. (44).

It must be noted that the outlined iterative minimisation scheme has proven in multiple numerical tests to lead to the global minimum. However due to the extremely large phase space it is almost impossible to judge whether the algorithm has truly converged to the global optimum in case one works with real astrophysical data sets. Nevertheless this should not matter too much, in case the local minimum and the global optimum are close to each other and therefore do not differ substantially.

5. An inference example

5.1. Performance of D4

In order to demonstrate the performance of the inference algorithm we apply the D4P0 algorithm to a realistic but simulated astrophysical data set. In this mock example the algorithm is required to reconstruct the diffuse, the point-like, and the background fluxes. Additionally we request to infer all statistical properties of the diffuse flux, i.e. τ X ( s ) $ \tau_{{\mathcal{X}}}^{\left(s\right)} $ and τ Y ( s ) $ \tau_{{\mathcal{Y}}}^{\left(s\right)} $, and τ Y ( u ) $ \tau_{{\mathcal{Y}}}^{\left(u\right)} $ of the point flux. The statistical properties of the background radiation are assumed to be known, otherwise the inference problem would be completely degenerate as no prior information would separate the background from the diffuse flux. The mock data set originates from a hypothetical observation with a field of view of 350 × 350 pixels and a resolution of 0.005 × 0.01 [a.u.]. All signal fields were drawn from Gaussian random fields with different correlation structures. The functional form of all correlation structures is

e τ ( k ) = θ 2 κ ( 1 + ( 2 π k κ 4 ) 2 ) 2 , $$ \begin{aligned} \mathrm{e}^{\boldsymbol{\tau }\left(k\right)} =&\frac{\theta ^2 \kappa }{\left(1+ \left(\frac{2 \pi k \kappa }{4}\right)^2\right)^2}, \end{aligned} $$(46)

but the correlation length κ and the variance θ differ for each field and their sub-domains. The chosen parameters are given by Table 1.

Table 1.

Parameters to define correlation structure of s, u, and b.

The assumed instrument’s response incorporates a convolution with a Gaussian-like PSF with a FWHM of two times the pixelation size in each direction and an inhomogeneous exposure. The logarithmic exposure, the logarithmic PSF, the logarithmic photon counts, as well as the raw photon counts are shown in the top panel of Fig. 3. The obtained data set provides spatial and spectral information about each observed photon.

thumbnail Fig. 3.

Demonstration of the capabilities of D4PO based on a simulated but realistic data set gathered from a potential astrophysical high energy telescope. The spatial dimension is orientated vertically and the spectral/energy dimension horizontally. Point-like sources appear therefore as the horizontal lines. All fields are living over a regular grid of 350 × 350 pixels. Top panel: the assumed instrument’s exposure map, its Gaussian convolution kernel and the obtained data set, once on logarithmic scale and once the raw photon counts. For each photon count we obtain spectral and spatial information. The panels below display the diffuse, point-like, and background flux. For all signal fields we show the ground truth on the left hand side ( s min = 3.80 max = 3.58 , u min = 7.80 max = 2.73 , b min = 5.22 max = 4.91 $ \boldsymbol{s}_{\text{ min}=-3.80}^{\text{ max}=3.58}, \boldsymbol{u}_{\text{ min}=-7.80}^{\text{ max}=2.73}, \boldsymbol{b}_{\text{ min}=-5.22}^{\text{ max}=4.91} $), followed by its reconstruction ( s rec min = . 93 max = 3.61 , u rec min = 2.21 max = 3.67 , b rec min = 1.24 max = 4.875 $ {\boldsymbol{s}_\text{ rec}}_{\text{ min}=-.93}^{\text{ max}=3.61}, {\boldsymbol{u}_\text{ rec}}_{\text{ min}=-2.21}^{\text{ max}=3.67}, {\boldsymbol{b}_\text{ rec}}_{\text{ min}=-1.24}^{\text{ max}=4.875} $), the error ( s error min = 1.06 max = 1.46 , u error min = 1.36 max = 3.64 , b error min = 1.37 max = 3.70 $ {\boldsymbol{s}_\text{ error}}_{\text{ min}=-1.06}^{\text{ max}=1.46}, {\boldsymbol{u}_\text{ error}}_{\text{ min}=-1.36}^{\text{ max}=3.64}, {\boldsymbol{b}_\text{ error}}_{\text{ min}=-1.37}^{\text{ max}=3.70} $) and the logarithmic uncertainty of the reconstruction ( s unc min = 1.43 max = 3.11 , u unc min = 2.72 max = 4.93 , b unc min = 1.74 max = 4.38 $ {\boldsymbol{s}_\text{ unc}}_{\text{ min}=-1.43}^{\text{ max}=3.11}, {\boldsymbol{u}_\text{ unc}}_{\text{ min}=-2.72}^{\text{ max}=4.93}, {\boldsymbol{b}_\text{ unc}}_{\text{ min}=-1.74}^{\text{ max}=4.38} $). For illustration purposes all fluxes are on logarithmic scale and clipped between −0.6 and 3.1, except the “Raw photon counts” ( d min = 0 max = 175 $ \boldsymbol{d}_{\text{ min}=0}^{\text{ max}=175} $) which are shown on their native scale.

Further rows of Fig. 3 show all signal fields in terms of logarithmic fluxes, i.e. s, u, and b, all depending on location on the vertical axis and energy on the horizontal axis. For each field we show the ground truth, i.e. the drawn Gaussian random field, its reconstruction, the error (or residual) between reconstruction and truth flux, i.e. |ρrecρtruth|, as well as the uncertainty σ𝒢 of the reconstruction provided by D4PO, according to Eq. (45). For the reconstruction we used the following parameter setup, α i = 1 , q i = 10 12 , σ i = 1 , i { X ( s ) , Y ( s ) , Y ( u ) } , β = 3 2 $ \alpha_{\mathrm{i}} = 1, q_{\mathrm{i}}=10^{-12}, \sigma_{\mathrm{i}}=1, \, \mathrm{i} \in \{ {\mathcal{X}}^{(\boldsymbol{s})}, {\mathcal{Y}}^{(\boldsymbol{s})}, {\mathcal{Y}}^{\boldsymbol{(u)}}\},\, \beta=\frac{3}{2} $, and η = 10−4 in a MAP-𝒢 approach as this has proven to give the best results within a reasonable amount of computing time (Selig & Enßlin 2015).

Looking more closely at the diffuse flux field, the original and its reconstruction are in good agreement. The strongest deviation may be found in regions with low amplitudes, which is not surprising as we are using an exponential ansatz to enforce positivity for all our fields. Hence small errors in s → (1±ϵ)s factorise in the physical photon flux field, ρ(s) → ese±ϵ, that scales exponentially with the amplitude of the diffuse flux field. Further, in almost all regions the absolute error shows that the reconstruction is in very good agreement with the original one. Only in areas with a relatively weak point flux and a rather strong diffuse flux the decomposition seems to run into a fundamental problem, as the priors and the likelihood can no longer break the degeneracies between the different sources.

From Fig. 4 it becomes apparent that the reconstructed power spectra of s track all large scale modes in good agreement up to ν ≲ 20. At higher harmonic modes the reconstructed power spectra start to deviate from the reference and fall more steeply. The drop off point at ν ≈ 20 roughly corresponds to the support of the PSF of the instrument’s response. As the power spectrum still shows a smooth shape at ν ≳ 20, the action of the smoothness enforcing prior starts to set in. Would σ be significantly smaller than the used one, the spectra would start to scatter wildly, which we do not expect in astrophysical spectra. Hence the smoothness enforcing prior allows some kind of superresolution up to a certain threshold.

thumbnail Fig. 4.

Reconstructed power spectrum of s in its spatial (panel a) and spectral sub-domain (panel b) and u in its spectral domain (panel c). The dashed black line indicates the default spectrum from which the Gaussian random fields, shown in Fig. 3, were drawn, while the solid black lines show its reconstruction. In case of τ Y ( u ) $ \boldsymbol{\tau}_{{\mathcal{Y}}^{\left(\boldsymbol{u}\right)}} $, both lines are in such close agreement that they are visually indistinguishable.

Having a closer look at the logarithmic point-like flux field (Fig. 3), we observe a similar situation as for diffuse flux field. This is supported by the reconstructed power spectrum, τ Y ( u ) $ \boldsymbol{\tau}_{{\mathcal{Y}}^{\left(\boldsymbol{u}\right)}} $ and its original one which match perfectly (Fig. 4c). Up to where the reconstruction is mainly driven by the data may not read of as the algorithm recovered all modes correctly. This is of course due to an appropriate setup of the smoothness enforcing prior.

Nevertheless it must be noted that σ (see Sect. 2.3.3) has to be set accurately as it can have significant influence on the reconstructed power spectrum. For a detailed discussion about its influence we refer to Pumpe et al. (2018).

The results for the spatial reconstruction performance of the point-like sources are plotted in Fig. 5. For all energies we show individually the match between original and reconstructed flux at all locations. As a point-like source illuminates the sky over a broad range of energies at a fixed location these serpentine pattern appear in Fig. 5. In total the reconstructed point-like flux is in good agreement within the 2σ confidence interval. This confidence interval corresponds to a diffuse and background free data set, it only illustrates the expected photon shot noise of point sources. The higher flux point-like sources tend to be reconstructed more accurately as a better S/N allows a sharper decomposition of the different sources. In the same way, the accuracy of the reconstruction for sources with low count rates becomes worse as the S/N becomes severe. The calculated absolute error supports these findings.

thumbnail Fig. 5.

Reconstructed versus original physical point-like flux in its spatial and spectral domain for all energies. The grey contour indicates the 2σ confidence interval of the Poissonian shot noise.

Figure 6 illustrates the quality of the spatial and spectral reconstruction of the diffuse flux. For all energies and locations we compare the reconstructed flux with its original one. The confidence interval corresponds, similar as in Fig. 5, to a point-like and background free data set. Therefore it only shows the expected photon shot noise of diffuse flux and is consequently only a lower bound on the uncertainty. As already mentioned before, the reconstructed spectra (Fig. 4) of the diffuse flux in both dimensions are not falling as steeply as the original one and therefore the reconstructed diffuse flux picks up small scale features from the background flux. Consequently the reconstructed flux is overestimated at low flux levels. This behaviour can also be observed in Fig. 3 by looking at the error of the reconstructed diffuse flux, which tends to be larger in regions where the original diffuse flux was low. This indicates that small-scale features from the background radiation are misinterpreted as diffuse flux. This is an expected behaviour as the decomposition is primarily based on the correlation structure of each component. On the one hand, if these components show correlations on similar scale the decomposition becomes more and more degenerate. On the other hand, it becomes more a one-to-one correspondence if the scales of the correlations differ more significantly. It would be beneficial if they live over completely different domains as it actually is the case in many real world measurement situations. In total the results of the performed inference, demonstrated in Fig. 3 display exactly this behaviour. The decomposition performs well on scales where the correlations of the components are different to each other in contrast to those where they are more similar. As the correlation length of the background flux is similar to the support of the assumed PSF of the instrument’s response, not all of its small features could be reconstructed even though its statistical properties, i.e. the power spectrum, were provided and not inferred from the data. Hence the reconstruction is smeared out as one would expect. Therefore the calculated absolute error is more finely grained and its absolute magnitude is smaller compared to the reconstruction.

thumbnail Fig. 6.

Reconstructed versus original physical diffuse flux in its spatial and spectral domain for all energies. The grey contour indicates the 2σ confidence interval of the Poissonian shot noise.

In order to get a quantitative statement about the quality of the reconstructed fields we define a relative error ϵ for each component

ϵ ( i ) = | ρ ( i ) ρ ( i ) | / | ρ ( i ) | , $$ \begin{aligned} \epsilon ^{\left( \mathrm{i} \right)} = \left|\boldsymbol{\rho } ^{\left( \mathrm{i} \right)}-\langle \boldsymbol{\rho }\rangle ^{\left( \mathrm{i} \right)}\right|/ \left|\boldsymbol{\rho }^{\left( \mathrm{i} \right)}\right|, \end{aligned} $$(47)

with i ∈ {s, u, b}. The errors are ϵ(s) ≈ 2.910%,ϵ(u) ≈ 9.470%, and ϵ(b) ≈ 8.542%. For a detailed discussion on how such measures can change the view on Bayesian inference algorithms we refer to Burger & Lucka (2014).

The calculated uncertainty estimates of the reconstructions, s, u, and b are as one would expect them to be, given the Poissonian shot noise and the Gaussian convolution of the response operator. The absolute magnitudes of the uncertainties are in all cases smaller than the amplitude of the reconstruction itself. Figure 7 shows that uncertainty estimates are useful, however one has to keep in mind that approximation to the non-Gaussian posterior were done. Consequently for heavy tails of the posterior PDF the approximated uncertainty do not account for.

thumbnail Fig. 7.

Differences between |ρerrorρuncertainty| on their native scale, by devision through the uncertainty estimates. The image-mean of the normalised errors is ≈0.6 for the diffuse flux, ≈0.85 for the point-like flux, and ≈1.5 for the background flux. Hence they show, that some uncertainties are overestimated and others underestimated, respectively.

The inference algorithm is steered by the model parameters, shown in rectangular boxes in Fig. 2. In this mock data demonstration run we set them all to physically motivated values. Changing these, especially σ of the smoothness enforcing prior and β, the shape parameter of the spatial prior for the point-like flux can have a significant influence on the reconstruction. A detailed parameter study of α, q, β, and η can be found in Selig & Enßlin (2015).

It may be summarised that the advancements of D4PO to denoise, deconvolve, and decompose multidimensional photon observations into multiple morphologically different sources, such as diffuse, point-like and background sources, while simultaneously learning their statistical properties in each of the field domains independently, have shown to give reliable estimates about the physical fluxes for data of sufficient quality.

5.2. Comparison to maximum likelihood methods

The maximum likelihood (ML) method is a well known technique to reconstruct fluxes in astrophysics (Guillaume et al. 1998; Han & Carlin 2001; Boese & Doebereiner 2001; Willsky & Jones 1976). ML tries to purely maximise the likelihood (Sect. 2.2) and disregards any prior assumptions. Therefore minimising Eq. (8) is equal to maximising the likelihood and can only yield an estimate of the total photon flux of all components φ. In Fig. 8 exactly such a ML-reconstruction is shown and compared to a D4PO reconstruction. To examine the differences between the two methods, we show the total sum of all components

m truth = log ( e s + e u + e b ) , $$ \begin{aligned} \boldsymbol{m}_\mathrm{truth} = \log \left(\mathrm{e}^{\boldsymbol{s}} +\mathrm{e}^{\boldsymbol{u}} + \mathrm{e}^{\boldsymbol{b}}\right), \end{aligned} $$(48)

thumbnail Fig. 8.

Differences between the introduced D4PO reconstruction technique and a regular ML reconstruction. Top left panel: sum of all ground truth components (diffuse, point-like, and background flux fields), mML from Fig. 3. Top middle panel: sum of the reconstructed flux components by D4PO, mΣD4PO (sum of reconstructions from Fig. 3), top right panel: regular maximum likelihood reconstruction: mML, using the same data set as in Fig. 3. Below are shown the absolute differences between the sum of all D4PO reconstructions and the ground truth, |mtruth − mΣ D4PO| shown. The same applies for the maximum likelihood reconstruction, |mtruth − mML| at the bottom right.

all reconstructed fluxes by D4PO

m Σ D 4 P O = log ( e s rec + e u rec + e b rec ) , $$ \begin{aligned} \boldsymbol{m}_\mathrm \Sigma \, D^4PO = \log \left(\mathrm{e}^{\boldsymbol{s}_\mathrm{rec} } +\mathrm{e}^{\boldsymbol{u}_\mathrm{rec} } + \mathrm{e}^{\boldsymbol{b}_\mathrm{rec} }\right), \end{aligned} $$(49)

(compare Fig. 3) and the reconstructed total flux by ML

m ML = log ( e φ ) . $$ \begin{aligned} \boldsymbol{m}_{\mathrm{ML} } = \log (\mathrm{e}^{\boldsymbol{\varphi }}). \end{aligned} $$(50)

From this comparison it becomes apparent that prior assumptions about the different photon flux components are not only essential to decompose a data set into morphologically different sources, but also for the quality of the reconstruction of the total flux. These break the degeneracy between different photon source components, especially when reconstructing and estimating more than one component. Further, Fig. 8 shows that the reconstructed correlation structures of Fig. 4 help to recover more detailed features present in the original flux components (s, u, b), than not using this information in a ML approach. Applying the same quantitative measure as in Eq. (47), the relative error of mΣ D4PO compared to mtruth is ϵΣD4PO ≈ 13.72%, while the relative error of mML is ϵML ≈ 8896%.

6. Conclusion

We derived the D4PO algorithm, to denoise, deconvolve and decompose multi-domain photon observations, into multiple morphologically different components. In this context we focused on the decomposition of astrophysical high energy photon count data into three different types of sources, diffuse, point-like and background radiation. Each of these components lives over a continuous space over multiple domains, such as energy and location. In addition to the simultaneous reconstruction of all components the algorithm can infer the correlation structure of each field over each of its sub-domains. Thereby D4PO takes accurate care of the instruments response function and the induced photon shot noise. Finally the algorithm can provide a posteriori uncertainty estimates of the reconstructed fields.

The introduced algorithm is based on D3PO (Selig & Enßlin 2015), which was successfully applied to the Fermi LAT data (Selig et al. 2015) and giant magnetar flare observations (Pumpe et al. 2018). D4PO provides an advancement towards multidimensional fields analysis with multiple components. The D4PO algorithm is based on the derived hierarchical Bayesian parameter model within the framework of IFT (Enßlin et al. 2009). The model incorporates multiple a priori assumptions for the signal fields of interest. These assumptions account for the known statistical properties of the fields in order to decompose the data set into their different sources. As some of these statistical identities are often not known a priori, the algorithm can learn them from the data set itself. Thereby we assume that each field follows a log-normal distribution over each of its sub-domains, except for the spatial correlations of point-sources. The correlations over these sub-domains may then be encoded via a power spectrum, implicitly assuming statistical homogeneity and isotropy over each sub-domain. As the point-like flux is implicitly defined to be statistically independent in its spatial sub-domain, we motivated an independent Inverse-Gamma prior, which implies a power law behaviour of the amplitudes of the flux.

To denoise and deconvolve astrophysical counts we took detailed care of an adequate likelihood modelling. The derived likelihood is a Poisson distribution to denoise the photon shot noise and incorporates all instruments artefacts, which are imprinted in the data set.

In total the hierarchical Bayesian parameter model is steered by only five parameters, for which we can provide well motivated a priori values. None of these parameters drives the inference dominantly as they may all be set to values where they provide minimal additional information to the inference problem.

In a simulated high energy photon count data set we demonstrated the performance of D4PO. The algorithm successfully denoised, deconvolved, and decomposed the raw photon counts into diffuse, point-like and background radiation. Simultaneously it recovered the power spectrum of the diffuse flux in its spatial and spectral sub-domain. The correlation structure in the spectral sub-domain of the point-like flux was also inferred from the data. In total the analysis yielded detailed reconstructions and uncertainty estimates which are in good agreement with the simulated input.

The introduced algorithm is applicable to a wide range of inference problems. Its main advancement to reconstruct fields over multiple manifolds, each with different statistical identities, should find use in various data inference problems. Besides the most obvious applications in high energy astrophysics, such as Fermi, XMM-Newton, Chandra, Comptel, etc. to reconstruct the diffuse and point-like flux dependent on energy and location on the sphere, one may also infer energy dependent light curves of gamma ray bursts. Hence D4PO has a broad range of applications.

Acknowledgments

We would like to thank Jakob Knollmüller, Reimar Leike, Sebastian Hutschenreuter, Philipp Arras and an anonymous referee for their beneficial discussions during this project.

References

  1. Abrantes, F., Lopes, C., Rodrigues, T., et al. 2009, Geochem. Geophys. Geosyst., 10, Q09U07 [Google Scholar]
  2. Acharya, B. S., Actis, M., Aghajani, T., et al. 2013, Astropart. Phys., 43, 3 [Google Scholar]
  3. Atwood, W. B., Abdo, A. A., Ackermann, M., et al. 2009, ApJ, 697, 1071 [NASA ADS] [CrossRef] [Google Scholar]
  4. Bertin, E., & Arnouts, S. 1996, A&AS, 117, 393 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  5. Bioucas-Dias, J. M., & Figueiredo, M. A. T. 2010, IEEE Trans. Image Process., 19, 1720 [NASA ADS] [CrossRef] [Google Scholar]
  6. Bobin, J., Moudden, Y., Starck, J.-L., Fadili, J., & Aghanim, N. 2008, Stat. Methodol., 5, 307 [NASA ADS] [CrossRef] [Google Scholar]
  7. Boese, F. G., & Doebereiner, S. 2001, A&A, 370, 649 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Böhm, V., Hilbert, S., Greiner, M., & Enßlin, T. A. 2017, Phys. Rev. D, 96, 123510 [NASA ADS] [CrossRef] [Google Scholar]
  9. Bouchet, L., Amestoy, P., Buttari, A., Rouet, F.-H., & Chauvin, M. 2013, Astron. Comput., 1, 59 [NASA ADS] [CrossRef] [Google Scholar]
  10. Burger, M., & Lucka, F. 2014, Inverse Prob., 30, 114004 [NASA ADS] [CrossRef] [Google Scholar]
  11. Carvalho, P., Rocha, G., & Hobson, M. P. 2009, MNRAS, 393, 681 [NASA ADS] [CrossRef] [Google Scholar]
  12. Carvalho, P., Rocha, G., Hobson, M. P., & Lasenby, A. 2012, MNRAS, 427, 1384 [NASA ADS] [CrossRef] [Google Scholar]
  13. Chapman, E., Abdalla, F. B., Bobin, J., et al. 2013, MNRAS, 429, 165 [NASA ADS] [CrossRef] [Google Scholar]
  14. Coles, P., & Jones, B. 1991, MNRAS, 248, 1 [NASA ADS] [CrossRef] [Google Scholar]
  15. Cornwell, T. J., & Evans, K. F. 1985, A&A, 143, 77 [NASA ADS] [Google Scholar]
  16. Dolui, S., Salgado Patarroyo, I. C., & Michailovich, O. V. 2014, Proc. SPIE, 9019, 90190B [Google Scholar]
  17. Dupe, F.-X., Fadili, J. M., & Starck, J.-L. 2009, IEEE Trans. Image Process., 18, 310 [NASA ADS] [CrossRef] [Google Scholar]
  18. Enßlin, T. A., & Frommert, M. 2011, Phys. Rev. D, 83, 105014 [NASA ADS] [CrossRef] [Google Scholar]
  19. Enßlin, T. A., & Weig, C. 2010, Phys. Rev. E, 82, 051112 [NASA ADS] [CrossRef] [Google Scholar]
  20. Enßlin, T. A., Frommert, M., & Kitaura, F. S. 2009, Phys. Rev. D, 80, 105005 [NASA ADS] [CrossRef] [Google Scholar]
  21. Figueiredo, M. A. T., & Bioucas-Dias, J. M. 2010, IEEE Trans. Image Process., 19, 3133 [NASA ADS] [CrossRef] [Google Scholar]
  22. Giovannelli, J.-F., & Coulais, A. 2005, A&A, 439, 401 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  23. González-Nuevo, J., Argüeso, F., López-Caniego, M., et al. 2006, MNRAS, 369, 1603 [NASA ADS] [CrossRef] [Google Scholar]
  24. Greiner, M., Vacca, V., Junklewitz, H., & Enßlin, T. A. 2016, ArXiv e-prints [arXiv:1605.04317] [Google Scholar]
  25. Guglielmetti, F., Voges, W., Fischer, R., Boese, G., & Dose, V. 2004, in Astronomical Data Analysis Software and Systems (ADASS) XIII, eds. F. Ochsenbein, M. G. Allen, & D. Egret, ASP Conf. Ser., 314, 253 [NASA ADS] [Google Scholar]
  26. Guglielmetti, F., Fischer, R., & Dose, V. 2009, MNRAS, 396, 165 [NASA ADS] [CrossRef] [Google Scholar]
  27. Guillaume, M., Melon, P., Réfrégier, P., & Llebaria, A. 1998, J. Opt. Soc. Am. A, 15, 2841 [NASA ADS] [CrossRef] [Google Scholar]
  28. Han, C., & Carlin, B. P. 2001, J. Am. Stat. Assoc., 96, 1122 [CrossRef] [Google Scholar]
  29. Högbom, J. A. 1974, A&AS, 15, 417 [Google Scholar]
  30. Jasche, J., & Kitaura, F. S. 2010, MNRAS, 407, 29 [NASA ADS] [CrossRef] [Google Scholar]
  31. Jasche, J., & Wandelt, B. D. 2013, ApJ, 779, 15 [NASA ADS] [CrossRef] [Google Scholar]
  32. Jasche, J., Kitaura, F. S., Wandelt, B. D., & Enßlin, T. A. 2010, MNRAS, 406, 60 [NASA ADS] [CrossRef] [Google Scholar]
  33. Junklewitz, H., Bell, M. R., Selig, M., & Enßlin, T. A. 2016, A&A, 586, A76 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  34. Kayo, I., Taruya, A., & Suto, Y. 2001, ApJ, 561, 22 [NASA ADS] [CrossRef] [Google Scholar]
  35. Kinney, J. B. 2014, Phys. Rev. E, 90, 011301 [NASA ADS] [CrossRef] [Google Scholar]
  36. Kitaura, F. S., Jasche, J., Li, C., et al. 2009, MNRAS, 400, 183 [NASA ADS] [CrossRef] [Google Scholar]
  37. Knollmüller, J., Steininger, T., & Enßlin, T. A. 2017, ArXiv e-prints [arXiv:1711.02955] [Google Scholar]
  38. Knollmüller, J., Frank, P., & Enßlin, T. A. 2018, ArXiv e-prints [arXiv:1804.05591] [Google Scholar]
  39. Lahmiri, S. 2017, Opt. Laser Technol., 90, 128 [NASA ADS] [CrossRef] [Google Scholar]
  40. Metropolis, N., & Ullam, S. 1949, J. Am. Stat. Assoc., 44, 335 [Google Scholar]
  41. Neyrinck, M. C., Szapudi, I., & Szalay, A. S. 2009, ApJ, 698, L90 [NASA ADS] [CrossRef] [Google Scholar]
  42. Oppermann, N., Selig, M., Bell, M. R., & Enßlin, T. A. 2013, Phys. Rev. E, 87, 032136 [NASA ADS] [CrossRef] [Google Scholar]
  43. Osoba, O., & Kosko, B. 2016, Fluctuat. Noise Lett., 15, 1650007 [NASA ADS] [CrossRef] [Google Scholar]
  44. Planck Collaboration VII 2011, A&A, 536, A7 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  45. Pumpe, D., Greiner, M., Müller, E., & Enßlin, T. A. 2016, Phys. Rev. E, 94, 012132 [NASA ADS] [CrossRef] [Google Scholar]
  46. Pumpe, D., Gabler, M., Steininger, T., & Enßlin, T. A. 2018, A&A, 610, A61 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Rau, U., & Cornwell, T. J. 2011, A&A, 532, A71 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  48. Sault, R. J., & Oosterloo, T. A. 2007, ArXiv e-prints [arXiv:astro-ph/0701171] [Google Scholar]
  49. Schoenfelder, V., Aarts, H., Bennett, K., et al. 1993, ApJS, 86, 657 [NASA ADS] [CrossRef] [Google Scholar]
  50. Selig, M., & Enßlin, T. 2015, A&A, 574, A74 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  51. Selig, M., Bell, M. R., Junklewitz, H., et al. 2013, A&A, 554, A26 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  52. Selig, M., Vacca, V., Oppermann, N., & Enßlin, T. A. 2015, A&A, 581, A126 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  53. Sheth, R. K. 1995, MNRAS, 277, 933 [NASA ADS] [CrossRef] [Google Scholar]
  54. Steininger, T., Dixit, J., Frank, P., et al. 2017, ArXiv e-prints [arxiv:1708.01073] [Google Scholar]
  55. Strong, A. W. 2003, A&A, 411, L127 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  56. Valdes, F. 1982, Instrum. Astron. IV, 331, 465 [NASA ADS] [CrossRef] [Google Scholar]
  57. Valtchanov, I., Pierre, M., & Gastaud, R. 2001, A&A, 370, 689 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  58. Vedrenne, G., Roques, J.-P., Schönfelder, V., et al. 2003, A&A, 411, L63 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  59. Venkatesh Gubbi, S., & Sekhar Seelamantula, C. 2014, ArXiv e-prints [arXiv:1412.2210] [Google Scholar]
  60. Vio, R., Andreani, P., & Wamsteker, W. 2001, PASP, 113, 1009 [NASA ADS] [CrossRef] [Google Scholar]
  61. Voges, W., Aschenbach, B., Boller, T., et al. 1999, A&A, 349, 389 [NASA ADS] [Google Scholar]
  62. Wandelt, B. D. 2004, ArXiv e-prints [arXiv:astro-ph/0401623] [Google Scholar]
  63. Willett, R. 2007, in Statistical Challenges in Modern Astronomy IV, eds. G. J.Babu, & E. D. Feigelson, ASP Conf. Ser., 371, 247 [NASA ADS] [Google Scholar]
  64. Willett, R., & Nowak, R. D. 2007, IEEE Trans. Inf. Theory, 53, 3171 [CrossRef] [MathSciNet] [Google Scholar]
  65. Willsky, A., & Jones, H. 1976, IEEE Trans. Autom. Control, 21, 108 [CrossRef] [Google Scholar]

Appendix A: Covariances and curvatures

The covariance D of a Gaussian G ( ϕ ϕ ¯ , D ) $ \mathcal{G} \left(\phi-\bar{\phi}, D\right) $ describes the uncertainty associated with the mean of the distribution. It may be computed via the inverse Hessian of the corresponding information Hamiltonian or Gibbs free energy respectively, 2 G ϕ ϕ | ϕ = ϕ ¯ = 2 ϕ ϕ ( 1 2 ( ϕ ϕ ¯ ) D 1 ( ϕ ϕ ¯ ) ) | ϕ = ϕ ¯ = D 1 . $$ \begin{aligned} \left.\frac{\partial ^2 G}{\partial \phi \partial \phi ^{\dagger }}\right|_{\phi =\bar{\phi }}&= \left. \frac{\partial ^2}{\partial \phi \partial \phi ^{\dagger }} \left( \frac{1}{2}\left(\phi -\bar{\phi }\right)D^{-1} \left(\phi -\bar{\phi }\right)\right)\right|_{\phi = \bar{\phi }} \nonumber \\&= D^{-1}. \end{aligned} $$(A.1)

The uncertainty covariances of the derived information Hamiltonian Eq. (31) are, D ( φ ) 1 = Φ t 1 + ( 1 d l ) R e m ^ + R e m ^ d l 2 ^ R e m ^ , $$ \begin{aligned}&D^{(\varphi )-1} = \Phi _{\boldsymbol{t}}^{-1} + \left( 1- \frac{\boldsymbol{d}}{\boldsymbol{l}}\right)^{\dagger } \boldsymbol{\mathcal{R} }*\widehat{\mathrm{e}^{\boldsymbol{m}}} + \boldsymbol{\mathcal{R} }^{\dagger } \widehat{\mathrm{e}^{\boldsymbol{m}}} \widehat{\frac{d}{l^{2}}}\boldsymbol{\mathcal{R} }^{\dagger } \widehat{\mathrm{e}^{\boldsymbol{m}}}, \end{aligned} $$(A.2) D ( φ u x ) 1 = D ( φ ) 1 + η e m u x , $$ \begin{aligned}&D^{(\varphi _{\boldsymbol{u}_x})-1} = D^{(\varphi )-1} + \boldsymbol{\eta } \mathrm{e}^{-\boldsymbol{m}_{\boldsymbol{u}_x}}, \end{aligned} $$(A.3) D ( τ ) 1 = T + ( q + w 2 ) e t , $$ \begin{aligned}&D^{(\boldsymbol{\tau })-1} = \boldsymbol{T} + \left(q+\frac{w}{2}\right) \mathrm{e}^{-\boldsymbol{t}}, \end{aligned} $$(A.4)

with

l = R e φ . $$ \begin{aligned} \boldsymbol{l}&= \boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }} . \end{aligned} $$(A.5)

The corresponding covariances of the chosen Gibbs approach in Eq. (B.9) are, D 1 = ( D ( φ ) 1 0 0 D ( τ ) 1 ) , with $$ \begin{aligned}&D^{-1} = \begin{pmatrix} D^{(\boldsymbol{\varphi })^{-1}}&0 \\ 0&D^{(\boldsymbol{\tau })^{-1}}\\ \end{pmatrix}, \quad \text{ with} \end{aligned} $$(A.6) D ( φ ) 1 = T ( Φ t 1 + ( 1 d l ) R e m + 1 2 D ^ ( φ ) ^ + R e m + 1 2 D ^ ( φ ) ^ d l 2 ^ R e m + 1 2 D ^ ( φ ) ^ ) , $$ \begin{aligned}&D^{(\varphi )-1} =\mathcal{T} \Bigg ( \Phi _{\boldsymbol{t}^{\prime }}^{-1} + \left( 1- \frac{\boldsymbol{d}}{\boldsymbol{l}}\right)^{\dagger } \boldsymbol{\mathcal{R} }*\widehat{\mathrm{e}^{\boldsymbol{m} + \frac{1}{2} \widehat{D}^{(\varphi )}}} \nonumber \\&\qquad \quad + \boldsymbol{\mathcal{R} }^{\dagger } \widehat{\mathrm{e}^{\boldsymbol{m}+ \frac{1}{2} \widehat{D}^{(\varphi )}}} \widehat{\frac{d}{l^{2}}}\boldsymbol{\mathcal{R} }^{\dagger } \widehat{\mathrm{e}^{\boldsymbol{m}+ \frac{1}{2} \widehat{D}^{(\varphi )}}}\Bigg ), \end{aligned} $$(A.7) D ( φ u x ) 1 = D ( φ ) 1 + η exp ( m u x + 1 2 D ^ ( φ u x ) ) , $$ \begin{aligned}&D^{(\varphi _{\boldsymbol{u}_x})-1} = D^{(\varphi )-1} + \boldsymbol{\eta }\exp \left(-\boldsymbol{m}_{\boldsymbol{u}_x} + \frac{1}{2}\widehat{D}^{\left(\varphi _{\boldsymbol{u}_x}\right)}\right), \end{aligned} $$(A.8) D ( τ ) 1 = T ( T + ( q + w 2 ) e t ) , $$ \begin{aligned}&D^{(\boldsymbol{\tau })-1} = \mathcal{T} \left( \boldsymbol{T} + \left(q+\frac{w}{2}\right) \mathrm{e}^{-\boldsymbol{t}^{\prime }}\right), \end{aligned} $$(A.9)

with

l = R e m + 1 2 D ^ ( φ ) . $$ \begin{aligned} \boldsymbol{l}&= \boldsymbol{\mathcal{R} } \mathrm{e}^{\boldsymbol{m}+ \frac{1}{2} \widehat{D}^{(\varphi )}}. \end{aligned} $$(A.10)

Up to the term 1 2 D ^ $ \frac{1}{2}\widehat{D} $ in the exponential functions, these covariances are identical to the ones derived via the maximum a posteriori ansatz Eq. (A.4). This shows that these higher order corrections terms change the uncertainty covariances, however their influence is hard to judge as they introduce terms that couple to all elements of D. It must be noted that the inverse Hessian only describes the curvature of the potential, hence it may only be regarded as the uncertainty of a reconstruction if the potential is quadratic. However, numerous numerical experiments showed that this assumption holds in most cases.

Appendix B: Deriving the Gibbs free energy

Due to the complex structure of the information Hamiltonian in Eq. (31), we are seeking for an approximation to the true posterior Eq. (28). To this end we adapt a Gaussian distribution for our posterior approximation and require it to be close in an information theoretical sense to the correct posterior. The correct information distance is the Kullback–Leibler divergence, which is equivalent, up to irrelevant constants, to the Gibbs free energy (Enßlin & Weig 2010). We directly adopt the final functional form of the posterior in the construction of the Gibbs free energy. Here we use an approximate Gaussian ansatz for the posterior Eq. (28) of our signal vector ϕ = (φ,τ): P ( ϕ | d ) = G ( ϕ ϕ ¯ , D ) with $$ \begin{aligned}&P(\phi \vert \boldsymbol{d}) = \mathcal{G} \left(\phi -\bar{\phi },D\right) \quad \text{ with}\end{aligned} $$(B.1) ϕ ¯ = ( m , t ) , $$ \begin{aligned}&\bar{\phi } = \left( \boldsymbol{m}^{\dagger }, \boldsymbol{t}^{\dagger }\right)^{\dagger }, \end{aligned} $$(B.2)

the posterior mean, and

D = ( D ( φ ) 0 0 D ( τ ) ) $$ \begin{aligned} D= \begin{pmatrix} D^{(\boldsymbol{\varphi })}&0 \\ 0&D^{(\boldsymbol{\tau })} \end{pmatrix} \end{aligned} $$(B.3)

the posterior uncertainty covariance. The posterior mean ϕ ¯ $ \bar{\phi} $ consists of the mean field m = ⟨φ(ϕ|d), as well as the mean log power spectrum t = ⟨τ(ϕ|d). The signal covariance D = ( ϕ ϕ ¯ ) ( ϕ ϕ ¯ ) ( ϕ | d ) $ D = \langle(\phi-\bar{\phi}) (\phi-\bar{\phi})^{\dagger}\rangle_{(\phi\vert d)} $ consists of 2 × 2 block matrices, where the off diagonal terms are set to zero to reduce the complexity of the resulting algorithm. The non zero blocks are the signal uncertainty

D ( φ ) = ( φ m ) ( φ m ) ( ϕ | d ) , $$ \begin{aligned} D^{(\boldsymbol{\varphi })}= \left\langle \left(\boldsymbol{\varphi } - \boldsymbol{m}\right)\left(\boldsymbol{\varphi } - \boldsymbol{m}\right)^{\dagger }\right\rangle _{(\phi \vert d)}, \end{aligned} $$(B.4)

and the log-spectrum uncertainty

D ( τ ) = ( τ t ) ( τ t ) ( ϕ | d ) . $$ \begin{aligned} D^{\left( \boldsymbol{\tau }\right)}= \left\langle \left( \boldsymbol{\tau }- \boldsymbol{t}\right)\left( \boldsymbol{\tau }- \boldsymbol{t}\right)^{\dagger } \right\rangle _{(\phi \vert d)}. \end{aligned} $$(B.5)

In terms of these parameters the Gibbs free energy is given by

G ( ϕ ¯ , D | d ) = U ( ϕ ¯ , D | d ) T S ( ϕ ¯ , D | d ) , $$ \begin{aligned} G(\bar{\phi }, D \vert d)= U( \bar{\phi }, D \vert d) - \mathcal{T} \fancyscript {S} (\bar{\phi }, D \vert d), \end{aligned} $$(B.6)

with

U ( ϕ ¯ , D | d ) = H ( φ , τ | d ) ( ϕ | d ) , $$ \begin{aligned} U(\bar{\phi }, D \vert d) = \left\langle H\left(\boldsymbol{\varphi }, \boldsymbol{\tau }\vert d \right)\right\rangle _{(\phi \vert d)}, \end{aligned} $$(B.7)

being the internal energy, describing the full non-Gaussian Hamiltonian Eq. (31), averaged by the approximated posterior Eq. (B.1). The entropy of the approximated Gaussian posterior is

S ( ϕ ¯ , D | d ) = D ϕ P ( ϕ | d ) log P ( ϕ | d ) . $$ \begin{aligned} \fancyscript {S}(\bar{\phi }, D \vert d)= - \int \mathcal{D} \phi \, P(\phi \vert d) \log P(\phi \vert d). \end{aligned} $$(B.8)

Up to an irrelevant sign and an additive constant the Gibbs free energy Eq. (B.6) is equal to the Kullback–Leibler distance of the posterior approximation if 𝒯 = 1. Unless stated differently, we therefore usually set 𝒯 = 1. If 𝒯 = 0, the approximate posterior given by Eq. (B.1) becomes a delta function at the maximum of the correct posterior, Eq. (28), which might perform poorly in case nuisance parameters, such as τ also need to be reconstructed.

In total the Gibbs free energy becomes

G = G ( ϕ ¯ , D | d ) = G 0 + 1 l d log l + 1 2 [ Tr [ log Φ ] + m Φ 1 m + Tr ( Φ 1 D ( φ ) ) ] + ( α 1 ) t + q exp ( t + 1 2 D ^ ( τ ) ) + 1 2 t T t + 1 2 Tr [ T D ( τ ) ] + ( β 1 ) m u x + η exp ( m u x + 1 2 D ^ ( φ u x ) ) T 2 Tr [ 1 + ln ( 2 π D ) ] , $$ \begin{aligned} G=&G \left( \bar{\phi }, D \vert \boldsymbol{d} \right) \nonumber \\ =&G_0 + \boldsymbol{1}^{\dagger } \boldsymbol{l} - \boldsymbol{d}^{\dagger } \log \boldsymbol{l} \nonumber \\&+ \frac{1}{2} \Big [\text{ Tr} \left[ \log \Phi \right] +\boldsymbol{m}^{\dagger }\Phi ^{-1} \boldsymbol{m} + \text{ Tr}\left(\Phi ^{-1} D^{(\boldsymbol{\varphi })}\right) \Big ]\nonumber \\&+ \left( \alpha -1 \right)^{\dagger } \boldsymbol{t} + q^{\dagger } \exp \left(-\boldsymbol{t}+ \frac{1}{2}\widehat{D}^{(\boldsymbol{\tau })}\right) \nonumber \\&+ \frac{1}{2} \boldsymbol{t}^{\dagger } \boldsymbol{T} \boldsymbol{t} + \frac{1}{2} \text{ Tr} \left[ \boldsymbol{T} D^{\left(\boldsymbol{\tau }\right)}\right] \nonumber \\&+ \left(\beta -1\right)^{\dagger } \boldsymbol{m}_{\boldsymbol{u}_x} + \boldsymbol{\eta }^{\dagger } \exp \left(-\boldsymbol{m}_{\boldsymbol{u}_x} + \frac{1}{2}\widehat{D}^{\left(\varphi _{\boldsymbol{u}_x}\right)}\right) \nonumber \\&- \frac{\mathcal{T} }{2} \text{ Tr} \left[\mathbb{1} + \ln \left( 2 \pi D\right) \right], \end{aligned} $$(B.9)

with Φ = diag(𝒮,𝒰,ℬ), G0 is absorbing all constants, and

l = R e m + 1 2 D ^ ( φ ) . $$ \begin{aligned} \boldsymbol{l}&= \boldsymbol{\mathcal{R} } \mathrm{e}^{\boldsymbol{m}+ \frac{1}{2} \widehat{D}^{(\varphi )}}. \end{aligned} $$(B.10)

Comparing Eq. (B.9) with the information Hamiltonian Eq. (31), there are a number of correction terms appearing which properly account for the uncertainty of the inferred map m. In particular l differs, comparing Eqs. (33) with (B.10), which in the framework of Gibbs free energy describes the expectation value of λ over the approximate posterior Eq. (B.1). Minimizing the Gibbs free energy with respect to m, t and D would optimize the inference under the assumed Gaussian posterior.

In the following sections we will gradually derive the Gibbs free energy.

B.1. The Entropy

Due to the Gaussian ansatz Eq. (B.1) the entropy Eq. (B.8) is independent of ϕ ¯ $ \bar{\phi} $, S ( ϕ ¯ , D | d ) = 1 2 Tr [ 1 + ln ( 2 π D ) ] $$ \begin{aligned} \fancyscript {S}(\bar{\phi }, D\vert d)= \frac{1}{2} \text{ Tr} \left[\mathbb{1} + \ln (2\pi D)\right] \end{aligned} $$(B.11)

and therefore its gradients with respect to m and t vanish, S m = 0 , S t = 0 . $$ \begin{aligned} \frac{\partial \fancyscript {S}}{\partial \boldsymbol{m}}= 0, \quad \frac{\partial \fancyscript {S}}{\partial \boldsymbol{t}}= 0. \end{aligned} $$(B.12)

B.2. Internal energy of the hyperprior

The internal energy of the hierarchical Gaussian prior P(τ|σ, α, q) is

U ( τ ) ( ϕ ¯ , D | d ) = H ( τ ) ( ϕ , D | d ) 1 2 t T t + 1 2 Tr [ T D ( τ ) ] $$ \begin{aligned} U^{\left(\boldsymbol{\tau }\right)}\left( \bar{\phi }, D \vert \boldsymbol{d}\right) =&\left\langle H(\boldsymbol{\tau })\right\rangle _{(\phi , D\vert \boldsymbol{d})}\nonumber \\ \simeq&\frac{1}{2} \boldsymbol{t}^{\dagger } \boldsymbol{T} \boldsymbol{t} + \frac{1}{2} \text{ Tr} \left[ \boldsymbol{T} D^{\left(\boldsymbol{\tau }\right)}\right] \end{aligned} $$(B.13) + ( α 1 ) t + q e t + 1 2 D ( t ) , $$ \begin{aligned}&+ \left(\alpha -1\right)^{\dagger } \boldsymbol{t} + q^{\dagger } \mathrm{e}^{-\boldsymbol{t} + \frac{1}{2}\widetilde{D}^{\left(\boldsymbol{t}\right)}}, \end{aligned} $$(B.14)

with T = ( T Y ( s ) , T X ( s ) , T Y ( u ) , T Y ( b ) , T I ( b ) ) $ \boldsymbol{T} = (T_{\mathcal{Y}^{(s)}}, T_{\mathcal{X}^{(s)}}, T_{\mathcal{Y}^{(u)}}, T_{\mathcal{Y}^{(b)}}, T_{\mathcal{I}^{(b)}})^{\dagger} $. A hat on a tensor denotes the diagonal vector in the position basis, D ^ x = D xx $ \widehat{D}_x= D_{xx} $, while a hat on a vector refers to a tensor with the vector as its diagonal, m ^ xy = δ xy m x $ \widehat{m}_{xy} = \delta_{xy} m_x $. Similarly we define a tilde on a tensor as the diagonal vector in the band harmonic basis, θ k = θ kk $ \widetilde{\theta}_k= \theta_{kk} $, and a tilde on a vector denotes a tensor with the vector on its diagonal in the band harmonic basis, t kl = δ kl t k $ \widetilde{t}_{kl} = \delta_{kl} t_k $.

The corresponding non-vanishing gradients of the hyperprior’s internal energy Eq. (B.14) are

U ( τ ) t = T t + ( α 1 ) q e t , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\tau }\right)}}{\partial \boldsymbol{t}} =&\boldsymbol{T} \boldsymbol{t} + \left( \alpha -1\right) - q \mathrm{e}^{-\boldsymbol{t}^{\prime }}, \end{aligned} $$(B.15) U ( τ ) D ( τ ) = 1 2 [ T + q e t ] , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\tau }\right)}}{\partial D^{\left(\boldsymbol{\tau }\right)}}=&\frac{1}{2} \left[ \boldsymbol{T} + \widetilde{q \mathrm{e}^ {-\boldsymbol{t}^{\prime }}}\right], \end{aligned} $$(B.16)

with t = t 1 2 D ( τ ) $ \boldsymbol{t}\prime= t- \frac{1}{2}\widetilde{D}^{(\boldsymbol{\tau})} $.

B.3. Internal energy of the prior for φ

The priors for φ provide the internal energy

U ( φ ) ( ϕ ¯ , D | d ) = 1 2 Tr [ log Φ t ] + 1 2 [ m Φ t 1 m + Tr [ Φ t 1 D ( φ ) ] ] . $$ \begin{aligned} U^{\left(\boldsymbol{\varphi }\right)}(\bar{\phi }, D\vert \boldsymbol{d}) =&\frac{1}{2}\text{ Tr} \left[ \log \Phi _{\boldsymbol{t}^{\prime }}\right] \nonumber \\&+ \frac{1}{2}\left[ \boldsymbol{m}^{\dagger }\Phi _{\boldsymbol{t}^{\prime }}^{-1} \boldsymbol{m} + \text{ Tr}\left[\Phi _{\boldsymbol{t}^{\prime }}^{-1} D^{(\boldsymbol{\varphi })}\right]\right]. \end{aligned} $$(B.17)

The corresponding gradients are

U ( φ ) m = Φ t 1 m , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial \boldsymbol{m}} =&\Phi _{\boldsymbol{t}^{\prime }}^{-1} \boldsymbol{m} , \end{aligned} $$(B.18) U ( φ ) D ( φ ) = 1 2 Φ t 1 $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial D^{({\boldsymbol{\varphi })}}} =&\frac{1}{2} \Phi _{\boldsymbol{t}^{\prime }}^{-1} \, \end{aligned} $$(B.19) U ( φ ) t Y = 1 2 ( ρ P w t Y e t Y ) , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial t_{\mathcal{Y} }} =&\frac{1}{2} \left( \rho _{\mathbb{P} } - w_{t^{\prime }_{\mathcal{Y} }}\mathrm{e}^{-t^{\prime }_{\mathcal{Y} }} \right), \end{aligned} $$(B.20) U ( φ ) t X = 1 2 ( ρ P w t X e t X ) , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial t_{\mathcal{X} }} =&\frac{1}{2} \left( \rho _{\mathbb{P} } - w_{t^{\prime }_{\mathcal{X} }}\mathrm{e}^{-t^{\prime }_{\mathcal{X} }} \right) ,\end{aligned} $$(B.21) U ( φ ) D ( t X ) = 1 4 ( w t X e t X ) , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial D^{ \left(t_{\mathcal{X} }\right)}} =&\frac{1}{4} \left( \widetilde{w_{t^{\prime }_{\mathcal{X} }}\mathrm{e}^{-t^{\prime }_{\mathcal{X} }}}\right),\end{aligned} $$(B.22) U ( φ ) D ( t Y ) = 1 4 ( w t Y e t Y ) , $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }\right)}}{\partial D^{\left(t_{\mathcal{Y} }\right)}} =&\frac{1}{4} \left(\widetilde{w_{t^{\prime }_{\mathcal{Y} }} \mathrm{e}^{-t^{\prime }_{\mathcal{Y} }}} \right) , \end{aligned} $$(B.23)

with

w t Y = Tr [ X ( φ ) 1 P ( m m + D ( φ ) ) ] , $$ \begin{aligned} w_{t^{\prime }_{\mathcal{Y} }}&= \text{ Tr} \left[\mathcal{X} ^{(\boldsymbol{\varphi })^{-1}} \mathbb{P} \left(\boldsymbol{m}^{\dagger } \boldsymbol{m} + D^{(\boldsymbol{\varphi })}\right)\right],\end{aligned} $$(B.24) w t X = Tr [ Y ( φ ) 1 P ( m m + D ( φ ) ) ] $$ \begin{aligned} w_{t^{\prime }_{\mathcal{X} }}&= \text{ Tr} \left[\mathcal{Y} ^{(\boldsymbol{\varphi })^{-1}} \mathbb{P} \left(\boldsymbol{m}^{\dagger } \boldsymbol{m} +D^{(\boldsymbol{\varphi })}\right)\right] \end{aligned} $$(B.25)

and with the multiplicities ρ = Trℙ of the spectral bands k and l, which are sharing the same harmonic eigenvalue.

B.4. Internal energy of the Inverse-Gamma prior

The internal energy of the inverse-gamma prior on φux is

U ( φ u x ) ( ϕ ¯ , D | d ) = ( β 1 ) m u x + η exp ( m u x + 1 2 D ^ ( φ u x ) ) , $$ \begin{aligned} U^{\left(\boldsymbol{\varphi }_{\boldsymbol{u}_x}\right)}(\bar{\phi }, D\vert \boldsymbol{d})&= \left(\beta -1\right)^{\dagger } \boldsymbol{m}_{\boldsymbol{u}_x} + \boldsymbol{\eta }^{\dagger } \exp \left(-\boldsymbol{m}_{\boldsymbol{u}_x} + \frac{1}{2}\widehat{D}^{\left(\varphi _{\boldsymbol{u}_x}\right)}\right), \end{aligned} $$(B.26)

with its corresponding gradient

U ( φ u x ) m x = β 1 η exp ( m u x + 1 2 D ^ ( φ u x ) ) . $$ \begin{aligned} \frac{\partial U^{\left(\boldsymbol{\varphi }_{\boldsymbol{u}_x}\right)}}{\partial \boldsymbol{m}_x}&= \boldsymbol{\beta } - 1 -\boldsymbol{\eta } * \exp \left(-\boldsymbol{m}_{\boldsymbol{u}_x} + \frac{1}{2}\widehat{D}^{\left(\varphi _{\boldsymbol{u}_x}\right)}\right). \end{aligned} $$(B.27)

B.5. Internal energy of the likelihood

The internal energy of the likelihood Eq. (8) is

U ( ϕ ¯ , D | d ) = H ( d | φ , D ) ( ϕ , D | d ) G 0 + 1 l d { log ( l ) ν = 2 ( 1 ) ν ν ( λ l 1 ) ν } , $$ \begin{aligned} U (\bar{\phi }, D \vert \boldsymbol{d}) =&\left\langle H(d \vert \boldsymbol{\varphi }, D)\right\rangle _{(\phi , D \vert \boldsymbol{d})} \nonumber \\&\simeq \, G_0 + \boldsymbol{1}^{\dagger } \boldsymbol{l} \nonumber \\&\,-\boldsymbol{d}^{\dagger } \left\{ \log (\boldsymbol{l}) - \sum _{\nu =2}^\infty \frac{(-1)^\nu }{\nu } \left\langle \left( \frac{\boldsymbol{\lambda }}{\boldsymbol{l}} - 1\right)^\nu \right\rangle \right\} , \end{aligned} $$(B.28)

with

λ = R e φ , $$ \begin{aligned}&\boldsymbol{\lambda } = \boldsymbol{\mathcal{R} }\mathrm{e}^{\boldsymbol{\varphi }}, \end{aligned} $$(B.29) l = R e m + 1 2 D ^ ( φ ) , $$ \begin{aligned}&\boldsymbol{l} = \boldsymbol{\mathcal{R} } \mathrm{e}^{\boldsymbol{m}+ \frac{1}{2} \widehat{D}^{(\varphi )}}, \end{aligned} $$(B.30)

where we absorbed all terms that are constant in φ into G0. The evolution of the internal energy would require to know all entries of D(φ) explicitly. As this is computationally infeasible and the term ( λ l 1 ) ν 0 $ \left \langle \left( \frac{\boldsymbol{\lambda}}{\boldsymbol{l}} - 1\right)^\nu \right \rangle \approx 0 $ at the mode where λ ≈ l, this sum can be neglected. As a consequence all cross correlations, such as D(su) are implicitly set to zero.

The gradient of Eq. (B.28) can be derived by taking the first derivative of U ( ϕ ¯ , D | d ) $ U (\bar{\phi}, D \vert \boldsymbol{d}) $ with respect to the approximate mean estimates, U m = ( 1 d l ) R e m + 1 2 D ^ ( φ ) . $$ \begin{aligned} \frac{\partial U}{\partial \boldsymbol{m}} = \left( 1- \frac{\boldsymbol{d}}{\boldsymbol{l}}\right)^{\dagger } \boldsymbol{\mathcal{R} }* \mathrm{e}^{\boldsymbol{m} + \frac{1}{2} \widehat{D}^{(\varphi )}} \, . \end{aligned} $$(B.31)

All Tables

Table 1.

Parameters to define correlation structure of s, u, and b.

All Figures

thumbnail Fig. 1.

Showcase for the D4PO algorithm to denoise, deconvolve, and decompose multi-domain photon observations. This is a simplified test scenario, which disregards a potential background flux and has only a unit response function (a perfect PSF). Top panels: (from left to right) data, providing spatial versus spectral information about each detected photon, original multi-domain point-like flux, as well as the multi-domain diffuse fields. Bottom panels: reconstruction of both fields. All fields are living over a regular grid with 350 × 350 pixels.

In the text
thumbnail Fig. 2.

Graphical model of the hierarchical Bayesian network introduced in Sect. 2. Shown are the model parameters α, q, σ, η and β, in rectangular boxes, as they have to be specified by the user. The logarithmic spectral parameters τ ( s ) = ( τ X ( s ) , τ Y ( s ) ) , τ Y ( u ) $ \tau^{(\boldsymbol{s})}= (\tau_{{\mathcal{X}}^{(\boldsymbol{s})}}^{\dagger}, \tau_{{\mathcal{Y}}^{(\boldsymbol{s})}}^{\dagger})^{\dagger}, \tau_{{\mathcal{Y}}^{(\boldsymbol{u})}}^{\dagger} $ and τ ( b ) = ( τ X ( b ) , τ Y ( b ) ) , $ \tau^{(\boldsymbol{b})}= (\tau^{\dagger}_{{\mathcal{X}}^{(\boldsymbol{b})}}, \tau^{\dagger}_{{\mathcal{Y}}^{(\boldsymbol{b})}})^{\dagger}, $ the diffuse signal field φ, and the expected number of photons λ, are inferred by the algorithm and shown in black solid circles. The observed photon count data, d, is marked by a dashed circle at the bottom.

In the text
thumbnail Fig. 3.

Demonstration of the capabilities of D4PO based on a simulated but realistic data set gathered from a potential astrophysical high energy telescope. The spatial dimension is orientated vertically and the spectral/energy dimension horizontally. Point-like sources appear therefore as the horizontal lines. All fields are living over a regular grid of 350 × 350 pixels. Top panel: the assumed instrument’s exposure map, its Gaussian convolution kernel and the obtained data set, once on logarithmic scale and once the raw photon counts. For each photon count we obtain spectral and spatial information. The panels below display the diffuse, point-like, and background flux. For all signal fields we show the ground truth on the left hand side ( s min = 3.80 max = 3.58 , u min = 7.80 max = 2.73 , b min = 5.22 max = 4.91 $ \boldsymbol{s}_{\text{ min}=-3.80}^{\text{ max}=3.58}, \boldsymbol{u}_{\text{ min}=-7.80}^{\text{ max}=2.73}, \boldsymbol{b}_{\text{ min}=-5.22}^{\text{ max}=4.91} $), followed by its reconstruction ( s rec min = . 93 max = 3.61 , u rec min = 2.21 max = 3.67 , b rec min = 1.24 max = 4.875 $ {\boldsymbol{s}_\text{ rec}}_{\text{ min}=-.93}^{\text{ max}=3.61}, {\boldsymbol{u}_\text{ rec}}_{\text{ min}=-2.21}^{\text{ max}=3.67}, {\boldsymbol{b}_\text{ rec}}_{\text{ min}=-1.24}^{\text{ max}=4.875} $), the error ( s error min = 1.06 max = 1.46 , u error min = 1.36 max = 3.64 , b error min = 1.37 max = 3.70 $ {\boldsymbol{s}_\text{ error}}_{\text{ min}=-1.06}^{\text{ max}=1.46}, {\boldsymbol{u}_\text{ error}}_{\text{ min}=-1.36}^{\text{ max}=3.64}, {\boldsymbol{b}_\text{ error}}_{\text{ min}=-1.37}^{\text{ max}=3.70} $) and the logarithmic uncertainty of the reconstruction ( s unc min = 1.43 max = 3.11 , u unc min = 2.72 max = 4.93 , b unc min = 1.74 max = 4.38 $ {\boldsymbol{s}_\text{ unc}}_{\text{ min}=-1.43}^{\text{ max}=3.11}, {\boldsymbol{u}_\text{ unc}}_{\text{ min}=-2.72}^{\text{ max}=4.93}, {\boldsymbol{b}_\text{ unc}}_{\text{ min}=-1.74}^{\text{ max}=4.38} $). For illustration purposes all fluxes are on logarithmic scale and clipped between −0.6 and 3.1, except the “Raw photon counts” ( d min = 0 max = 175 $ \boldsymbol{d}_{\text{ min}=0}^{\text{ max}=175} $) which are shown on their native scale.

In the text
thumbnail Fig. 4.

Reconstructed power spectrum of s in its spatial (panel a) and spectral sub-domain (panel b) and u in its spectral domain (panel c). The dashed black line indicates the default spectrum from which the Gaussian random fields, shown in Fig. 3, were drawn, while the solid black lines show its reconstruction. In case of τ Y ( u ) $ \boldsymbol{\tau}_{{\mathcal{Y}}^{\left(\boldsymbol{u}\right)}} $, both lines are in such close agreement that they are visually indistinguishable.

In the text
thumbnail Fig. 5.

Reconstructed versus original physical point-like flux in its spatial and spectral domain for all energies. The grey contour indicates the 2σ confidence interval of the Poissonian shot noise.

In the text
thumbnail Fig. 6.

Reconstructed versus original physical diffuse flux in its spatial and spectral domain for all energies. The grey contour indicates the 2σ confidence interval of the Poissonian shot noise.

In the text
thumbnail Fig. 7.

Differences between |ρerrorρuncertainty| on their native scale, by devision through the uncertainty estimates. The image-mean of the normalised errors is ≈0.6 for the diffuse flux, ≈0.85 for the point-like flux, and ≈1.5 for the background flux. Hence they show, that some uncertainties are overestimated and others underestimated, respectively.

In the text
thumbnail Fig. 8.

Differences between the introduced D4PO reconstruction technique and a regular ML reconstruction. Top left panel: sum of all ground truth components (diffuse, point-like, and background flux fields), mML from Fig. 3. Top middle panel: sum of the reconstructed flux components by D4PO, mΣD4PO (sum of reconstructions from Fig. 3), top right panel: regular maximum likelihood reconstruction: mML, using the same data set as in Fig. 3. Below are shown the absolute differences between the sum of all D4PO reconstructions and the ground truth, |mtruth − mΣ D4PO| shown. The same applies for the maximum likelihood reconstruction, |mtruth − mML| at the bottom right.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.