alphaFeedback

WorksPhysics and Astronomy

A High Precision Metacalibration Response Correction

AI contributions
Not recorded for this paper
View details
Ancillary data
2 code links
View

Abstract

In Metacalibration the shear response of a weak lensing measurement is estimated by applying an artificial shear to the image, but the shear operation imprints a spin-2 modulation on the image noise power, which biases the measured response. The standard fix adds a sheared noise field that symmetrizes the anisotropy, at the cost of doubling the noise variance (2\sqrt2 in the noise). The fusion correction presented in this note reaches the same unbiased response while adding only the minimum power needed. It measures the noise power transfer by passing an impulse through the Metacal process, forms the common-level azimuthal deficit that equalizes the spin-2 (m=2m{=}2) and spin-6 (m=6m{=}6) modulations across the metacal types, and adds just that deficit by filtering the rotated noise field. The fusion correction raises the per-pixel noise by only ∼2%\sim2\% for a round PSF (versus 2\sqrt2 for the standard correction), rising toward the 2\sqrt2 level only for highly elliptical PSFs.

Overview

Metacalibration measures the response of an estimator to a small applied shear by literally applying it ([4, 12]). An observed image is deconvolved by the point spread function (PSF), sheared by ±\pm a small step in each component, and reconvolved by a slightly larger round target PSF. Differencing a shear estimator ee from the sheared images gives the response matrix R\mathbf{R}, and the calibrated shear is g=⟨R⟩−1⟨e⟩g = \langle\mathbf{R} \rangle^{-1} \langle e \rangle.

The difficulty addressed in this note is noise. The deconvolution divides by the PSF in Fourier space, which amplifies the high-kk noise; the shear then stretches that amplified noise anisotropically. The metacal’d image therefore has noise with a power P(k)P(k) that is no longer isotropic but modulated as cos⁡2θ\cos2\theta (spin-2), and the modulation differs between the metacal types (±\pm and noshear). Because the response is a spin-2 measurement, a type-dependent spin-2 noise anisotropy leaks into R\mathbf{R} and biases the recovered shear ([3, 12]).

Two ways to remove it are

fixnoise (exact, noisy). Take an independent noise field, rotate it by 90∘90^\circ, metacal it, rotate back and add it to the image ([12]). A 90∘90^\circ rotation flips the sign of every spin-2 (and spin-6) anisotropy, so the sum is isotropic in those harmonics. But the added field doubles the noise power, 2\sqrt{2} in the noise, ×2\times2 in variance, in every mode, whether or not that mode needed filling.

fusion (this note). Add to each kk-mode only the power needed to cancel the spin-2 effect. Most of the metacal noise anisotropy is small; fixnoise fully doubles the power at all kk to correct it. The fusion1 correction measures how much power each metacal type lacks relative to the others (the deficit), and supplies just that, by filtering the rotated field down to the deficit instead of adding it whole. The response is corrected to the same level as fixnoise, but noise increase is ∼1.02\sim1.02 instead of 2\sqrt{2} for a round PSF.2

The Flow

The structure of this note follows the algorithm flow, which is:

  1. kk-space metacal (§ 2): the operator KtK_t for each METACAL type tt that deconvolves, shears, and reconvolves a field in GALSIM kk-space [7].

  1. The impulse transfer (§ 3): push an impulse through KtK_t to produce the per-type noise power transfer Pt=∣Kt∣2P_t = |K_t|^2, and see the type-dependent m=2/m=6m=2/m=6 modulation.

  1. The harmonics that bias shear (§ 4): the response isolates the 90°-odd harmonics m=2,6m=2, 6; m=4m=4 is inert.

  1. The common-level deficit (§ 5): the power DtD_t that fills each type’s mean and m=2/m=6m=2/m=6 modulation up to the common (max-over-types) level, so every type gets one isotropic level.

  1. The rotated correction field (§ 6): the source of the added power in the sky frame.

  1. The fusion filter (§7): Ht=Dt/PtrotH_t = \sqrt{D_t/P_t^{\mathrm{rot}}}, shaping the rotated field to the deficit.

  1. Assembly and output noise (§§§ 7–§ 8): one shared kk-grid, and the predicted variance increase FVF_V.

The end-to-end validation is in § 9.

Metacalibration in kk-space

In this section we describe the basic process implemented in the metacal software package3. The same underlying operations are used in METADETECTION [11], the nickname for a METACALIBRATION that includes the object detection phase.

Write the observed image as I=(G∗P)I = (G * P), the true surface brightness GG convolved by the PSF PP. Define the metacal type t∈{noshear,1p,1m,2p,2m}t \in\{\text{noshear}, 1p, 1m, 2p, 2m\} to correspond with a shear operator StS_t that is identity for noshear and a ±\pm step shear in g1g_1 for 1p/1m and g2g_2 for 2p/2m. Then the METACAL’d image is

It=[St(I∗P−1)]∗Ptgt,(1)I_t = \left[S_t\left(I * P^{-1}\right)\right] * P_{\mathrm{tgt}}, \tag*{(1)}

i.e. deconvolve the PSF, apply the shear in the world (sky) frame, and reconvolve by a common target PtgtP_{\mathrm{tgt}}. The target is supplied by the user4. Whatever the target, METACAL dilates it by 1+21 + 2 step to suppress modes exposed by the shearing process.

All of (1) is done in GALSIM kk-space. The image and PSF are wrapped as GALSIM InterpolatedImages (Lanczos-15 xx-interpolant, the metacal kernel); the PSF is deconvolved, the result sheared, and the round target reconvolved; the single complex profile is drawn once with drawKImage onto a padded Np×NpN_p \times N_p grid for which the kk-spacing, ifftshift reordering, and centering phase are chosen to match numpy’s FFT layout. This is followed by one inverse FFT and a crop to the central N×NN \times N to yield ItI_t. The pad size NpN_p is GALSIM’s automatic drawFFT size; it is exposed only so that a set of METACAL’d images can be forced onto one shared grid (§ 7), which the correction requires

The noise transfer from an impulse

The METACALIBRATION operation (1) is linear in the input field, so in kk-space it acts mode-by-mode as multiplication by a complex transfer Kt(k)K_t(\mathbf{k}):

