Stacking Without a Tracker: Guide Stars, Cross-Correlation, and the Alignment Limit
TL;DR: Good tracking is obviously the gold standard, so the real question is: what should you do when you don’t have a good tracking system? This post breaks down the physics of aligning noisy short exposures and boils down to two practical rules:
- Try to keep bright guide stars in view and use star-based (Gaussian) alignment: When individual stars stand out above skyglow (\(\text{SNR}_\star \gtrsim 5\) per frame), fitting a Gaussian avoids cross-correlation’s quadratic noise floor and gets you close to tracked performance.
- If individual stars are too dim (or there are no stars, like on the Moon or planets), put as many stars or textured features in view as possible and use cross-correlation: Even when no single star is visible on its own, cross-correlation pools all of them coherently before picking the shift.
NOTE: My ideas and analysis, aided by Gemini Neon (medium) for derivations, plots, and simulator code. · Jump straight to the interactive simulator
Our Model Scene: A Hazy Ring + Guide Stars
Throughout this post (in every plot and in the interactive simulator below), we’ll use the exact same test scene: a faint, hazy ring nebula (\(S_{\text{DSO}}\), like the Ring Nebula M57) with one or more guide stars (\(S_\star\)) nearby, sitting on top of Poisson skyglow background (\(B\)).
1. The Tracked Baseline: What We’re Trying to Match
Averaging works like magic when the sky doesn’t drift.
Before looking at untracked alignment techniques, it helps to set the gold standard we’re trying to match. A star tracker uses external physical information (Earth’s known sidereal rotation rate) to hold the sky still on your sensor, so stacking \(N\) stationary frames is purely linear addition:
\[I_{\text{stack}}(x) = \frac{1}{N}\sum_{k=1}^{N} I_k(x)\]For two frames with signal \(S\) and random noise \(N_1, N_2\):
\[(S + N_1) + (S + N_2) = 2S + (N_1 + N_2)\]Let \(\bar{I}(x) = S(x) + B\) be the expected (average) single-frame photon count at pixel \(x\) (target light plus skyglow). Under Poisson photon statistics1 with signal averaging, summing \(N\) stationary frames grows the target signal as \(N\,S(x)\) while the shot noise only grows as \(\sqrt{N\,\bar{I}(x)}\) (equivalently, averaging \(N\) frames keeps the signal at \(S(x)\) and shrinks the noise to \(\sqrt{\bar{I}(x)/N}\)). Either way, your Signal-to-Noise Ratio (SNR) improves cleanly as:
\[\text{SNR}_{\text{final}}(x) = \sqrt{N}\,\text{SNR}_{\text{single}}(x), \qquad \text{where } \text{SNR}_{\text{single}}(x) = \frac{S(x)}{\sqrt{\bar{I}(x)}}\]In other words, halving your single-frame SNR takes 4× as many tracked frames (\(N_{\text{tracked}} \propto 1/\text{SNR}_{\text{single}}^2\)). Short of upgrading your instrumentation (bigger aperture, lower-noise sensor, or darker skies), this \(\sqrt{N}\) scaling is the fundamental best you can ever achieve: noise only enters linearly, and any mechanical mount error is completely decoupled from the photon noise of your target.
2. Shifting Without Tracking Is Not Easy
Without a tracker, Earth’s rotation drags the sky across your sensor. Expose too long and the ring trails into a smear; expose short to freeze the drift and you have to estimate the shift of every single frame from noisy pixels before you can average them.
Broadly, there are two ways to estimate that shift:
- Gaussian Fitting on a Guide Star (simpler, best for sharp peaks): Fit a clean mathematical Gaussian to the bright guide star in each frame and use its center to align the faint hazy ring.
- Direct Cross-Correlation (best for amorphous / extended images or full fields): Slide two frames over each other and multiply them pixel-by-pixel to find the maximum overlap. This is great when there are no point-like stars, such as planetary, lunar, or solar imaging, or when you want to leverage an entire field of stars at once.
Method 1: Gaussian Fitting on a Guide Star
Fitting a clean mathematical Gaussian \(G(x - \mu)\) to a bright guide star in each frame is the simplest way to align starfields. Because \(G\) is noiseless2, matching your noisy frame against \(G\) gives \((S_\star + N)\,G = S_\star G + N G\), so noise only enters linearly.
First, two quick definitions:
- Point Spread Function (PSF): Even a pinprick star gets blurred by your optics and Earth’s atmosphere into a small fuzzy dot called the PSF. We denote its Gaussian width (standard deviation) by \(\sigma_{\text{PSF}}\).
- Estimated star center (\(\hat{\mu}\)): When you fit a Gaussian to a noisy frame, the fitted center \(\hat{\mu}\) (the hat denotes an estimate from noisy data) won’t land on the exact true center \(\mu\); its typical random error is the standard deviation \(\sigma_{\hat{\mu}}\).
In the skyglow-dominated regime (even with zero read noise), the Cramér–Rao bound for fitting a 2D Gaussian simplifies to a remarkably clean rule3:
\[\sigma_{\hat{\mu}} \ge \frac{\sqrt{2}\,\sigma_{\text{PSF}}}{\text{SNR}_\star}\]Why lower SNR and wider stars hurt position accuracy: Picture your star’s brightness curve wrapped in a vertical \(\pm 1\sigma_{\text{noise}}\) uncertainty band. At the very peak, the curve is flat (zero slope), so all the information about the star’s left-right position comes from its sloping flanks. When the star is sharp (small \(\sigma_{\text{PSF}}\)) and the noise band is thin (high \(\text{SNR}_\star\)), even a tiny sideways nudge pokes straight out of the noise band. When the star is wider (shallower flanks) or noisier (a thicker noise band), you can slide the curve much farther left and right while still hiding inside the noise. That horizontal “wiggle room” is literally \(\sigma_{\hat{\mu}} \propto \sigma_{\text{PSF}} / \text{SNR}_\star\).
When your guide star is bright (say \(\text{SNR}_\star = 50\) in a single frame), \(\sigma_{\hat{\mu}} \approx 0.03\,\sigma_{\text{PSF}}\), which is sub-pixel magic! That’s why wide-field broadband stacking with bright stars works so well: you’re effectively borrowing position from a bright star so your main camera doubles as its own autoguider.
Low Signal Reduces Star Lock-On Probability
Accounting for whether the fitter actually locks onto the true star rather than a random skyglow clump in your search window, the effective pairwise alignment SNR of Gaussian fitting is (Appendix A1):
\[\text{SNR}_{\text{Gauss, eff}} = p(\text{SNR}_\star)\,\frac{\text{SNR}_\star}{\sqrt{2}}\]where \(p(s)\) is the lock-on factor (the probability, above blind guessing, that the true peak beats the tallest random skyglow bump in your search window; derived in Appendix A1, while the \(\sqrt{2}\) comes from subtracting two independent noisy frame positions):
- High SNR (\(\text{SNR}_\star \gtrsim 5\)): \(p \approx 1\), so alignment quality climbs linearly with the guide star’s brightness (\(\propto \text{SNR}_\star\)).
- Low SNR (\(\text{SNR}_\star \lesssim 4\)): Random skyglow spikes start beating the dim star, so \(p(\text{SNR}_\star)\) plunges and the effective alignment SNR drops sharply to zero.
Method 2: Direct Cross-Correlation (and Its Quadratic Noise Tax)
What if you don’t have a single known Gaussian shape to fit, or you want to align two entire frames directly against each other?
Why can’t you align two frames with a simple linear sum? Imagine a star of brightness 100 in Frame 1 and 100 in Frame 2:
-
Aligned (overlap): 1 pixel of brightness
200. -
Misaligned (miss): 2 pixels of brightness
100each.
Linear addition gives 200 in both cases, so it is blind to overlap. To reward overlap, you must go at least second-order (quadratic), e.g., squaring the stack: \(200^2 = 40{,}000\) vs. \(100^2 + 100^2 = 20{,}000\). That extra +20,000 comes from the cross-correlation term \(2\,I_1 I_2\) in \((I_1 + I_2)^2 = I_1^2 + I_2^2 + 2\,I_1 I_2\).
Unlike Gaussian fitting (which multiplies your frame by a noiseless template \(G\)), multiplying two noisy frames together creates a noise-times-noise floor:
\[I_1 \cdot I_2 = (S + N_1)(S + N_2) = S^2 + S(N_1 + N_2) + \mathbf{N_1 N_2}\]
Summing that \(N_1 N_2\) floor over a region of interest (ROI) of \(P\) pixels adds a \(+P / \text{SNR}_\star^2\) penalty to the denominator, giving the effective pairwise alignment SNR of raw cross-correlation (Appendix A2 & A1):
\[\text{SNR}_{\text{xcorr, eff}} = p(\text{SNR}_{\text{xcorr}})\,\underbrace{\frac{\text{SNR}_\star}{\sqrt{2 + \dfrac{P}{\text{SNR}_\star^2}}}}_{\text{SNR}_{\text{xcorr}}}\]Physically, the dimensionless term \(P / \text{SNR}_\star^2\) measures how many independent noisy pixels (\(P\)) are competing against your star’s squared signal-to-noise (\(\text{SNR}_\star^2\)) over the ROI. Double the ROI with no extra stars inside, and \(P\) doubles with no extra signal, so cross-correlation SNR drops (scaling as \(1/\sqrt{P}\) in the \(N_1 N_2\)-dominated regime). Double the ROI across a uniform starfield that captures twice as many stars, however, and the added star signal keeps pixels-per-star constant while boosting the overall SNR by \(\sqrt{2}\) (as we’ll see in Section 3).
- High SNR (\(\text{SNR}_\star^2 \gg P\)): The \(P / \text{SNR}_\star^2\) penalty becomes small, so cross-correlation approaches the same linear \(\text{SNR}_\star / \sqrt{2}\) scaling.
- Mid to low SNR (\(P / \text{SNR}_\star^2 \gg 2\)): Empty sky pixels’ \(N_1 N_2\) noise drags the curve down quadratically (\(\propto \text{SNR}_\star^2 / \sqrt{P}\)), causing it to lose lock and drop to zero much earlier than Gaussian fitting. The wider the ROI (larger \(P\)), the earlier it collapses.
3. Comparing the Two: Crossover and the Low-SNR Cliff
Single Star vs. Multiple Stars: When Is There a Crossover?
At its core, the trade-off between the two methods is simple: cross-correlation pays a higher variance cost per pixel (from multiplying two noisy frames together, creating the \(N_1 N_2\) floor) in exchange for pooling all structured signal across the entire ROI into one combined shift estimate.
Now put the two methods side by side. For a single guide star, there is no crossover: Gaussian fitting correlates against the exact, noiseless shape (\(I_1 \cdot G\)), whereas raw cross-correlation multiplies by a noisy copy of that same shape (\(I_1 \cdot (G + N_2)\)) plus \(P\) empty sky pixels. Cross-correlation can catch up at high SNR, but it can never pass Gaussian fitting.
Where raw cross-correlation genuinely beats even multi-star Gaussian fitting is in a dense field of faint stars (or rich extended texture like the Moon or planets). Let \(\alpha\) be the dimensionless structure factor equal to the ROI’s total squared-signal energy divided by one guide star’s energy (for \(\alpha\) identical stars; see Appendix A2). Putting multi-star Gaussian fitting and full-ROI cross-correlation side by side reveals the crucial difference in where the lock-on factor \(p(\cdot)\) sits:
\[\text{SNR}_{\text{multi-Gauss, eff}} = p(\mathbf{\text{SNR}_\star})\,\frac{\sqrt{\alpha}\,\text{SNR}_\star}{\sqrt{2}}\]vs.
\[\text{SNR}_{\text{xcorr, eff}} = p(\mathbf{\text{SNR}_{\text{xcorr}}})\,\underbrace{\frac{\sqrt{\alpha}\,\text{SNR}_\star}{\sqrt{2 + \dfrac{P}{\alpha\,\text{SNR}_\star^2}}}}_{\text{SNR}_{\text{xcorr}}}\]Look at the argument inside \(p(\cdot)\) for each method when \(\alpha = 500\) faint stars sit inside a 100×100 ROI (\(P = 10{,}000\)):
- Below the crossover (\(\text{SNR}_\star \lesssim 3.8\)): To fit 500 Gaussians one by one, you first have to find each star. When every star sits below the single-star detection cliff (say \(\text{SNR}_\star = 1.5\)), individual fits just lock onto random skyglow clumps (\(p(\text{SNR}_\star) \to 0\)), so averaging 500 garbage shifts collapses. Cross-correlation pools all 500 stars coherently before picking the peak, so its combined \(\text{SNR}_{\text{xcorr}} \approx 10\) stays well above the cliff (\(p \approx 1\)) and cross-correlation wins decisively even when no individual star is visible.
- Above the crossover (\(\text{SNR}_\star \gtrsim 3.8\)): Once individual stars emerge clearly above skyglow, multi-star Gaussian fitting locks onto them reliably, avoids the \(N_1 N_2\) noise floor, and crosses back above cross-correlation.
Low Guide-Star Intensity: Breaking the \(1/\text{SNR}^2\) Law
What does that cliff in \(p(\text{SNR}_\star)\) actually feel like in total imaging time?
When the guide star is bright enough that the fitter locks on every frame, untracked stacking follows the same clean inverse-square rule as a tracked mount: halving the brightness means you need 4× more frames (\(N_{\text{tracked}} \propto 1/\text{SNR}_\star^2\)).
Now dial down the guide star’s single-frame brightness (by shooting at a long focal length, adding a narrowband filter, or shortening \(\Delta t\) to freeze trailing). Once \(\text{SNR}_\star\) drops below ~3 to 5, random clumps of Poisson skyglow elsewhere in your search window regularly look more like a Gaussian star than your faint guide star does. The fitter jumps off the star and locks onto shot noise.
Picture what happens when your fitter only locks onto the true guide star on 10% of frames and lands on random skyglow on the other 90%:
- Only
10%of your frames actually stack the faint hazy ring on top of itself; the other90%smear it randomly into the background. - Yet all
100%of your frames still dump skyglow noise into the final stack. - Because the aligned signal dropped
10×while the background noise stayed just as loud, catching back up to a tracked mount doesn’t take10×more frames. It takes100×more frames:
That single \(1/p^2\) factor is why the clean \(1/\text{SNR}_\star^2\) scaling breaks down as \(\text{SNR}_\star \to 0\) (derived in Appendix A1):
-
Above the cliff (\(\text{SNR}_\star \gtrsim 5\)): Every frame locks on (\(p \approx 1\)), so you stay on the tracked \(1/\text{SNR}_\star^2\) line (
4×more frames per halving). -
Across the cliff (\(\text{SNR}_\star \sim 4 \to 1\)): The lock-on rate \(p\) plunges sharply, and \(1/p^2\) shoots up by
~100×to1,000×. -
Near zero (\(\text{SNR}_\star \ll 1\)): Because \(p\) drops linearly with brightness (\(p \propto \text{SNR}_\star\)), halving overall brightness now costs
4×from dimmer signal plus another4×from rarer lucky lock-ons, locking you onto a fourth-power law (\(N_{\text{needed}} \propto 1/\text{SNR}_\star^4\), or16×more frames per halving).
Zooming out over a wider SNR range shows the full transition between the two asymptotes: above \(\text{SNR}_\star \approx 5\), untracked fitting hugs the cyan \(1/S^2\) tracked line; across the cliff (\(\sim 4 \to 1.2\)), it peels sharply upward by ~100× to 1,000×; and near zero, it settles cleanly onto the amber \(1/S^4\) (16× per halving) asymptote.
4. Try It Yourself: Hazy Ring + Guide Star Simulator
Drag the sliders below to test our unified Hazy Ring + Guide Stars scene live in your browser (pure Poisson photons + skyglow, assuming zero read noise, with zero shortcuts). Switch between Gaussian Fit and Cross-Correlation, dial down Guide Star Intensity (or increase \(N\)) to watch the hazy ring’s walls wash out, and then slide Number of Stars up toward 20 to see how pooling many faint stars helps cross-correlation recover lock!
Subtle detail to watch for: If you drag Guide Star Intensity all the way down and Short Exposures (N) up to
120, the hazy ring completely vanishes, yet you still see a bright dot at the guide-star spot! That dot is mostly a fake star from peak-selection bias: when the real star is buried in skyglow, the fitter picks the tallest random positive noise spike in the search box on every frame, and shifting them onto the same pixel pilesNpositive noise spikes on top of each other. Watch the hazy ring (which is outside the search box) to see whether alignment actually succeeded.
5. Practical Takeaways: A Playbook for Untracked Stacking
When you don’t have a good tracking mount, your choice of alignment method comes down to what is in your frame:
- Bright guide stars in view (\(\text{SNR}_\star \gtrsim 5\) per frame)? Use star-based Gaussian fitting (\(I \cdot G\)). Fitting a noiseless Gaussian template eliminates cross-correlation’s \(N_1 N_2\) sky-noise floor and gives sub-pixel accuracy, letting you match tracked performance as long as your guide stars stay above the detection cliff.
- Only faint stars (\(\text{SNR}_\star \lesssim 3\text{–}4\)), or bright extended texture (planets, Moon)? Pack as many stars or features into the frame as you can and use cross-correlation (\(I_1 \cdot I_2\)). Individual star fitting collapses below the single-star cliff, whereas cross-correlation pools the entire field coherently before picking the shift peak, recovering lock even when no individual star is visible.
-
Sparse, dim fields (long focal length, narrowband filters)? When you have neither bright guide stars nor a dense field of faint ones, untracked alignment hits the steep \(1/p^2\) cliff (where required exposure time jumps from
4×to16×per halving). That is the real physical point where you need a star tracker (or a dedicated unfiltered guide camera) to bring Earth’s rotation in externally and return to the clean \(\sqrt{N}\) linear world.
Coming up next: in a future post, we’ll demonstrate these trade-offs on real untracked night-sky exposures and compare them against iterative Expectation-Maximization (EM) alignment.
Appendix: Derivations
A1. The Lock-On Probability \(p(s)\), the \(1/p^2\) Penalty, and the \(1/S^4\) Scaling
Consider a search window containing \(M\) independent star-sized patches (1 true star with detection SNR \(s\), and \(M - 1\) pure skyglow patches). Assume each star-sized patch is modeled by a Gaussian PSF with pure Poisson photon statistics4. Even though raw pixel counts are non-negative Poisson numbers, we subtract the average skyglow \(B\) before scoring each patch (so empty sky patches fluctuate both above and below \(B\), giving positive and negative background-subtracted scores; when \(B \gg 1\), the zero-photon floor sits tens of \(\sigma\) below zero). Because each patch sums many independent pixels and photons, the Central Limit Theorem lets us model those background-subtracted matched-filter scores cleanly as \(Z_0 + s\) at the true star, and independent standard normal scores \(Z_1, \dots, Z_{M-1}\) at the \(M - 1\) empty skyglow patches.
To find the probability \(P_{\text{hit}}(s)\) that the true star beats every random noise bump: if the true star lands at some score \(z\) (density \(\phi(z - s)\)), it wins only if every single one of the other \(M - 1\) noise patches scores below \(z\) (probability \(\Phi(z)^{M-1}\), the CDF of the maximum order statistic). Integrating over all \(z\) gives:
\[P_{\text{hit}}(s) = \int_{-\infty}^{\infty} \underbrace{\phi(z - s)}_{\substack{\text{true star} \\ \text{scores } z}} \cdot \underbrace{\Phi(z)^{M-1}}_{\substack{\text{all } M-1\text{ noise} \\ \text{patches } < z}}\,dz\]Where does the detection cliff sit? Your fitter scans all \(M\) spots in the search box and picks whichever looks brightest. If a single empty sky spot exceeds a height \(\mu_M\) with tail probability \(q = 1 - \Phi(\mu_M)\), then across \(M\) independent spots the expected number of spots exceeding \(\mu_M\) is \(M q = M\,(1 - \Phi(\mu_M))\) (just as rolling 6 dice with \(q = 1/6\) yields an expected count of \(6 \times \frac{1}{6} = 1\) six). Setting that expected count to 1 finds the typical height of the tallest fake noise peak: \(1 - \Phi(\mu_M) \approx 1/M\) (the top 1% tail for \(M = 100\)). The CDF tail \(1 - \Phi(z) = \int_z^\infty \phi(t)\,dt\) is the area under the Gaussian PDF \(\phi(t) = \frac{1}{\sqrt{2\pi}} e^{-t^2/2}\); for large \(z\), that tail area is governed by the same exponential, \(1 - \Phi(z) \approx \frac{1}{z\sqrt{2\pi}}\,e^{-z^2/2}\). Keeping the leading exponential \(e^{-\mu_M^2/2} \approx 1/M\) gives:
That height is the “tallest fake star” ceiling your real star must beat (for \(M = 100\), \(\sqrt{2\ln 100} \approx 3.0\); keeping the \(\frac{1}{z\sqrt{2\pi}}\) prefactor refines the peak to \(\mu_M \approx 2.5\), as shown below).
Putting it all together for \(p(s)\): The lock-on probability \(p(s)\) used in the main text is directly related to the hit rate \(P_{\text{hit}}(s)\) by \(p(s) = \frac{P_{\text{hit}}(s) - 1/M}{1 - 1/M}\). We subtract \(1/M\) to separate genuine alignment from blind luck (even a zero-photon star gets guessed right \(1/M\) of the time, which just smears the ring flat with zero contrast). Because \(p(s)\) tracks \(P_{\text{hit}}(s)\) directly, everything we just worked out about the “tallest fake star” ceiling \(\mu_M \approx \sqrt{2\ln M}\) immediately tells us how \(p(s)\) behaves, without needing to evaluate the integral in closed form:
-
Above the tallest fake star (\(s \gg \sqrt{2\ln M}\)): \(P_{\text{hit}}(s)\) is close to
1, so \(p(s) \to 1\) (reliable lock every frame). - Crossing the ceiling (\(s \sim 3\text{–}4\) for \(M = 100\)): Once the real star dips below the tallest fake noise star, \(P_{\text{hit}}(s)\) and \(p(s)\) plunge steeply.
- Near zero (\(s \ll 1\)): Any smooth curve near \(s = 0\) behaves linearly to first order (differentiating the integral gives \(P_{\text{hit}}'(0) \approx \frac{\sqrt{2\ln M}}{M}\)), so \(p(s) \propto s\) scales linearly with brightness.
Because only the locked-on fraction \(p N\) of frames adds aligned target signal while all \(N\) frames add background noise:
\[\text{SNR}_{\text{stack}} \propto \frac{p \cdot N \cdot S_{\text{DSO}}}{\sqrt{N\,\bar{I}}} = p\sqrt{N}\,\text{SNR}_{\text{single}} \implies N_{\text{needed}} = \frac{1}{p^2}\,N_{\text{tracked}}\]Deep below the cliff where \(p \propto \text{SNR}_\star\), \(1/p^2 \propto 1/\text{SNR}_\star^2\) multiplies the tracked \(1/\text{SNR}_\star^2\) scaling to give the fourth-power law \(N_{\text{needed}} \propto 1/\text{SNR}_\star^4\) (16× more frames per halving).
A2. Raw Cross-Correlation SNR Over a \(P\)-Pixel ROI (Single & Multi-Star)
Consider two background-subtracted frames \(I_1(x) = S_x + N_{1,x}\) and \(I_2(x) = S_x + N_{2,x}\) over a \(P\)-pixel ROI, where \(S_x\) is the deterministic expected signal and \(N_{1,x}, N_{2,x}\) are independent zero-mean noise with skyglow-dominated variance \(B\). Expanding the zero-lag cross-correlation \(C = \sum_{x=1}^P I_1(x) I_2(x)\):
\[C = \sum_{x=1}^P \big(S_x^2 + S_x N_{2,x} + S_x N_{1,x} + N_{1,x} N_{2,x}\big)\]- Expected signal peak: \(\mathbb{E}[C] = \sum_{x=1}^P S_x^2 \equiv E_{\text{tot}}\).
- Noise variance: Because \(N_{1,x}\) and \(N_{2,x}\) are independent and zero-mean, all cross-terms are uncorrelated and their variances add: \(\text{Var}(C) = \sum_{x=1}^P (2 B S_x^2 + B^2) = 2 B E_{\text{tot}} + P B^2\).
Taking \(\mathbb{E}[C] / \sqrt{\text{Var}(C)}\) gives \(\text{SNR}_{\text{xcorr}} = E_{\text{tot}} / \sqrt{2 B E_{\text{tot}} + P B^2}\). For a single Gaussian guide star, its squared-signal energy is \(E_\star = B\,\text{SNR}_\star^2\) (by the matched filter relation \(\text{SNR}_\star^2 = \frac{1}{B}\sum_x S_x^2\)). More generally, if the ROI contains \(\alpha\) identical stars (or extended structure with total energy \(E_{\text{tot}} = \alpha\,E_\star = \alpha\,B\,\text{SNR}_\star^2\)), the \(B\) factors cancel cleanly:
\[\text{SNR}_{\text{xcorr}} = \frac{\alpha\,B\,\text{SNR}_\star^2}{\sqrt{2\alpha\,B^2\,\text{SNR}_\star^2 + P B^2}} = \frac{\sqrt{\alpha}\,\text{SNR}_\star}{\sqrt{2 + \dfrac{P}{\alpha\,\text{SNR}_\star^2}}}\]
Setting \(\alpha = 1\) recovers the single-star formula in Method 2. Comparing multi-star Gaussian fitting (which must detect each star individually, governed by \(p(\text{SNR}_\star)\)) against full-ROI cross-correlation (which pools all \(\alpha\) stars coherently before picking the global shift peak, governed by \(p(\text{SNR}_{\text{xcorr}})\)):
- Bright multi-star fields (\(\text{SNR}_\star \gtrsim 4\text{–}5\)): Every star is individually detectable (\(p(\text{SNR}_\star) \approx 1\)), so multi-star Gaussian fitting beats raw cross-correlation by avoiding the \(+P/(\alpha\,\text{SNR}_\star^2)\) floor from \(N_1 N_2\).
- Dense faint starfields (\(\text{SNR}_\star \lesssim 3\text{–}4\), large \(\alpha\)): Individual star detection fails (\(p(\text{SNR}_\star) \to 0\)), whereas cross-correlation’s pooled peak stays well above the cliff whenever \(\alpha\,\text{SNR}_\star^2 \gtrsim \text{few}\times\sqrt{P}\), winning even when no single star is visible.
- Amorphous extended targets (planets, Moon, solar surface): No Gaussian point peaks exist, while \(\alpha\,\text{SNR}_\star^2 \gg P\) makes the \(N_1 N_2\) penalty negligible, so cross-correlation wins by locking onto the whole textured surface at once.
-
Random fluctuations partially cancel out when summed: independent variances add linearly as \(N\), so the standard deviation (noise amplitude) grows as \(\sqrt{N}\), the same scaling as Poisson shot noise. ↩
-
Technically, the template \(G\) depends on the star’s Point Spread Function (PSF, width \(\sigma_{\text{PSF}}\)), which for distant point sources is set by the telescope’s optics through Fraunhofer diffraction plus atmospheric seeing. To first order, modeling it as a symmetric Gaussian introduces negligible error on the center estimate \(\hat{\mu}\): \(\sigma_{\text{PSF}}\) can be averaged accurately across many stars or frames, and by symmetry, small width or shape mismatches are orthogonal to position shifts and only enter at second order. ↩
-
From Fisher information for a 2D Gaussian profile \(S_\star G(\vec{r})\) in uniform skyglow variance \(B\) (assuming constant intensity during the exposure so pixel noise is independent), \(\mathcal{I}(\mu_x) = \iint \frac{S_\star^2 (\partial G/\partial x)^2}{B}\,dx\,dy = \frac{S_\star^2}{8\pi\sigma_{\text{PSF}}^4 B}\), while matched-filter detection gives \(\text{SNR}_\star = \frac{S_\star}{2\sqrt{\pi}\,\sigma_{\text{PSF}}\sqrt{B}}\). By the Cramér–Rao bound, no unbiased estimator can beat \(\sigma_{\hat{\mu}} \ge 1/\sqrt{\mathcal{I}(\mu_x)} = \sqrt{2}\,\sigma_{\text{PSF}} / \text{SNR}_\star\). In the opposite bright-star limit where the star’s own shot noise dominates (\(S_\star G \gg B\)), the same bound gives \(\sigma_{\hat{\mu}} \ge \sigma_{\text{PSF}} / \text{SNR}_\star\) (identical scaling without the \(\sqrt{2}\)). ↩
-
A real telescope star is not an exact Gaussian: it is an Airy diffraction pattern convolved with atmospheric seeing (often closer to a Moffat profile), and individual pixels follow discrete Poisson statistics rather than a continuous normal distribution. However, once atmospheric seeing blurs the Airy rings and you sum Poisson skyglow counts across the PSF aperture, a Gaussian PSF with normal matched-filter statistics is a very accurate approximation for both the peak SNR and the detection threshold. ↩