Wavefront ControlTECHNICAL REPORTStep DM Floor: 0.3198 (f·τ₀)⁻⁵/⁶ (8.6 nm @ 1 kHz)WFS Linear Fit: 0.1872 (f·τ₀)⁻⁵/⁶ (5.3 nm @ 1 kHz)WFS/DM Ratio: 0.585× Full | 0.07× on 64² DMStep DM vs 1-Fr Lag: 3.11× Lower RMS (9.7× Var)Sub-1% 2D Theory–milkatmturb Parity

Exact analytical and GPU milkatmturb quantification of two fundamental temporal discretization limits in atmospheric turbulence: (1) post-processing linear interpolation of a noiseless boxcar-integrating WFS (σ = 0.1872 (f·τ₀)⁻⁵/⁶ rad; 5.29 nm @ 1 kHz, 2.97 nm @ 2 kHz on Maunakea 0.80" seeing, plunging as f⁻² to 0.34 nm @ 1 kHz over 64×64 DM modes), and (2) an optimal zero-lag instantaneous step-response DM (σ = √(9/88) (f·τ₀)⁻⁵/⁶ = 0.3198 (f·τ₀)⁻⁵/⁶ rad; 8.58 nm @ 1 kHz, 4.87 nm @ 2 kHz, 3.11× lower RMS / 9.70× lower variance than 1-frame servo lag).

Referenced Simulation Reports

No matching simulation reports staged locally yet.

Technical Report: WFS & DM Framerate Temporal Discretization Limits in Atmospheric Turbulence

  1. Effect 1 — WFS Post-Processing Temporal Fit Error: Residual WFE between the true continuous atmospheric wavefront φ(x, t) and the zero-lag linear interpolation of consecutive noiseless, boxcar-exposure-averaged WFS frames (T = 1 / f_WFS).
  2. Effect 2 — DM Update Time-Discretization Error: Residual WFE of an optimal zero-lag discrete-step deformable mirror (instantaneous mechanical response, piecewise-constant surface updated at f_DM = 1 / T).

Executive Summary & Headline Laws (Pure Kolmogorov Frozen-Flow Limit, D_φ(τ) = (τ / τ₀)^{5/3}):

  • Effect 2 (Optimal Zero-Lag Step DM): The MSE-optimal constant DM surface over [kT, (k+1)T] is identically the interval boxcar average d_k* = φ̄_k, with exact spectral transfer |E_DM(νT)|² = 1 − sinc²(νT) and closed-form WFE: σ_DM(f) = √(9/88) · (f · τ₀)⁻⁵/⁶ = 0.3198 · (f · τ₀)⁻⁵/⁶ rad (8.58 nm @ 1 kHz, 4.87 nm @ 2 kHz for Maunakea 0.80" seeing; 8.22 nm @ 1 kHz with realistic l₀ = 5 mm inner scale). This pure time-discretization floor is 3.11× smaller in RMS (9.70× smaller in variance) than a 1-frame-delayed causal step DM (σ_lag1 = 0.9960 · (f·τ₀)⁻⁵/⁶ rad, 26.2 nm @ 1 kHz).
  • Effect 1 (Boxcar WFS + Post-Processing Linear Interpolation): Anchoring φ̄_k at exposure midpoints t_k = (k + ½)T cancels linear wavefront drift identically (|E_WFS,lin(νT)|² = 1 + sinc²(νT)·(2+cos 2πνT)/3 − 2 sinc³(νT) ≈ (49/2880)(2πνT)⁴), yielding exact closed-form WFE: σ_WFS,lin(f) = 0.1872 · (f · τ₀)⁻⁵/⁶ rad (5.29 nm @ 1 kHz, 2.97 nm @ 2 kHz; 4.70 nm @ 1 kHz with l₀ = 5 mm). Across the full unfiltered atmosphere, WFS linear interpolation achieves 1.71× lower RMS (2.92× lower variance) than a step DM at the same framerate — equivalent to running a step DM 1.90× faster (f_DM = 1.903 · f_WFS).
  • Counter-Intuitive Anti-Aliasing Discovery: Because boxcar exposure integration attenuates frequencies above Nyquist (sinc(νT)), a boxcar-integrating WFS + linear interpolation actually outperforms instantaneous (zero-exposure) delta-sampled linear interpolation by 4.0% RMS (8.1% variance) on full Kolmogorov turbulence (0.1872 vs. 0.1946), even though boxcar averaging doubles low-frequency curvature bias (49/2880 vs. 24/2880).
  • Crucial Spatial-Cutoff Regime Split (Real Finite-Order DMs): Above the wind-crossing corner frequency f_× ≈ v / d_act (~70–170 Hz for a 64×64 DM), all DM-correctable spatial modes become temporally smooth. Effect 2 transitions to σ_DM ∝ f⁻¹ (4.72 nm @ 1 kHz, 2.36 nm @ 2 kHz), whereas Effect 1 plunges as σ_WFS,lin ∝ f⁻² (0.34 nm @ 1 kHz, 0.08 nm @ 2 kHz — 14× to 29× smaller than step-DM error!). Consequently, 1–2 kHz WFS telemetry reconstructs DM-scale turbulence to sub-nanometer precision, while DM step discretization sets the hard zero-lag temporal floor unless the DM runs at a higher update rate or smoothly ramps/pre-shapes between updates.

1. Exact Mathematical Formulation & Physical Duality

Let φ̃(x, t) = φ(x, t) − ⟨φ(·, t)⟩_P denote the instantaneous pupil-piston-removed atmospheric optical path difference (OPD) over the telescope pupil P. Because spatial piston removal over a time-invariant pupil commutes with all linear temporal operators, every metric below is evaluated directly on φ̃(x, t) in physical nanometers (OPD [nm] = φ [rad] · λ_ref / (2π)).

For any frame rate f (T = 1 / f), define the exposure-integrated (boxcar-averaged) wavefront on frame k, covering interval I_k = [kT, (k+1)T] with midpoint t_k = (k + ½)T:

φ̄_k(x) = (1 / T) ∫_{kT}^{(k+1)T} φ̃(x, t) dt

Remarkable Duality Between Effect 1 and Effect 2

  1. Effect 2 (Optimal Instantaneous Step-Response DM — Zero-Order Hold): Minimizing the interval mean-squared wavefront error J(d_k) = (1/T) ∫_{I_k} [φ̃(x, t) − d_k(x)]² dt over a constant mirror shape d_k(x) yields the unique global optimum:
   d_k*(x) = φ̄_k(x)     (interval temporal mean)

Thus the optimal zero-lag discrete-step DM holds exactly the same boxcar-averaged wavefront φ̄_k that an ideal integrating WFS measures over I_k.

  1. Effect 1 (Boxcar WFS + Post-Processing Linear Interpolation — First-Order Hold): Assigning each WFS frame measurement φ̄_k to its exposure midpoint t_k = (k + ½)T and linearly interpolating over t = t_k + u·T (u ∈ [0, 1]) gives:
   φ̂_WFS,lin(x, t_k + uT) = (1 − u) φ̄_k(x) + u φ̄_{k+1}(x)

Equivalently, Effect 1 is the exact error of a continuous linear-ramp (First-Order Hold) DM connecting the optimal midpoint shapes φ̄_k — directly quantifying the gain of replacing discrete DM steps with continuous piecewise-linear actuation at the same cadence.

Exact Spectral Transfer Functions & Closed-Form Asymptotes

For a stationary wavefront with two-sided temporal PSD S(ν) and temporal structure function D(τ) = ⟨[φ̃(t+τ) − φ̃(t)]²⟩, averaging the squared error over an interval yields exact closed-form spectral transfer functions |E(νT)|² (where sinc(x) = sin(πx) / (πx)):

Effect 2 (Optimal Step DM):
  |E_DM(νT)|²      = 1 − sinc²(νT)
                   = (π² / 3) (νT)² + O((νT)⁴)               [low-freq: σ ∝ f⁻¹]
  σ²_DM(T)         = (1 / T) ∫_0^T (1 − τ/T) D(τ) dτ

Effect 1 (Boxcar WFS + Linear Interpolation):
  |E_WFS,lin(νT)|² = 1 + sinc²(νT) · (2 + cos(2πνT))/3 − 2 sinc³(νT)
                   = (49 / 2880) (2πνT)⁴ + O((νT)⁶)          [low-freq: σ ∝ f⁻²]

Reference Schemes:
  |E_inst,lin(νT)|² = 1 + (2 + cos(2πνT))/3 − 2 sinc²(νT)    [low-freq: (24/2880)(2πνT)⁴, aliases → 2.0]
  |E_boxmid(νT)|²   = (1 − sinc(νT))²                        [low-freq: (5/2880)(2πνT)⁴]
  |E_DM,lag1(νT)|²  = 1 + sinc²(νT) · (1 − 2 cos(2πνT))      [low-freq: 4π²(νT)²]

Two fundamental asymptotic regimes emerge immediately:

Temporal Discretization / Reconstruction Scheme Exact C_var Exact C_rms (σ_φ = C_rms (f·τ₀)⁻⁵/⁶) Var vs. Optimal Step DM RMS vs. Optimal Step DM Low-Freq Slope |E|²
Effect 1: Boxcar WFS + Linear Interp (Zero Lag) 0.035033 0.187171 0.343× (1/2.92) 0.585× (1/1.71) (ν/f)⁴
Inst-Sample Linear Interp (zero exposure time) 0.037879 (5/132) 0.194625 0.370× 0.609× (ν/f)⁴
Boxcar Midpoint Bias Only (φ(t_k) − φ̄_k) 0.015845 0.125876 0.155× (45.2% of E1) 0.394× (ν/f)⁴
Effect 2: Optimal Zero-Lag Step DM (d_k = φ̄_k) 0.102273 (9/88) 0.319801 1.000× (ref) 1.000× (ref) (ν/f)²
Midpoint-Sampled Step DM (d_k = φ(t_k)) 0.118118 0.343682 1.155× 1.075× (ν/f)²
Causal Start-of-Frame Hold (d_k = φ(kT), 0-fr lag) 0.375000 (3/8) 0.612372 3.667× 1.915× (ν/f)²
1-Frame-Lag Causal Step DM (d_k = φ̄_{k-1}) 0.991964 0.995974 9.699× 3.114× (ν/f)²
2-Frame-Lag Causal Step DM (d_k = φ̄_{k-2}) 3.146302 1.773782 30.764× 5.547× (ν/f)²
  Effect 2 (Step DM, smooth regime):        σ_DM(f)      = (1 / √12) · σ_φ̇ / f        ≈ 0.2887 · σ_φ̇ / f
  Effect 1 (WFS Linear, smooth regime):     σ_WFS,lin(f) = √(49/2880) · σ_φ̈ / f²      ≈ 0.1304 · σ_φ̈ / f²

where σ_φ̇ [nm/s] is the RMS wavefront temporal slew rate and σ_φ̈ [nm/s²] is the RMS wavefront temporal acceleration.

Temporal Discretization Physics: Real 20 kHz Wavefront Trace, Residual Waveforms, Intra-Frame Profiles & Spectral Error Transfer Functions (2x2)
Temporal Discretization Physics: Real 20 kHz Wavefront Trace, Residual Waveforms, Intra-Frame Profiles & Spectral Error Transfer Functions (2x2)

Notice three vivid physical features confirmed directly in Figure 1:

  1. Linear-slope cancellation (panels a–b): Whenever the atmospheric wavefront drifts linearly across an exposure, the optimal step DM develops a sawtooth error that flips sign at every frame midpoint, whereas boxcar WFS + linear interpolation tracks the ramp with zero residual and deviates only at sharp curvature kinks.
  2. Opposite intra-frame error geometries (panel c): Step-DM error forms a U-shaped bathtub — minimal at frame center u = 0.5 (0.39× RMS) and peaking at step boundaries u = 0, 1 (1.63× RMS) — whereas WFS linear interpolation forms an arch — minimal at exposure midpoints u = 0, 1 (0.67× RMS, the irreducible boxcar curvature bias accounting for 45.2% of total variance) and peaking at the inter-frame midpoint u = 0.5 (1.20× RMS, where chord sag adds constructively to boxcar bias). The 512×512 milkatmturb measurements fall right on top of the exact analytical curves.
  3. Why boxcar averaging beats instantaneous sampling on full turbulence (panel d): At low frequencies (ν/f < 0.2), boxcar + linear interpolation incurs 49/24 = 2.04× higher variance than delta-sampled linear interpolation because boxcar smoothing and linear chord sag both bend toward the concave side of the waveform. Above Nyquist (ν/f > 0.5), however, instantaneous sampling aliases high-frequency power back into the passband with up to 2.0× variance amplification, whereas boxcar averaging suppresses aliasing via sinc(νT) and caps the high-frequency plateau at 1.0. Integrated against the ν⁻⁸/³ Kolmogorov tail, anti-aliasing wins by 8.1% in variance (4.0% RMS).

2. Master Quantitative Results: WFE vs. Framerate (25–4,000 Hz)

All numerical simulations execute the real compiled GPU milk-fpsexec-atmturb-mkwfs binary in isolated /dev/shm sandboxes using the default 7-layer Maunakea von Kármán profile (seeing = 0.80" @ 0.50 μm, r₀ = 10.73 cm, L₀_eff = 35.0 m, τ₀ = 3.46 ms, Subaru 7.95 m Nasmyth-IR pupil, raw piston-removed OPD 1685 nm RMS), evaluated across 3 independent seeds at 20 kHz (≤ 1 kHz, 3.0 s total) and 40 kHz (≥ 2 kHz, 1.5 s total, ≥ 10 sub-steps per frame).

Framerate f Period T f · τ₀ Effect 1 WFS Lin Theory (l₀=0 / 5 mm) [nm] Effect 1 512² Sim [nm] Effect 1 64² DM [nm] Effect 2 Step DM Theory (l₀=0 / 5 mm) [nm] Effect 2 512² Sim [nm] Effect 2 64² DM [nm] Ref: 1-Fr Lag Sim [nm]
25 Hz 40.00 ms 0.09 114.17 / 114.11 115.16 104.60 159.16 / 159.11 158.55 152.60 445.79
50 Hz 20.00 ms 0.17 64.19 / 64.08 64.47 50.46 93.89 / 93.81 93.71 85.21 272.37
100 Hz 10.00 ms 0.35 36.04 / 35.86 35.73 21.79 54.64 / 54.53 54.40 45.51 162.01
125 Hz 8.00 ms 0.43 29.93 / 29.72 29.47 15.92 45.81 / 45.67 45.50 36.84 136.47
200 Hz 5.00 ms 0.69 20.23 / 19.95 19.44 7.43 31.51 / 31.33 31.04 23.36 94.58
250 Hz 4.00 ms 0.87 16.80 / 16.48 15.85 4.98 26.35 / 26.15 25.79 18.75 79.28
400 Hz 2.50 ms 1.39 11.35 / 10.95 10.08 2.05 18.05 / 17.80 17.31 11.77 54.36
500 Hz 2.00 ms 1.73 9.43 / 8.97 8.02 1.33 15.07 / 14.79 14.25 9.42 45.30
1000 Hz 1.00 ms 3.46 5.29 / 4.70 3.70 0.34 8.58 / 8.22 7.64 4.72 25.26
2000 Hz 0.50 ms 6.93 2.97 / 2.29 1.48 0.08 4.87 / 4.46 4.01 2.36 13.81
2500 Hz 0.40 ms 8.66 2.46 / 1.78 1.06 0.05 4.05 / 3.64 3.23 1.89 11.24
4000 Hz 0.25 ms 13.85 1.66 / 1.01 0.49 0.02 2.75 / 2.35 2.03 1.18 7.21
Interactive Master WFE vs Framerate, WFS/DM Ratio Across Spatial Cutoffs, Effect 1 Interpolation Deep Dive & Effect 2 DM Dynamics Hierarchy (2x2)
↓ Static PNG
Master WFE vs Framerate, WFS/DM Ratio Across Spatial Cutoffs, Effect 1 Interpolation Deep Dive & Effect 2 DM Dynamics Hierarchy (2x2)

Effect 1 Deep Dive: Post-Processing WFS Interpolation Alternatives (512² Sim & Exact l₀=0 Theory)

Can higher-order post-processing interpolation beat simple linear interpolation on noiseless boxcar WFS telemetry? Table 2 compares five post-processing reconstructions (milkatmturb 512² measured values, with exact continuous l₀ = 0 theory in parentheses):

WFS Rate f_WFS Boxcar + Linear (Effect 1) [nm] Inst-Sample Linear (no boxcar) [nm] Boxcar Midpoint Bias Only [nm] Boxcar + Catmull-Rom Cubic [nm] Boxcar + Area-Preserving Histospline [nm]
50 Hz 64.47 (64.19) 66.82 (66.76) 43.02 (43.19) 57.45 (57.25) 52.88 (52.72)
100 Hz 35.73 (36.04) 36.85 (37.48) 23.57 (24.24) 31.71 (32.14) 29.07 (29.59)
200 Hz 19.44 (20.23) 19.77 (21.03) 12.38 (13.60) 17.12 (18.04) 15.59 (16.61)
500 Hz 8.02 ( 9.43) 7.79 ( 9.80) 4.66 ( 6.34) 6.83 ( 8.40) 6.02 ( 7.74)
1000 Hz 3.70 ( 5.29) 3.41 ( 5.50) 1.88 ( 3.55) 3.00 ( 4.71) 2.54 ( 4.34)
2000 Hz 1.48 ( 2.97) 1.25 ( 3.08) 0.62 ( 1.99) 1.08 ( 2.64) 0.80 ( 2.43)
4000 Hz 0.49 ( 1.66) 0.37 ( 1.72) 0.17 ( 1.11) 0.29 ( 1.48) 0.14 ( 1.36)

Key Effect 1 findings:

Effect 2 Deep Dive: DM Time Discretization vs. Lag & Finite Actuator Response (512² Sim)

DM Rate f_DM Optimal Step DM (Effect 2) [nm] (l₀=0) Midpoint Step DM [nm] Causal ZOH0 (0-fr lag) [nm] 1-Fr Lag DM [nm] 2-Fr Lag DM [nm] Step + RC 60 μs / 250 μs [nm] 250 μs RC (Lead-Comp) [nm]
50 Hz 93.71 (93.89) 103.11 176.12 272.37 456.61 93.27 / 91.66 91.60
100 Hz 54.40 (54.64) 59.28 102.77 162.01 276.87 53.84 / 51.97 51.84
200 Hz 31.04 (31.51) 33.42 58.89 94.58 163.84 30.37 / 28.40 28.08
500 Hz 14.25 (15.07) 15.00 27.15 45.30 79.80 13.45 / 12.07 10.97
1000 Hz 7.64 ( 8.58) 7.89 14.46 25.26 45.39 6.77 / 7.21 4.75
2000 Hz 4.01 ( 4.87) 4.07 7.67 13.81 25.45 3.19 / 6.41 2.18
4000 Hz 2.03 ( 2.75) 2.07 3.76 7.21 13.62 1.71 / 6.28 1.53

Key Effect 2 findings:


3. Spatial Resolution, Physical Inner Scale & DM Spatial-Cutoff Regimes

A critical finding of this study is the strong coupling between spatial cutoff and temporal framerate scaling under Taylor frozen flow (ν = k · v).

3.1 Simulation Grid Resolution & Physical Inner-Scale Convergence

On a discrete turbulence grid with master pixel scale Δx_master, spatial frequencies terminate at k_Nyq = 1 / (2 Δx_master) (further rolled off near Nyquist by Keys bicubic interpolation), imposing a temporal ceiling ν_grid ≈ v · k_Nyq. For a 256×256 Subaru grid (Δx_master = 16.6 mm), the 6.5 m/s boundary layer terminates at 196 Hz, artificially accelerating high-rate WFE decay above 500 Hz. Increasing resolution to 512×512 (Δx_master = 8.3 mm) and 1024×1024 (Δx_master = 4.1 mm) converges cleanly onto both the physical atmospheric inner scale (l₀ = 5 mm) and the exact 2D Keys-bicubic analytical prediction to < 1%:

Freq f 256² Sim DM / WFS (2D Th) [nm] 512² Sim DM / WFS (vs. 2D Th) [nm] 1024² Sim DM / WFS (2D Th) [nm] 1024² + l₀=5 mm DM / WFS [nm] Exact Cont l₀=0 DM / WFS [nm]
100 Hz 53.94 / 34.71 (53.61/34.43) 54.40 / 35.73 (+0.2%) 54.93 / 36.08 (54.53/35.86) 54.86 / 35.98 54.64 / 36.04
200 Hz 30.24 / 17.97 (30.03/17.80) 31.04 / 19.44 (+0.3%) 31.55 / 20.06 (31.32/19.92) 31.46 / 19.92 31.51 / 20.23
500 Hz 13.40 / 6.59 (13.25/ 6.40) 14.25 / 8.02 (+0.5%) 14.82 / 8.89 (14.72/ 8.84) 14.70 / 8.71 15.07 / 9.43
1000 Hz 6.96 / 2.64 ( 6.87/ 2.49) 7.64 / 3.70 (+0.8%) 8.15 / 4.50 ( 8.09/ 4.45) 8.04 / 4.33 8.58 / 5.29
2000 Hz 3.52 / 0.87 ( 3.48/ 0.76) 3.95 / 1.48 (+0.8%) 4.34 / 2.07 ( 4.31/ 2.01) 4.26 / 1.95 4.87 / 2.97

(Note: Unobstructed circular D = 7.95 m pupil vs. Subaru Nasmyth-IR annular + V-spider pupil at 512×512 agrees to < 0.4% across all framerates — confirming pupil obscuration geometry has negligible effect on temporal framerate errors.)

3.2 DM Spatial-Cutoff & Zernike Modal Decomposition

Because spatial projection onto a finite-actuator DM commutes with temporal averaging, interpolation, and step holding, we isolate the DM-correctable temporal discretization error (excluding static spatial fitting error) across realistic DM actuator grids (16×16 to 64×64 across D = 7.95 m):

DM Spatial Cutoff (D = 7.95 m) Cutoff k_c Wavefront Slew σ_φ̇ 100 Hz DM / WFS [nm] 500 Hz DM / WFS [nm] 1000 Hz DM / WFS [nm] 2000 Hz DM / WFS [nm]
16x16 DM (8 c/pup) 1.01 m⁻¹ 11752 nm/s 33.16 / 6.69 6.65 / 0.31 3.33 / 0.11 1.66 / 0.04
32x32 DM (16 c/pup) 2.01 m⁻¹ 14099 nm/s 39.58 / 13.83 8.02 / 0.70 4.01 / 0.23 2.00 / 0.08
50x50 SCExAO DM (23 c/pup) 2.89 m⁻¹ 15381 nm/s 42.74 / 18.45 8.75 / 1.07 4.38 / 0.35 2.18 / 0.12
64x64 AO3k DM (30 c/pup) 3.77 m⁻¹ 16349 nm/s 44.87 / 21.56 9.31 / 1.43 4.66 / 0.47 2.33 / 0.16

And decomposing the exact Subaru 7.95 m pupil wavefront onto orthonormal Zernike modes Z2–Z66 (n = 1..10):

Zernike Modal Band (Subaru 7.95 m) 100 Hz DM / WFS [nm] 500 Hz DM / WFS [nm] 1000 Hz DM / WFS [nm] 2000 Hz DM / WFS [nm]
Tip / Tilt (Z2–Z3, n=1) 11.33 / 0.636 2.27 / 0.035 1.13 / 0.014 0.56 / 0.005
Defocus & Astigmatism (Z4–Z6, n=2) 10.13 / 0.903 2.03 / 0.044 1.01 / 0.016 0.50 / 0.006
Low-Order (Z7–Z15, n=3–4) 13.81 / 1.648 2.77 / 0.080 1.38 / 0.028 0.69 / 0.010
All LLOWFS Modes (Z2–Z15) 20.54 / 1.984 4.11 / 0.098 2.05 / 0.035 1.02 / 0.013
Mid-Order (Z16–Z66, n=5–10) 19.69 / 3.939 3.95 / 0.200 1.97 / 0.069 0.98 / 0.025
Interactive Spatial Grid Convergence, DM Spatial-Cutoff Transition, Radial Error PSD & Zernike Modal Breakdown (2x2)
↓ Static PNG
Spatial Grid Convergence, DM Spatial-Cutoff Transition, Radial Error PSD & Zernike Modal Breakdown (2x2)

Look at the profound practical takeaway from Figure 3:


4. Atmospheric Sensitivity: Universal τ₀ Collapse, Boiling, Diffraction & Airmass

To verify generality beyond the median Maunakea case, we swept seeing, wind velocity, non-stationary wind gusts, outer scale, Fourier eddy boiling, Rytov Fresnel diffraction, and zenith angle in milkatmturb (512×512 Subaru pupil):

Atmospheric Condition (milkatmturb 512²) τ₀ @ 500 nm 500 Hz WFS / DM [nm] 1000 Hz WFS / DM [nm] Rel. to Baseline (500 Hz DM)
Default Maunakea (0.80", 1.0× wind, L₀=35 m, z=0°) 3.46 ms 8.02 / 14.25 3.70 / 7.64 1.00×
Good Seeing (0.40", r₀ = 21.5 cm) 6.59 ms 4.69 / 8.32 2.16 / 4.46 0.58×
Median Seeing (0.60", r₀ = 14.3 cm) 4.53 ms 6.41 / 11.37 2.95 / 6.09 0.80×
Poor Seeing (1.20", r₀ = 7.1 cm) 2.36 ms 11.04 / 19.57 5.08 / 10.48 1.37×
Slow Wind (0.5×, v_{5/3} = 4.9 m/s) 6.93 ms 3.70 / 7.57 1.48 / 3.93 0.53×
High Wind (2.0×, v_{5/3} = 19.5 m/s) 1.73 ms 15.86 / 25.65 8.03 / 14.18 1.80×
Boundary Layer Only (6.5 m/s) 5.19 ms 4.87 / 9.79 1.75 / 5.05 0.69×
Jet Stream Only (22.0 m/s) 1.53 ms 16.89 / 28.04 8.54 / 15.41 1.97×
Turbulent von Kármán Wind (σ_w = 0.35 v, 4 seeds) 3.46 ms 8.96 / 15.43 4.25 / 8.34 1.08×
Outer Scale L₀ = 1000 m (fixed r₀ = 10.7 cm) 3.46 ms 8.33 / 14.88 3.84 / 7.96 1.04×
Outer Scale L₀ = 1000 m (fixed 0.80" → r₀=12.6 cm) 4.06 ms 7.31 / 13.06 3.37 / 6.99 0.92×
Zenith Angle z = 30° (airmass = 1.155) 3.33 ms 8.26 / 14.63 3.85 / 7.86 1.03×
Fourier Rytov Fresnel (0.50 μm, scint σ_A) 3.46 ms 6.22 / 12.86 2.76 / 6.74 0.90×
Fourier Rytov Fresnel (0.75 μm, scint σ_A) 3.46 ms 6.35 / 13.07 2.84 / 6.86 0.92×

Departure from Frozen Flow: Scale-Dependent Fourier Eddy Boiling (AR(1) vs. AR(2))

Real turbulence is not strictly frozen — eddies decohere in their co-moving frame (boil_mode = 1 Ornstein-Uhlenbeck AR(1) vs. boil_mode = 2 differentiable damped-oscillator AR(2) in milkatmturb, evaluated on a matched 256² / 10 kHz grid against boil_mode = 0):

Fourier Boiling Model (milkatmturb) 100 Hz DM / WFS Ratio 500 Hz DM / WFS Ratio 1000 Hz DM / WFS Ratio
AR(1) Boiling (auto 0.15 v) 2.06× / 2.70× 3.48× / 6.00× 4.62× / 10.41×
AR(1) Strong Boiling (3.0 m/s) 2.84× / 3.82× 4.99× / 8.72× 6.69× / 15.24×
AR(2) Boiling (auto 0.15 v) 1.01× / 1.02× 1.01× / 1.03× 1.02× / 1.04×
AR(2) Strong Boiling (3.0 m/s) 1.07× / 1.07× 1.08× / 1.10× 1.08× / 1.11×
Universal Dimensionless Collapse, Seeing/Wind/Gust Envelopes, Fourier Eddy Boiling & Outer Scale/Fresnel/Zenith Sensitivity (2x2)
Universal Dimensionless Collapse, Seeing/Wind/Gust Envelopes, Fourier Eddy Boiling & Outer Scale/Fresnel/Zenith Sensitivity (2x2)

Key atmospheric physics takeaways:

  1. Universal f · τ₀ collapse (panel a): Across a 3× seeing span (0.40"–1.20"), 4× wind-speed span (0.5×–2.0×), and single-layer boundary (6.5 m/s) vs. jet-stream (22 m/s) extremes, every frozen-flow simulation collapses directly onto 0.3198 (f·τ₀)⁻⁵/⁶ (Step DM) and 0.1872 (f·τ₀)⁻⁵/⁶ (WFS Linear) — confirming τ₀ alone governs the full-atmosphere framerate error!
  2. AR(1) vs. AR(2) eddy boiling (panel c) reveals a stark physical distinction:
  1. Outer scale L₀, Fresnel diffraction & zenith angle (panel d):

5. 2D Subaru Pupil Residual Morphology

Inspecting instantaneous 2D residual maps on the 512×512 Subaru 7.95 m Nasmyth-IR pupil at 100, 500, and 2,000 Hz (matched symmetric colorbars per framerate column) visually illustrates both the amplitude reduction and spatial-scale whitening:

Subaru 7.95 m Nasmyth-IR Pupil Instantaneous Residual Maps at 100, 500, and 2000 Hz (2x4)
Subaru 7.95 m Nasmyth-IR Pupil Instantaneous Residual Maps at 100, 500, and 2000 Hz (2x4)

6. Optical Science Impact & Engineering Design Guidelines (Subaru AO3k & SCExAO)

Translating the physical l₀ = 5 mm Maunakea (0.80" seeing, τ₀ = 3.46 ms) framerate errors into science Maréchal Strehl loss 1 − exp(−σ_φ²) and 64×64 coronagraphic dark-hole raw contrast floor ΔC ≈ σ_φ,DM² / N_act (N_act = 2,560 active actuators inside the 7.95 m Subaru pupil):

Framerate f Vis 0.75 μm Strehl Loss (WFS / Step DM / 1-Fr Lag) H-Band 1.65 μm Strehl Loss (WFS / Step DM / 1-Fr Lag) H-Band 64×64 Dark-Hole ΔC (WFS / Step DM)
100 Hz 8.63% / 18.83% (84.19%) 1.847% / 4.220% (31.69%) 2.69e-06 / 1.17e-05
200 Hz 2.75% / 6.66% (46.63%) 0.575% / 1.414% (12.17%) 3.13e-07 / 3.09e-06
500 Hz 0.56% / 1.52% (13.58%) 0.117% / 0.317% ( 2.97%) 1.00e-08 / 5.03e-07
1000 Hz 0.15% / 0.47% ( 4.61%) 0.032% / 0.098% ( 0.97%) 6.48e-10 / 1.26e-07
2000 Hz 0.04% / 0.14% ( 1.47%) 0.008% / 0.029% ( 0.30%) 4.08e-11 / 3.15e-08
4000 Hz 0.01% / 0.04% ( 0.44%) 0.001% / 0.008% ( 0.09%) 2.56e-12 / 7.88e-09
Science Maréchal Strehl Loss, Coronagraphic Dark-Hole Raw Contrast Floor & Engineering Framerate Design Maps (2x2)
Science Maréchal Strehl Loss, Coronagraphic Dark-Hole Raw Contrast Floor & Engineering Framerate Design Maps (2x2)

Practical AO Engineering Rules of Thumb

  1. Quick-Design Formulas (Kolmogorov Full Atmosphere, λ_ref = 500 nm, τ₀ in seconds):
   Effect 1 (Boxcar WFS + Linear Interp):  σ_WFS,lin [nm] ≈ 14.90 · (f · τ₀)⁻⁵/⁶
                                           f_WFS,req [Hz] ≈ (25.6 / τ₀) · (σ_target [nm])⁻¹·²

   Effect 2 (Optimal Zero-Lag Step DM):    σ_DM,opt  [nm] ≈ 25.45 · (f · τ₀)⁻⁵/⁶
                                           f_DM,req  [Hz] ≈ (48.7 / τ₀) · (σ_target [nm])⁻¹·²

   Equivalent Framerate Ratio (Full WF):   f_DM / f_WFS   = 1.903×  (for equal WFE)
  1. DM-Band-Limited Formula (AO3k 64×64 DM, k_c = 3.77 m⁻¹, f ≳ 200 Hz, Maunakea 0.80"):
   Effect 2 (Step DM on 64×64 modes):      σ_DM,64  [nm]  ≈ 4719 / f_DM      (4.72 nm @ 1 kHz, 2.36 nm @ 2 kHz, 0.59 nm @ 8 kHz)
   Effect 1 (WFS Lin on 64×64 modes):      σ_WFS,64 [nm]  ≈ 340100 / f_WFS²  (0.34 nm @ 1 kHz, 0.08 nm @ 2 kHz)
  1. Implications for Subaru AO3k (1 kHz WFS, 8 kHz DM) & SCExAO (2 kHz WFS/DM):

Reproducibility & GitHub Provenance

All analytical curves, 20–40 kHz GPU milkatmturb turbulence runs, OpenMP SHM evaluations, CSV tables, JSON manifests, and diagnostic figures are regenerated deterministically from a single CLI command inside an isolated /dev/shm sandbox:

cd ~/src/cacao-work && source env.sh
"${PYTHON_BIN}" ./scripts/build-framerate-report.py
./scripts/publish-ao-report.sh --build-only _work/framerate_report

Data Artifacts

Open-Source GitHub Repositories & Exact Commits

Repository Branch Commit Role in Simulation Stack
cacao-work main 13cd85e Integration workspace, AO3k+SCExAO bench & runner, pytest suite, and static web report builder
cacaosim main 7172110 GPU-fused & modular polychromatic AO hardware simulator, multi-rate sub-stepping, TUI, and report generator
cacao feat/bash-engine 08459fa Compute and Control for Adaptive Optics (acquireWFS, mlat, Hadamard RM, SVD CM, modalfilter)
milk feat/bash-engine a3bfb83 Core FPS shared-memory engine, milk-script orchestrator, streamFITSlog telemetry, and milk-perf-report
ImageStreamIO framework-dev b6e2671 Low-latency POSIX/CUDA shared-memory stream transport (milk submodule)
milk-mltools main 1c08e4e C telemetry indexing & sync, @calc JIT extensions, AO loop optimizer, and polychromatic PSF reconstruction
AtmosphericTurbulenceSimul feat/bash-engine 44bdf37 Multi-layer Maunakea frozen-flow & boiling turbulence generator (milkatmturb)
OpticsMaterials feat/bash-engine 0de3897 Optical material dispersion & air refractive-index library for milk
WFpropagate feat/bash-engine d65183d Fresnel & angular-spectrum wavefront propagation library for milk

Interactive Report Dataset Explorer

Dataset Explorer Interactive Report Dataset Explorer

Telemetry & Data Files

FileFormatSize
framerate_dm_cutoffs.csvCSV1.89 KB
framerate_metrics.jsonJSON647.72 KB
framerate_summary.csvCSV2.11 KB