I^t(k)=Kt(k)I^(k),Kt(k)=P^tgt(k)P^(St−1k)(Lanczos, shear Jacobian).(2)\widehat{I}_t(\mathbf{k}) = K_t(\mathbf{k})\widehat{I}(\mathbf{k}), \qquad K_t(\mathbf{k}) = \frac{\widehat{P}_{\mathrm{tgt}}(\mathbf{k})}{\widehat{P}(S_t^{-1}\mathbf{k})}\quad\text{(Lanczos, shear Jacobian).} \tag*{(2)}

If the input is a stationary noise field with white (flat) power spectrum, the output noise power is

Pt(k)=∣Kt(k)∣2,(3)\mathcal{P}_t(\mathbf{k}) = \lvert K_t(\mathbf{k})\rvert^2, \tag*{(3)}

the per-type noise power transfer.

The form of KtK_t in (2) follows in two steps. First, a shear is a linear coordinate remap of the image plane, and under Fourier transform it stays a pointwise coordinate remap of k\mathbf{k}:

Stf~(k)=f^(St−1k),(4)\widetilde{S_t f}(\mathbf{k}) = \widehat{f}(S_t^{-1}\mathbf{k}), \tag*{(4)}

the inverse shear acting on k\mathbf{k}, with no amplitude factor because a pure shear is area-preserving with a unit Jacobian. In practice the shear is applied in the sky frame, so on the pixel kk-grid the remap goes through the WCS distortion matrix, but it remains a unit-determinant pointwise remap. Because the remap acts pointwise it distributes over products and quotients, so Fourier-transforming (1) with I∗P−1=I^/P^I * P^{-1} = \widehat{I}/\widehat{P} gives

I^t(k)=P^tgt(k)I^(St−1k)P^(St−1k).(5)\widehat{I}_t(\mathbf{k}) = \widehat{P}_{\mathrm{tgt}}(\mathbf{k})\frac{\widehat{I}(S_t^{-1}\mathbf{k})}{\widehat{P}(S_t^{-1}\mathbf{k})}. \tag*{(5)}

The shear works on the numerator and the denominator. It must for a galaxy because shearing the galaxy is the point of METACAL. But a stationary white noise field has ⟨∣n^(k)∣2⟩=σ2\langle\lvert\widehat{n}(\mathbf{k})\rvert^2\rangle= \sigma^2, flat in k\mathbf{k}, so the remapped argument is unchanged. Sheared white noise is statistically identical to white noise at second order. Taking ∣⋅∣2\lvert\cdot\rvert^2 of (5) therefore collapses all the shear dependence of the noise power onto the deconvolution kernel, giving (3) with KtK_t as in (2). Shearing the deconvolved noise is statistically equivalent to deconvolving unsheared noise by the sheared PSF, StP~(k)=P^(St−1k)\widetilde{S_tP}(\mathbf{k}) = \widehat{P}(S_t^{-1}\mathbf{k}). This is the sense in which the type-dependent anisotropy of Pt\mathcal{P}_t is created by the METACAL shear (Figure 1). It enters through the remapped argument St−1kS_t^{-1}\mathbf{k}, not through P^\widehat{P}, and so flips sign between 1p and 1m even for a round PSF.

The metacal noise transfer from a delta impulse

Figure 1. The metacal noise transfer from a delta impulse (P1p=∣K1p∣2P_{1p}=|K_{1p}|^2, round PSF, Moffat β=2.5\beta=2.5 FWHM 0.9′′0.9^{\prime\prime}, diagonal WCS, dim 48). Top-left: the transfer, band-limited, peaking ≈1.55\approx1.55 in a ring. Top-right: relative to noshear, exposing the spin-2 quadrupole (enhanced along the kxk_x stretch axis, suppressed along kyk_y). Bottom: the m=2m=2 and m=6m=6 azimuthal projections (note the ∼20×\sim20\times smaller scale on m=6m=6). These are the harmonics the fusion filter fills.

The operator also includes the response of the Lanczos interpolant with which METACAL represents the image and the PSF (the parenthetical in (2)), and the padding, which is why we measure KtK_t rather than evaluate the quotient analytically. This is distinct from any interpolation used to build a coadd: that acted on the noise before the METACAL operator, and is part of the input spectrum NN, not KtK_t. See § 6.1 for the treatment of correlated noise.

We measure Pt\mathcal{P}_t directly by pushing a unit delta impulse through the same METACALIBRATION process as the data: a delta has ∣δ^(k)∣=1\lvert\widehat{\delta}(\mathbf{k})\rvert= 1 in every mode, so the output kk-array is KtK_t and its squared modulus is Pt\mathcal{P}_t. This is exact for the operator, including the Lanczos kernel and padding, not an analytic approximation. It is measured per METACAL type, capturing the small but crucial way the shear changes the noise power. The white-noise assumption is separate from the operator. For a correlated input with spectrum N(k)N(\mathbf{k}), equation (5) gives an output noise power ∣Kt(k)∣2N(St−1k)\lvert K_t(\mathbf{k})\rvert^2N(S_t^{-1}\mathbf{k}), with the shear acting on NN as well (see § 6.1).

In Figure 1 we decompose the transfer for the 1p type (a +g1+g_1 stretch) for a round PSF and a diagonal WCS. The transfer (top-left) is band-limited and looks round by eye, because the metacal step is only 0.01. Dividing out the isotropic envelope (top-right, the relative difference to noshear) exposes a spin-2 quadrupole. Power is enhanced along kxk_x (the stretch axis) and suppressed along kyk_y, reaching ±10%\pm10\% at the band edge. The formal m=2m=2 and m=6m=6 azimuthal projections (bottom) isolate the two harmonics the correction targets; m=6m=6 is real but only ∼5%\sim5\% the size of m=2m=2. This type-dependent m=2m=2 exists even for a round PSF. It is created by the metacal shear, which is why it cannot be ignored.

Which harmonics bias the shear

Not every anisotropy of Pt\mathcal{P}_t matters. The metacal response in g1g_1 for estimator e1e_1 is

R11=e1[I1p]−e1[I1m]2 step,(6)R_{11} = \frac{e_1[I_{1p}]-e_1[I_{1m}]}{2\,\mathrm{step}}, \tag*{(6)}

