One possible photon stream
Orange ticks are individual arrivals. The dashed purple line is elapsed exposure, not a fitted parameter.
Individual arrivals are unpredictable. Their count distribution follows a simple law.
Orange ticks are individual arrivals. The dashed purple line is elapsed exposure, not a fitted parameter.
Playback reveals one cached arrival stream and fixed-quantile coupled count histograms. Moving the slider or showing the Gaussian never resamples photons. The 3,000 histogram replicates are not 3,000 simulated event timelines.
The top panel is one homogeneous Poisson process with independent exponential waiting times, −log(U)/r, for uniform U in (0, 1). The source has known rate r. There is no background, detector dead time, saturation, clustering or time-varying rate.
At exposure t, N ∼ Poisson(λ = rt). Its expectation and variance both equal λ; its SD is √λ. For positive λ, relative count SD is 1/√λ. These are repeated-sampling properties of a known-rate model, not a confidence or credible interval inferred from one realised photon count.
The histogram shows 3,000 independent Poisson draws at each exposure. Counts are obtained by exact inverse-CDF sampling, using the Poisson recurrence, not a Normal approximation. One uniform quantile per replicate is held fixed across all 61 cached frames; this couples each replicate monotonically in exposure. Its cross-frame increments are not independent Poisson increments, so only the top panel is an actual event timeline.
The comparison Normal has mean λ and variance λ. Its probability in an integer bin k is Φ((k + 0.5 − λ)/√λ) − Φ((k − 0.5 − λ)/√λ), a continuity correction. Thus dots, bars and line all show probability per integer count, not a mix of density and mass. No negative tail is renormalised away.
The mass below −0.5 becomes impossible negative counts after rounding. At low λ this and the symmetry mismatch matter. At zero exposure or rate, the Poisson is a point mass at zero, SD is zero, relative SD is undefined, and no nondegenerate Gaussian is drawn. The plotted window omits only small outer tails; probabilities always retain their original normalisation.
The implementation supports 0 ≤ λ ≤ 160, the entire control range, with floating-point Poisson recurrence and open-interval seeded uniforms. Changing exposure extends the same underlying stream; changing rate rescales its unit-rate waiting times. New realisation changes both random experiments; Reset restores them.