which is a finite difference of two METACAL shears that are 90∘90^\circ rotations of each other (a +g1+g_1 stretch along kxk_x versus a −g1-g_1 stretch along kyk_y). Hence R\mathbf{R} isolates the part of Pt\mathcal{P}_t that is odd under a 90∘90^\circ rotation. A harmonic cos⁡mθ\cos m\theta satisfies

cos⁡m(θ+90∘)=−cos⁡mθ⟺m≡2(mod4),(7)\cos m(\theta+90^\circ)=-\cos m\theta\quad\Longleftrightarrow\quad m\equiv2 \pmod{4}, \tag*{(7)}

i.e. m=2,6,10,…m=2,6,10,\ldots survive into R\mathbf{R}, while the even-under-90∘90^\circ harmonics m=0,4,8m=0,4,8 cancel. This is the reason the fusion fills m=2m=2 and m=6m=6 and leaves m=4m=4 alone: those are the harmonics fixnoise removes (adding the true 90∘90^\circ-rotated field zeroes every 90∘90^\circ-odd harmonic), and m=4m=4 is rotation-invariant and identical across types, so it does not bias the response directly.

The m=6m=6 part is spin-6, formally orthogonal to a spin-2 estimator, yet it does bias the shear. The biasing quantity is the spin-2 moment of the weighted noise power, ∫d2k W(k)e−2iθP(k)\int\mathrm{d}^2 k\,W(\mathbf{k})e^{-2i\theta}\mathcal{P}(\mathbf{k}), with WW the measurement kernel. Expanding both fields in harmonics, a noise harmonic mm produces a spin-2 only for a kernel harmonic n=2−mn=2-m. An isotropic kernel (n=0n=0) admits only m=2m=2; but the square pixel grid and the Lanczos/fit weighting have an m=4m=4 component (n=±4n=\pm4), which demodulates m=6m=6 down to m=2m=2 through the identity

cos⁡4θcos⁡6θ=12(cos⁡2θ+cos⁡10θ)⟹∫02πcos⁡2θcos⁡4θcos⁡6θ dθ=π2≠0.(8)\cos4\theta\cos6\theta=\frac{1}{2}(\cos2\theta+\cos10\theta)\quad\Longrightarrow\quad\int_{0}^{2\pi}\cos2\theta\cos4\theta\cos6\theta\,\mathrm{d}\theta=\frac{\pi}{2}\ne0. \tag*{(8)}

So a spin-6 noise feature leaks into the shear by beating against a spin-4 anisotropy of the measurement. Filling m=6m=6 removes that channel; an end-to-end test (§ 9) measures its effect at 88–9σ9\sigma.

The common-level harmonic deficit

We can only add noise power, so the correction will be a filtered noise field with sufficient power to cancel the problematic m=2/6m=2/6 modes. The fields added to each METACAL type must have the same level in order for the response to be correct. Thus the goal is to raise every type up to a common level, even noshear which has no anisotropy for a round PSF. The common level is the elementwise maximum over types, annulus by annulus, of the azimuthal mean and of each filled mm-mode amplitude. Filling each type up to that envelope makes the corrected transfers identical across types and results in isotropic total power in m=2/m=6m=2/m=6.

For each radial annulus we project every type’s power onto its mean and its (m=2,6)(m=2,6) cosine/sine coefficients,

μt(k)=⟨Pt⟩,ct(m)(k)=⟨Ptcos⁡mθ⟩,st(m)(k)=⟨Ptsin⁡mθ⟩,(9)\mu_t(k)=\langle\mathcal{P}_t\rangle,\qquad c_t^{(m)}(k)=\langle\mathcal{P}_t\cos m\theta\rangle,\qquad s_t^{(m)}(k)=\langle\mathcal{P}_t\sin m\theta\rangle, \tag*{(9)}

form the common envelopes over types,

μ⋆(k)=max⁡tμt(k),A⋆(m)(k)=2ct(m)2+st(m)2,(10)\mu_\star(k)=\max_t\mu_t(k),\qquad A_\star^{(m)}(k)=2\sqrt{c_t^{(m)2}+s_t^{(m)2}}, \tag*{(10)}

and build the per-type deficit by (i) raising the mean to μ⋆\mu_\star and (ii) for each mm, cancelling that type’s modulation and topping it up to the common amplitude A⋆(m)A_\star^{(m)} (here aligned to the type’s phase):

Dt(k)=[μ⋆−μt]+∑m∈{2,6}[A⋆(m)−2ct(m)cos⁡mθ−2st(m)sin⁡mθ],(11)D_t(\mathbf{k})=\left[\mu_\star-\mu_t\right]+\sum_{m\in\{2,6\}}\left[A_\star^{(m)}-2c_t^{(m)}\cos m\theta-2s_t^{(m)}\sin m\theta\right], \tag*{(11)}

clipped at zero (a power deficit cannot be negative).

In Figure 2 we show the effect. The raw per-type transfers (top) have opposite quadrupoles. The 1p is stretched along kxk_x and the 1m along kyk_y, with noshear nearly round. This is the type-dependent spin-2 that biases R\mathbf{R}. Adding DtD_t (bottom) puts all three types on one near-isotropic level; the faint residual ring is m=4m=4 which does not produce a bias.

Fractional anisotropy maps for the noshear, 1p, and 1m transfers before and after adding the deficit

Figure 2. Fractional anisotropy (P−⟨P⟩)/⟨P⟩(\mathcal{P}-\langle\mathcal{P}\rangle)/\langle\mathcal{P}\rangle (azimuthal mean divided out), shared colour scale. Top: the raw transfers. The metacal shear gives 1p and 1m opposite quadrupoles even for this round PSF. Bottom: after adding the common-level m=2/m=6m=2/m=6 deficit DtD_t, the three types are identical and near-isotropic, so the response is unbiased. The faint residual is the rotation-invariant m=4m=4, deliberately uncorrected.

The azimuthal average ⟨⋅⟩\langle\cdot\rangle needs to be calculated carefully in order to avoid a bias, which we discuss in Appendices § 13 and § 14.

The rotated correction field

The deficit DtD_t gives how much power to add in each mode. The source of that power is a rotated, metacal’d noise field. Take an independent noise realization with the same statistics as the data, rotate it by 90∘90^\circ in the sky frame, push it through the same metacal operations, and rotate the result back by −90∘-90^\circ. Its power transfer, measured by the same delta-impulse trick is the rotated transfer Ptrot(k)=∣Kt(R90k)∣2\mathcal{P}^{\mathrm{rot}}_t(\mathbf{k}) = \lvert K_t(\mathcal{R}_{90}\mathbf{k})\rvert^2 where R\mathcal{R} is the rotation operator.

A 90∘90^\circ rotation maps cos⁡2θ→−cos⁡2θ\cos2\theta\to-\cos2\theta: it flips the sign of every spin-2 (and spin-6) modulation. So where the image noise transfer Pt\mathcal{P}_t has m=2m=2 troughs (along kyk_y for a +g1+g_1 stretch), the rotated transfer Ptrot\mathcal{P}^{\mathrm{rot}}_t has m=2m=2 peaks. These are the modes the deficit DtD_t is used to fill. The rotated field is thus naturally aligned with the deficit. fixnoise adds all of it (doubling the variance), while the fusion keeps only the fraction that matches DtD_t. This alignment is visible in Figure 3 below, where Pnsrot\mathcal{P}^{\mathrm{rot}}_{\mathrm{ns}} and DnsD_{\mathrm{ns}} share the same lobe orientation.

A fusion filter for noshear type

Figure 3. A fusion filter for noshear type, g1gsf=0.01g_1^{\mathrm{gsf}}=0.01. Top-left: the rotated transfer PnsrotP_{ns}^{\mathrm{rot}}, the correction field’s power, lobed along kyk_y. Top-right: the deficit DnsD_{ns} to add, with the same lobe orientation, the alignment that lets a rotated field fill the deficit. Bottom-left: the filter Hns=min⁡(D/Prot,1)⋅taperH_{ns}=\min(\sqrt{D/P^{\mathrm{rot}}},1)\cdot\mathrm{taper}. Bottom-right: a kk cross-section at kx=0k_x=0: the raw D/Prot\sqrt{D/P^{\mathrm{rot}}} (red) rises near the band edge but stays below the cap at 1, the taper (green) rolls off out of band, and the final HH (blue) is their product.

For a conformal WCS a sky 90∘90^\circ and a pixel rotation (e.g. numpy.rot90) coincide. Under a non-conformal WCS they do not. A pixel-grid rotation is not a sky 90∘90^\circ, so it fails to flip the sky-frame spin-2 and leaves a spurious additive shear cc. Rotating in the sky frame, before metacal, then rotating back removes it.

We now have, on one shared grid, the un-rotated transfer Pt\mathcal{P}_t (the noise to isotropize, with its deficit DtD_t) and the rotated transfer Ptrot\mathcal{P}^{\mathrm{rot}}_t (the correction field’s power, in the same final frame after the rotation back). The correction field is added through a filter Ht(k)H_t(\mathbf{k}) applied to its kk-amplitude, so it contributes power Ht2PtrotH_t^2\mathcal{P}^{\mathrm{rot}}_t. Setting that equal to the deficit, Ht2Ptrot=DtH_t^2\mathcal{P}^{\mathrm{rot}}_t=D_t, gives

Ht(k)=Dt(k)Ptrot(k)(12)H_t(\mathbf{k})=\sqrt{\frac{D_t(\mathbf{k})}{\mathcal{P}^{\mathrm{rot}}_t(\mathbf{k})}} \tag*{(12)}

Adding Ht⋅H_t\cdot (rotated field) then gives a total noise power Pt+Ht2Ptrot=Pt+Dt\mathcal{P}_t+H_t^2\mathcal{P}^{\mathrm{rot}}_t=\mathcal{P}_t+D_t on the common isotropic level of § 5.

In practice we need to be careful not to add more than the full rotated field in any mode, and roll HH smoothly to zero:

Ht(k)=min⁡(Dt(k)Ptrot(k),1)⋅PtrotPtrot+ϵ⏟taper(13)H_t(\mathbf{k})=\min\left(\sqrt{\frac{D_t(\mathbf{k})}{\mathcal{P}^{\mathrm{rot}}_t(\mathbf{k})}},1\right)\cdot\underbrace{\frac{\mathcal{P}^{\mathrm{rot}}_t}{\mathcal{P}^{\mathrm{rot}}_t+\epsilon}}_{\text{taper}} \tag*{(13)}

with ϵ=ktol⋅max⁡Ptrot\epsilon=\mathrm{ktol}\cdot\max\mathcal{P}^{\mathrm{rot}}_t; we find ktol=10−4\mathrm{ktol}=10^{-4} works well.

The cap min⁡(⋅,1)\min(\cdot,1); Ht≤1H_t\leq1, guarantees the fusion correction never adds more than the full rotated field in any mode. It can never add more noise than fixnoise. In practice the raw Dt/Ptrot\sqrt{D_t/\mathcal{P}^{\mathrm{rot}}_t} exceeds 1 only near the band edge (where Ptrot\mathcal{P}^{\mathrm{rot}}_t is collapsing), so for a round or mildly elliptical PSF the cap is essentially inactive in-band; it is a safety bound that engages only as the PSF becomes highly elliptical.

Out of band both DtD_t and Ptrot\mathcal{P}^{\mathrm{rot}}_t go to zero, so Dt/Ptrot\sqrt{D_t/\mathcal{P}^{\mathrm{rot}}_t} is a noisy 0/0; the taper Ptrot/(Ptrot+ϵ)\mathcal{P}^{\mathrm{rot}}_t/(\mathcal{P}^{\mathrm{rot}}_t+\epsilon) rolls HtH_t smoothly to zero wherever Ptrot\mathcal{P}^{\mathrm{rot}}_t falls below ϵ\epsilon, preventing the filter from amplifying numerical noise where there is no signal.

In figure 3 we show the construction for an elliptical PSF with g1psf=0.01g^{\mathrm{psf}}_1=0.01 (reduced shear convention), comparable to the metacal step. The rotated transfer Pnsrot\mathcal{P}^{\mathrm{rot}}_{\mathrm{ns}} (top-left) and the deficit DnsD_{\mathrm{ns}} (top-right) share the same lobe orientation, confirming the alignment argument of § 6; the filter HnsH_{\mathrm{ns}} (bottom-left) carves the rotated power down to the deficit. The kk cross-section (bottom-right) demonstrates the cap and taper. The raw D/Prot\sqrt{D/\mathcal{P}^{\mathrm{rot}}} rises toward the band edge but stays below the cap at 1. The cap engages only for a highly elliptical PSF (see Figure 4). The taper pulls the final HH to zero beyond the band.

Cap engagement for a highly elliptical PSF

Figure 4. Cap engagement for a highly elliptical PSF, with noshear type, g1psf=0.15g_{1}^{\mathrm{psf}}=0.15. The layout is the same as as Figure 3. The deficit (top-right) is now comparable to the rotated transfer (top-left); the filter (bottom-left) saturates at H=1H=1 over half the band. In those modes the fusion adds the full rotated field, as fixnoise does everywhere. On the kx=0k_x=0 cross-section the raw D/Prot\sqrt{D/P^{\mathrm{rot}}} (red) crosses 1 and the final HH (blue) is at the cap.

In figure 4 we show the same construction for a highly elliptical PSF g1psf=0.15g^{\mathrm{psf}}_1=0.15. The deficit is now of order the rotated transfer, the raw D/Prot\sqrt{D/\mathcal{P}^{\mathrm{rot}}} reaches 1 over half the band, and the min⁡(⋅,1)\min(\cdot,1) saturates the filter at H=1H=1. In those modes the fusion correction adds the full rotated field, approaching fixnoise. This is the regime behind the rising added noise shown in § 8.

In figure 5 we repeat the construction for the nominal case, a round PSF, shown for the 1p type, where the only anisotropy is the standard metacal step (0.01). The deficit is the two-lobed m=2m=2 pattern along kyk_y, which is the trough the +g1+g_1 stretch produces in P1p\mathcal{P}_{1p} (§ 3), topping out at ∼7%\sim7\% of the transfer peak. The filter is correspondingly near zero along the kxk_x axis. No noise is added where the metacal shear already enhanced the power. On the kx=0k_x=0 cross-section through the lobes the D/Prot\sqrt{D/\mathcal{P}^{\mathrm{rot}}} stays below ∼0.5\sim0.5 everywhere, so the cap never engages; the added power H2ProtH^2\mathcal{P}^{\mathrm{rot}} is a few percent of the plain metacal noise. This is a geometrical explanation of the ∼2%\sim2\% round-PSF noise cost of § 8.

Correlated Input Noise

Pt\mathcal{P}_t and Ptrot\mathcal{P}^{\mathrm{rot}}_t are defined relative to white input noise, and HtH_t is exact only for white noise. For a correlated input with spectrum N(k)N(\mathbf{k}) the image noise power is Pt(k)N(St−1k)\mathcal{P}_t(\mathbf{k})N(S_t^{-1}\mathbf{k}) (§ 3). The 90∘90^\circ rotation leaves an isotropic NN unchanged, but the METACAL shear does not. To first order in the shear g1g_1 of type tt, the remap is St−1k≈(kx(1−g1),ky(1+g1))S_t^{-1}\mathbf{k}\approx(k_x(1-g_1),k_y(1+g_1)), so for isotropic N(k)N(k),

∣St−1k∣≈k(1−g1cos⁡2ϕ),N(St−1k)≈N(k)[1−g1dln⁡Ndln⁡kcos⁡2ϕ],(14)\left|S_t^{-1}\mathbf{k}\right|\approx k(1-g_1\cos2\phi),\qquad N(S_t^{-1}\mathbf{k})\approx N(k)\left[1-g_1\frac{d\ln N}{d\ln k}\cos2\phi\right], \tag*{(14)}

with ϕ\phi the azimuth of k\mathbf{k}. The remapped NN has a spin-2 modulation of fractional amplitude g1 dln⁡N/dln⁡kg_1\,d\ln N/d\ln k. Since g1=±g_1=\pm step for 1p/1m (and the same with sin⁡2ϕ\sin2\phi for 2p/2m), the modulation flips sign between the paired types. It is type-odd so enters the shear response (§ 4), and the white deficit DtD_t does not include it. The second-order terms are type-common and cancel in RR.

How much this matters depends on how much NN varies across the PSF band. For typical coadds, Lanczos-3 resampling at unit pixel ratio leaves NN flat to ∼3%\sim3\% across the band. A kk-space calculation with the exact resampling kernel of a 10-epoch dithered coadd, with and without rotational dithers, gives a type-odd residual after the correction of 6×10−46\times10^{-4} of the noise power, compared to 4×10−44\times10^{-4} for white noise (1.2% vs. 0.8% of the uncorrected anisotropy), and based on focused simulations we expect a multiplicative bias of m∼10−3m\sim10^{-3} for typical Lanczos-3 coadds (§ 9) below requirements for upcoming surveys (e.g. [5]).

For strongly correlated noise the white filter is not adequate. For white noise smoothed by a Gaussian with σ=1\sigma=1 pixel it leaves half the type-odd anisotropy in place (1.6×10−2\times10^{-2} of 3.2×10−23.2 \times10^{-2}). The remedy is to measure the transfers by pushing the noise correlation kernel N\sqrt{N} through the operator in place of the delta, after which the deficit machinery is exact again (residual 3×10−43 \times10^{-4} in the same calculation); the kernel must come from the known resampling, as the autocorrelation of a single noise realization is far too noisy. The real noise realization is still needed in any case as it accurately represents whatever non-stationary structure the data noise has (Appendix § 15).

The predicted FVFV of § 8 weights the band by NN; for correlated noise it is approximate.

The fusion filter in the nominal case

Figure 5. The fusion filter in the nominal case, with 1p1p type, round PSF, standard step 0.01. The layout is the same as Figure 3. Top-left: the rotated transfer P1protP_{1p}^{\mathrm{rot}}. Top-right: the deficit D1pD_{1p}, the two-lobed m=2m=2 pattern along kyk_y that fills the trough carved by the +g1+g_1 stretch; note the colour scale, ∼7%\sim7\% of the transfer peak. Bottom-left: the filter H1pH_{1p}, near zero along kxk_x where no power is missing. Bottom-right: the kx=0k_x=0 cross-section through the lobes. The raw D/Prot\sqrt{D/P^{\mathrm{rot}}} (red) stays below the cap at 1 everywhere in band, and the final HH (blue) never exceeds ∼0.43\sim0.43.

Assembling the correction on one shared grid

The filter, the deficit, and the noise to be cancelled must all be in the same kk-frame. The filter is applied in kk on the padded grid with no second FFT, so the de-aliased correction field is in the same frame as the constructed transfer.

So the final image for type tt is the plain metacal’d data plus the filtered, rotated, metacal’d noise:

Itcorr(x)=F−1[KtI^]⏟plain metacal+F−1[HtKtrotη^]⏟the deficit fill(15)I_t^{\mathrm{corr}}(\mathbf{x}) = \underbrace{\mathcal{F}^{-1}\left[K_t\hat{I}\right]}_{\text{plain metacal}} + \underbrace{\mathcal{F}^{-1}\left[H_t K_t^{\mathrm{rot}}\hat{\eta}\right]}_{\text{the deficit fill}} \tag*{(15)}

each cropped to the central N×NN \times N. F−1\mathcal{F}^{-1} represents the inverse Fourier transform5.

The output noise level

The correction adds anisotropy-filling power, so the corrected per-pixel noise is higher than plain metacal. By Parseval on the padded grid, the per-pixel variance of a filtered white field is the mean of its squared filter. The plain METACAL contributes ⟨Pt⟩\langle P_t\rangle and the correction adds ⟨Ht2Ptrot⟩\langle H_t^{2}\mathcal{P}_t^{\mathrm{rot}}\rangle. The deficit gives every type a common noise level, and only the m=0m=0 (azimuthal-mean) part sets the total variance (the m=2,6m=2,6 fills integrate to zero over each annulus). Calculating from noshear,

FV=1+⟨Hns2Pnsrot⟩⟨Pns⟩.(16)F_V = 1 + \frac{\langle H_{\mathrm{ns}}^{2}\mathcal{P}_{\mathrm{ns}}^{\mathrm{rot}}\rangle}{\langle\mathcal{P}_{\mathrm{ns}}\rangle}. \tag*{(16)}

Downstream this multiplies the noise variance used for uncertainty calculations6. It is 1 when no correction is applied.

In figure Figure 6 we plot the resulting noise (std) increase FV\sqrt{F_V} versus PSF ellipticity in the reduced shear convention [2]. For a round PSF the variance factor is ≈1.04\approx1.04, which is only ∼2%\sim2\% in the noise, so the correction is nearly free. It rises toward fixnoise’s 2\sqrt{2} in noise (×2\times2 in variance) only as the PSF becomes highly elliptical (FV≈1.34\sqrt{F_V} \approx1.34 at g1psf=0.2g_1^{\mathrm{psf}} = 0.2). Deconvolving by an elliptical PSF makes the metacal noise more anisotropic, so more of the rotated field is needed to fill the deeper deficit, and the cost approaches the full doubling of fixnoise. The prediction (16) matches the measured ratio of corrected to plain noise variance to better than 5% in direct white-noise tests.

Noise increase versus PSF ellipticity

Figure 6. The increased noise standard deviation, relative to plain METACALIBRATION, of the fusion correction vs. PSF ellipticity in the reduced shear convention. The fusion increase is ≈1.02\approx1.02 for a round PSF and rises toward the fixnoise level of 2\sqrt{2} (dashed) only as the PSF becomes highly elliptical. fixnoise increases by the noise by 2\sqrt{2} (×2\times2 in variance) in every case.

End-to-end validation

The pieces above were each validated in dedicated shear-bias simulations, based on those from Sheldon et al., [10] but with additional features to support simulated coadds with edges Sheldon, [9]. For the primary simulations, we used “edgy”-coadd noise with 10 input epochs Sheldon, [9], semi-realistic galaxy population [10, 8], a 1.1% non-conformal WCS plus a 10∘10^\circ rotation, and a spatially variable, elliptical Moffat PSF Moffat, [6].

For the analysis we used and full metadetection with kk-space metacal, sep detection Barbary et al., [1] and a maximum-likelihood Gaussian fit. We did not push a correlated noise kernel through the deficit machinery so, as noted in § 6.1, for coadd correlated noise from Lanczos-3 resampling we expect m∼0.001m \sim0.001. The results were

  • Multiplicative bias 0.0004<m<0.00140.0004 < m < 0.0014 at 99.7% confidence, within LSST tolerances ([5]) and consistent with the expectation for uncorrected correlated noise.

  • In a paired, non-noise-cancelling run, we measured varfixnoise/varfusion=2.043±0.005\mathrm{var}^{\mathrm{fixnoise}}/\mathrm{var}^{\mathrm{fusion}} = 2.043 \pm0.005: fixnoise costs essentially double the shear-noise variance of the fusion correction (the residual above 2 is the fusion’s ∼2.6%\sim2.6\% larger restored response, not extra image noise).

  • A matched-seed A/B (m={2,6}m=\{2,6\} vs. m=2m=2-only, 1.25×1061.25 \times10^{6} trials, 11% non-conformal WCS, sky-rotated correction) resolves m=6m=6 at 8–9σ\sigma: dropping it leaves a +3.5×10−4+3.5 \times10^{-4} multiplicative bias that the m=6m=6 fill removes, consistent with the fixnoise reference.

Summary

The fusion noise correction makes the metacal noise spin-2 isotropic while adding the minimum amount of noise power. The flow is:

  1. Push a unit delta impulse through the METACALIBRATION to get the per-type noise power transfer Pt=∣Kt∣2\mathcal{P}_t = |K_t|^2 (§ 3).

  1. Form the common-level deficit DtD_t that fills each METACAL type’s mean and m=2/m=6m=2/m=6 modulation up to the max-over-types envelope.

  1. Measure the rotated transfer Ptrot\mathcal{P}^{\mathrm{rot}}_t of a sky-90°-rotated, METACAL’d noise field (§ 6).

  1. Filter that field by Ht=Dt/PtrotH_t = \sqrt{D_t/\mathcal{P}^{\mathrm{rot}}_t} with a cap and a taper and add it to the METACAL’d data on one shared kk-grid (§§7–§ 7).

The noise increase is FV=1+⟨H2Prot⟩/⟨P⟩F_V = 1 + \langle H^2\mathcal{P}^{\mathrm{rot}}\rangle/\langle\mathcal{P}\rangle, ≈1.04\approx1.04 for a round PSF and rising toward 2 only for highly elliptical PSFs (§ 8), compared to fixnoise’s ×2\times2 (2\sqrt{2} in the noise). The corrected estimator is accurate to LSST requirements even under combined correlated non-stationary noise, non-conformal WCS, and PSF ellipticity.

Acknowledgments

We thank the computing staff of the Scientific Computing & Data Facility at Brookhaven National Laboratory for their support.

Appendices

The rotation-covariant azimuthal quadrature

On a square FFT grid an annulus is not a continuous circle but the finite set of lattice modes ∣k∣|\boldsymbol{k}| that round into each radial bin. Those modes have the D4D_4 symmetry of the lattice. The lowest surviving anisotropic moment is therefore

Q≡⟨cos⁡4θ⟩≠0,(17)Q \equiv\langle\cos4\theta\rangle\ne0, \tag*{(17)}

with Q>0Q > 0 when modes cluster on the pixel axes, Q<0Q < 0 on the diagonals. This QQ bleeds into the discrete m=2m=2 projection. Projecting a pure m=2m=2 pattern of amplitude AA at orientation φ\varphi, P=Acos⁡2(θ−φ)\mathcal{P}=A\cos2(\theta-\varphi), the integrand self-beats to a constant plus an m=4m=4 term, and the m=4m=4 term does not integrate to zero on the discrete ring because ⟨cos⁡4θ⟩=Q\langle\cos4\theta\rangle=Q:

c2=A2(1+Q)cos⁡2φ,s2=A2(1−Q)sin⁡2φ.(18)c_2=\frac{A}{2}(1+Q)\cos2\varphi,\qquad s_2=\frac{A}{2}(1-Q)\sin2\varphi. \tag*{(18)}

The two METACAL shears make m=2m=2 deficits with eigenaxes that are 45∘45^\circ apart: g1g_1 (1p/1m) along the world axis, g2g_2 (2p/2m) along the diagonal. The biased projection therefore over-fills one and under-fills the other, leaving a response anisotropy δ=12(R11−R22)∝Q\delta=\frac{1}{2}(R_{11}-R_{22})\propto Q. Rotating the WCS turns the world axes against the fixed grid, so δ∝cos⁡4θw\delta\propto\cos4\theta_w, causing a rotation leak.

We can replace the uniform discrete mean 1N∑i\frac{1}{N}\sum_i by a weighted average so that the spurious moments are reduced. We chose an arc-length (trapezoidal / Voronoi) quadrature. Within each annulus, we sort the mode angles and weight each mode by the angular gap it occupies, wi∝12(θi+1−θi−1)w_i\propto\frac{1}{2}(\theta_{i+1}-\theta_{i-1}) cyclically, normalized to ∑iwi=1\sum_i w_i=1. This is the trapezoidal rule on the non-uniform angular grid. It approximates the continuum integral 12π∫cos⁡pθ dθ=0\frac{1}{2\pi}\int\cos p\theta\,d\theta=0 and results in Mp=⟨cos⁡pθ⟩M_p=\langle\cos p\theta\rangle being reduced to the trapezoidal error for m=4,8,…m=4,8,\ldots. It is pure grid geometry, so it is computed once per grid, with no noise.

In Figure 7 we demonstrate both the error and its removal. By injecting a unit m=2m=2 at every orientation, the uniform mean ripples by Q=0.090Q=0.090, tracking 1+Qcos⁡4φ1+Q\cos4\varphi to the line, while the trapezoidal quadrature recovers a relatively flat amplitude with a ∼25×\sim25\times smaller ripple.

Recovered amplitude of a unit m=2 pattern versus its orientation, comparing uniform and trapezoidal quadrature

Figure 7. Recovered amplitude of a unit m=2m=2 pattern vs. its orientation φ\varphi, on an in-band annulus (dim 48). The uniform mean (red) ripples as 1+Qcos⁡4φ1+Q\cos4\varphi with Q=⟨cos⁡4θ⟩=0.090Q=\langle\cos4\theta\rangle=0.090 (dashed: the prediction). The trapezoidal arc-length quadrature (blue) recovers a relatively flat amplitude, the ripple shrinking from 0.090 to 0.0035. This is the projection used to build the deficit.

In validation simulations of § 9, we find a bias due to the cos⁡4θw\cos4\theta_w leak of the uniform quadrature’s residual bias that changes sign with WCS angle, −0.0012→+0.0011-0.0012\rightarrow+0.0011 (Δθw≈+0.0024\Delta\theta_w\approx+0.0024, ∼7σ\sim7\sigma). The trapezoidal quadrature flattens it to +0.0004→+0.0004+0.0004\rightarrow+0.0004 (Δθw≈0\Delta\theta_w\approx0).

The sky-angle deficit projection

The second subtlety is which frame the harmonics are projected in. The shear bias is a sky-frame contraction Tr⁡[qC]\operatorname{Tr}[qC] between the object’s quadrupole and the noise covariance, so it is the sky-frame spin-2 that must be cancelled, not the pixel-frame one. Under a non-conformal WCS (a pixel grid that is sheared relative to the sky) the two differ. For the projection we therefore bin and project in sky-frame angle. A pixel-frame mode eik⋅xe^{i\mathbf{k}\cdot\mathbf{x}} with sky coordinates u=Mx\mathbf{u}=M\mathbf{x} (where MM is the pixel→\tosky Jacobian) has sky wavevector M−TkM^{-T}\mathbf{k}; normalizing out the pixel scale (only the WCS shape matters),

ksky=scale⋅M−Tkpix,(19)\mathbf{k}_{\mathrm{sky}}=\mathrm{scale}\cdot M^{-T}\mathbf{k}_{\mathrm{pix}}, \tag*{(19)}

and the annulus binning and the cos⁡mθ/sin⁡mθ\cos m\theta/\sin m\theta projections use ksky\mathbf{k}_{\mathrm{sky}}. The Jacobian decomposes as M=scale⋅R(θ)⋅S(g)M=\mathrm{scale}\cdot R(\theta)\cdot S(g). A diagonal scale maps to the identity (a no-op) and a pure rotation merely rotates θ\theta, in which case the (cm,sm)(c_m,s_m) is a no-op. Only a genuine non-conformal shear changes the projection. Because the diagonal and pure-rotation cases reduce to identity automatically, the WCS Jacobian is all that is required. This sky-frame projection is the analogue of doing the metacal shear in the world frame, and of the sky-frame rotation of § 6. Every spin-2 operation in the code works in the sky frame.

The stationary-noise limit

The fusion filter uses only second moments of the noise, and the deficit DtD_t is a non-negative power spectrum. If the data noise is stationary with a known spectrum N(k)N(\mathbf{k}), there is no need to filter a real realization. One can draw a single white field w~(k)\widetilde{w}(\mathbf{k}) on the shared grid and add F−1[DtN w~]\mathcal{F}^{-1}[\sqrt{D_t^N}\,\widetilde{w}] to each type, the same w~\widetilde{w} for every type, where DtND_t^N is the deficit of the correlated transfer Pt(k)N(St−1k)P_t(\mathbf{k})N(S_t^{-1}\mathbf{k}), measured with the noise kernel N\sqrt{N} in place of the delta (§7); for white noise DtN=DtD_t^N=D_t. This removes the need for the noise image, the sky rotation, the second METACAL pass, PtrotP_t^{\mathrm{rot}}, the division and the cap. The variance increase is 1+⟨DtN⟩/⟨PtN⟩1+\langle D_t^N\rangle/\langle P_tN\rangle, which is 1+⟨Dt⟩/⟨Pt⟩1+\langle D_t\rangle/\langle P_t\rangle for white noise. Where the cap is inactive the two constructions add the same power in every mode, so for Gaussian noise each type’s output noise is statistically identical; the correlation between types differs only through the phases of KtrotK_t^{\mathrm{rot}}, which are below 0.02 rad in band for the scenes below.

We compared them on the scenes of §7 with white Gaussian noise (2000 realizations, 48248^2 stamps). For the round PSF they agree. The predicted m=2m=2 anisotropy of the 1p noise power falls from 4.8×10−24.8\times10^{-2} to ≈5×10−4\approx5\times10^{-4} in both, the variance factor is 1.0428 in both, and the 1p−1m noise is the same. At g1psf=0.15g_1^{\mathrm{psf}}=0.15 the cap binds on 30–50% of the band and leaves 3–7% of the deficit unfilled, almost all of it m=0m=0; both leave ≈0.5%\approx0.5\% of the original m=2m=2. The Monte Carlo confirms both at the statistical floor (≈10−2\approx10^{-2}). The synthesized field fills the common level completely, so its variance factor is 1.712 compared to the fusion’s 1.669, and in the stamp interior it adds correspondingly slightly more 1p−1m variance (2.4×10−32.4\times10^{-3} compared to ≈2×10−3\approx2\times10^{-3} per unit input variance). Over the full stamp the fusion’s 1p−1m variance is larger, because the sheared edge of the finite correction stamp enters at full strength where Ht≈1H_t\approx1; the synthesized field is stationary on the padded grid and has no edge.

This is a limiting case, not a replacement for the full fusion correction. Correlated noise is not necessarily the obstacle, since a known stationary NN enters through the kernel transfer. But NN must be known from the resampling that produced it; it cannot be measured well enough from a single realization. Furthermore, real coadd noise can be non-stationary (cell edges, varying depth, masks), in which case there is no single NN to synthesize from; the real realization represents that structure and NN (§7). The synthesized form is useful for simulations and as a check on the fusion machinery.

References

  1. [1]Barbary, K., Boone, K., Craig, M., Deil, C., & Rose, B. 2017, kbarbary/sep: v1.0.2, doi: 10.5281/zenodo.896928
  2. [2]Bernstein, G. M., & Jarvis, M. 2002, AJ, 123, 583, doi: 10.1086/338085DOI
  3. [3]Gurvich, A., & Mandelbaum, R. 2016, MNRAS, 457, 3522, doi: 10.1093/mnras/stw174DOI
  4. [4]Huff, E., & Mandelbaum, R. 2017, arXiv e-prints. https://arxiv.org/abs/1702.02600
  5. [5]Mandelbaum, R., et al. 2018, The LSST Dark Energy Science Collaboration (DESC) Science Requirements Document, arXiv, doi: 10.48550/ARXIV.1809.01669DOI
  6. [6]Moffat, A. F. J. 1969, AAP, 3, 455
  7. [7]Rowe, B. T. P., Jarvis, M., Mandelbaum, R., et al. 2015, Astronomy and Computing, 10, 121, doi: 10.1016/j.ascom.2015.02.002DOI
  8. [8]Sanchez, J., Mendoza, I., Kirkby, D. P., Burchat, P. R., & LSST Dark Energy Science Collaboration. 2021, JCAP, 2021, 043, doi: 10.1088/1475-7516/2021/07/043DOI
  9. [9]Sheldon, E. 2026, The Open Journal of Astrophysics, 9, 62176, doi: 10.32332/00lc.162176
  10. [10]Sheldon, E. S., Becker, M. R., Jarvis, M., Armstrong, R., & LSST Dark Energy Science Collaboration. 2023, The Open Journal of Astrophysics, 6, 17, doi: 10.21105/astro.2303.03947DOI
  11. [11]Sheldon, E. S., Becker, M. R., MacCrann, N., & Jarvis, M. 2020, ApJ, 902, 138, doi: 10.3847/1538-4357/abb595DOI
  12. [12]Sheldon, E. S., & Huff, E. M. 2017, The Astrophysical Journal, 841, 24, doi: 10.3847/1538-4357/aa704bDOI

Paper details

vlnc:W_ke7cqjw7
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY-SA 4.0

Original source

  • Physics and Astronomy

Not recorded for this paper · View statement →

Looking for related papers…
Contents