AO Optical & Control Report: Subaru 7.95m AO3k + SCExAO + Lyot Coronagraph (LLOWFS Loop Open + PSOL Block-EOF(B=32, P=24) Predictive Control) · EOF Predictor (MEM & REG)
Dedicated diagnostic & inspection page for PSOL Block Cross-Mode Empirical Orthogonal Functions (cacaopc.mkEOFPF + applyEOFPF), covering EOF/MEM exponential Gram memory, EOF/REG multi-regime cluster discovery and retrieval proportions, wind-layer physics priors, out-of-sample generalization, closed-loop residual whiteness, and the learned 3D modal predictive tensor. Regime profile: standard (30 s warmup + 30 s science).
Interactive EOF/MEM & EOF/REG Inspector Loop OperationAnalysis
Inspect how EOF/REG discovers atmospheric regime clusters during warmup, recalls them by Gaussian descriptor similarity during science (πk(t)), and preserves effective sample memory (weff) across regime switches via EOF/MEM. Hover any point or cell for exact values; click any cluster chip, centroid, or column to highlight.
Discovered EOF/REG Cluster Library & Physical Mapping CalibrationAnalysis
Each cluster k stores an independent exponentially decayed empirical Gram matrix (Gxx,k, Gxy,k, weff,k) anchored at a 4D physical descriptor centroid. Mapped Regime is determined from the posterior distribution of science retrieval mass P(Regime | cluster k) (falling back to warmup mass for warmup-only transient clusters).
Stage 1 — AO3k (1 kHz) — K = 6 Clusters (Wind Vector + Shear + Mid-Order Seeing Proxy)
Descriptor mode: wind_seeing · rlim = 4.5, bw = 3.5, κ = 0.03 · min pairwise centroid distance 2.469
| Cluster | Mapped Regime & Purity | Spawn Origin | Wind |V| [m/s] | Dir [°] | Vx / Vy [m/s] | σ_v / 1.5·ln(RMS) | Retrieval Share (Sci / Warm / Hard) | Sci R0 % | Sci R1 % | Sci R2 % | Stored w_eff / Cum Frames |
|---|---|---|---|---|---|---|---|---|---|---|---|
k=0 | R0 (Nominal) Purity 37.9% | Warmup t=-30.2sBorn in R0 | Modal bootstrap (pre-WL) [10·AC1, ln_lo, ln_mid, ln_hi] = [10.01, -3.12, -3.32, -2.80] | 0.2% (pk 0%)Warm 6.2% · Hard 0% | 0.2% | 0.2% | 0.2% | 0.75k1,510 fr (1.5s) | |||
k=1 | R0 (Nominal) Purity 52.8% | Warmup t=-28.7sBorn in R0 | 3.16 | 278° | +0.5 / -3.1 | 6.0 / -5.13 | 38.1% (pk 94%)Warm 69.8% · Hard 7% | 59.4% | 14.0% | 40.5% | 12.47k20,480 fr (20.5s) |
k=2 | R2 (Slow -50° / Good Seeing) Purity 83.0% | Warmup t=-24.1sBorn in R0 | 5.33 | 294° | +2.2 / -4.9 | 5.6 / -5.20 | 6.7% (pk 37%)Warm 3.3% · Hard 25% | 2.8% | 0.6% | 16.8% | 8.45k9,472 fr (9.5s) |
k=3 | R1 (Fast +55° / Degraded Seeing) Purity 68.2% | Warmup t=-17.4sBorn in R1 | 9.49 | 18° | +9.0 / +2.9 | 11.1 / -5.02 | 29.6% (pk 91%)Warm 20.7% · Hard 27% | 14.2% | 61.0% | 13.9% | 12.30k16,896 fr (16.9s) |
k=4 | R2 (Slow -50° / Good Seeing) Purity 36.6% | Science t=+2.0sBorn in R0 | 5.75 | 339° | +5.4 / -2.1 | 7.6 / -5.05 | 25.1% (pk 60%)Warm 0.0% · Hard 40% | 23.3% | 24.2% | 27.8% | 9.37k12,032 fr (12.0s) |
k=5 | R2 (Slow -50° / Good Seeing) Purity 100.0% | Science t=+20.2sBorn in R2 | 9.85 | 338° | +9.1 / -3.7 | 8.3 / -4.98 | 0.3% (pk 7%)Warm 0.0% · Hard 2% | 0.0% | 0.0% | 0.9% | 0.46k512 fr (0.5s) |
Stage 2 — SCExAO (2 kHz) — K = 5 Clusters (Wind Vector + Shear + Mid-Order Seeing Proxy)
Descriptor mode: wind_seeing · rlim = 4.5, bw = 3.5, κ = 0.03 · min pairwise centroid distance 3.927
| Cluster | Mapped Regime & Purity | Spawn Origin | Wind |V| [m/s] | Dir [°] | Vx / Vy [m/s] | σ_v / 1.5·ln(RMS) | Retrieval Share (Sci / Warm / Hard) | Sci R0 % | Sci R1 % | Sci R2 % | Stored w_eff / Cum Frames |
|---|---|---|---|---|---|---|---|---|---|---|---|
k=0 | R1 (Fast +55° / Degraded Seeing) Purity 36.4% | Warmup t=-29.9sBorn in R0 | Modal bootstrap (pre-WL) [10·AC1, ln_lo, ln_mid, ln_hi] = [9.91, -5.33, -5.96, -5.60] | 0.1% (pk 0%)Warm 5.2% · Hard 0% | 0.1% | 0.2% | 0.1% | 1.27k2,534 fr (1.3s) | |||
k=1 | R0 (Nominal) Purity 43.8% | Warmup t=-28.7sBorn in R0 | 4.96 | 347° | +4.8 / -1.1 | 6.3 / -9.14 | 46.9% (pk 84%)Warm 64.1% · Hard 36% | 60.8% | 39.0% | 40.6% | 29.72k45,312 fr (22.7s) |
k=2 | R2 (Slow -50° / Good Seeing) Purity 55.9% | Warmup t=-24.1sBorn in R0 | 5.23 | 294° | +2.1 / -4.8 | 5.5 / -9.37 | 25.4% (pk 68%)Warm 10.4% · Hard 31% | 27.5% | 5.8% | 43.1% | 28.81k36,352 fr (18.2s) |
k=3 | R1 (Fast +55° / Degraded Seeing) Purity 68.7% | Warmup t=-17.4sBorn in R1 | 9.69 | 14° | +9.4 / +2.4 | 11.9 / -9.13 | 26.7% (pk 90%)Warm 20.3% · Hard 27% | 11.5% | 55.0% | 13.7% | 24.59k33,792 fr (16.9s) |
k=4 | R2 (Slow -50° / Good Seeing) Purity 100.0% | Science t=+20.1sBorn in R2 | 7.87 | 338° | +7.3 / -2.9 | 8.7 / -9.19 | 0.8% (pk 8%)Warm 0.0% · Hard 5% | 0.0% | 0.0% | 2.4% | 2.77k3,072 fr (1.5s) |
Per-Regime Activation, Warmup Memory Recall & Recovery Analysis
Breakdown of each ground-truth atmospheric regime during the science integration: which cluster(s) were activated and in what proportion, what fraction of retrieval weight came from warmup-trained anchors, the active blended sample count Neff, live out-of-sample predictive gain OOS ΔVar, and closed-loop wavefront / Strehl recovery.
Stage 1 — AO3k (1 kHz)
| Ground-Truth Regime & Window | Active Retrieval Mix πk | Warmup Recall | Active Neff | Live OOS ΔVar | Closed-Loop Recovery |
|---|---|---|---|---|---|
R0 (Nominal)0.0..10.0 s · 0.80″, 1.00×, +0° | k=1(W): 59.4%k=4(S): 23.3%k=3(W): 14.3%k=2(W): 2.8% | 76.7% | 13.7k | 52.3% (ovf 0.79) | Final 102.6 nm (2s 91 / ss 105)H 84.1% / Vis 48.4% |
R1 (Fast +55° / Degraded Seeing)10.0..20.0 s · 0.92″, 1.35×, +55° | k=3(W): 61.0%k=4(S): 24.2%k=1(W): 14.0% | 75.8% | 12.3k | 47.7% (ovf 0.84) | Final 115.2 nm (2s 104 / ss 118)H 79.0% / Vis 36.6% |
R2 (Slow -50° / Good Seeing)20.0..30.0 s · 0.56″, 0.65×, -50° | k=1(W): 40.5%k=4(S): 27.8%k=2(W): 16.8%k=3(W): 13.9% | 71.3% | 17.3k | 56.2% (ovf 0.74) | Final 76.6 nm (2s 81 / ss 76)H 88.6% / Vis 60.2% |
Stage 2 — SCExAO (2 kHz)
| Ground-Truth Regime & Window | Active Retrieval Mix πk | Warmup Recall | Active Neff | Live OOS ΔVar | Closed-Loop Recovery |
|---|---|---|---|---|---|
R0 (Nominal)0.0..10.0 s · 0.80″, 1.00×, +0° | k=1(W): 60.8%k=2(W): 27.5%k=3(W): 11.5% | 100.0% | 34.4k | 42.3% (ovf 0.83) | Final 102.6 nm (2s 91 / ss 105)H 84.1% / Vis 48.4% |
R1 (Fast +55° / Degraded Seeing)10.0..20.0 s · 0.92″, 1.35×, +55° | k=3(W): 55.0%k=1(W): 39.0%k=2(W): 5.8% | 100.0% | 30.0k | 38.0% (ovf 0.87) | Final 115.2 nm (2s 104 / ss 118)H 79.0% / Vis 36.6% |
R2 (Slow -50° / Good Seeing)20.0..30.0 s · 0.56″, 0.65×, -50° | k=2(W): 43.2%k=1(W): 40.6%k=3(W): 13.6%k=4(S): 2.4% | 97.6% | 33.9k | 43.8% (ovf 0.82) | Final 76.6 nm (2s 81 / ss 76)H 88.6% / Vis 60.2% |
EOF Predictor Configuration & Core Metrics CalibrationLoop Operation
| Parameter / Metric | Stage 1 (AO3k 1 kHz) | Stage 2 (SCExAO 2 kHz) | Role / Interpretation |
|---|---|---|---|
| Block Size B / Order P | B=32, P=24 | B=32, P=24 | Coupled modes per VAR(P) block |
| PSOL Latency / WFSfact | 2.526 fr (2.53 ms) / 1.000 | 2.304 fr (1.15 ms) / 1.429 | Identified in-loop by mfilt.testOL |
| Mix / Ridge λ / ZOH Shrinkage | 0.82 / 0.04 / ON | 0.75 / 0.06 / ON | Shrinkage toward ZOH (Stg1) or zero (Stg2) |
| EOF/MEM Gram Half-Life | 60,000 fr (60.0 s) | 120,000 fr (60.0 s) | Exponential forgetting horizon of stored Gram matrices |
| EOF/REG (K_max, κ, bw, rlim) | K_max=8, κ=0.03, bw=3.5, rlim=4.5 | K=5 used, cur_k=2 | Gaussian blend kernel & new-cluster spawn distance |
| Physics Prior & WL Switches | active=1, n_prior=1024.0, sw=18 | active=0, sw=18 | Frozen-flow wind-layer prior (switch decay=0.2) |
| Updates / N_train / N_eff | 65/71 · 12,000 / 22,193 | 62/101 · 24,000 / 40,767 | EOF solves / total solves; sliding cap vs effective memory |
| In-Win / OOS ΔVar [%] | 26.2% / 58.1% | 19.2% / 45.0% | Variance reduction vs zero-order hold (ZOH) |
| Overfit Ratio / Off-Diag Energy | 0.730 / 5.6% | 0.810 / 5.4% | OOS/in-sample RMS ratio (~1.0 ideal); cross-mode coupling energy |
| Residual Whiteness / Timeouts | — / 1 | — / 0 | Closed-loop residual spectral whiteness (1.0 = white); sync timeouts |
Closed-Loop Modal Whiteness Audit (cacao-fpsexec-modalwhite)
| Loop Stage | N |
d_ceil |
Q_vw_b0 |
Q_xmode_b0 |
rho_d_b0 |
Q_wu_lo20 |
OOS Recov WFE [nm] (% var) |
Alerts |
|---|---|---|---|---|---|---|---|---|
Stage 1 (AO3k) |
4096 |
3 |
29.23 |
2.20 |
-0.0908 |
14.79 |
10.1 nm (4.7%) |
2 |
Stage 2 (SCExAO) |
4096 |
3 |
46.00 |
6.29 |
-0.2535 |
21.10 |
2.9 nm (4.4%) |
14 |
Interactive 3D Modal Predictive Matrix (PF) CalibrationLoop Operation
Block-EOF VAR(24) tensor PF[out_i, lag_k, in_j] (B=32 coupled modes/block): âs0+i(t+d) = Σk,j F[i,k,j] as0+j(t−k). Stage 1: 1726 modes (54 blocks, 5.33% off-diag) · Stage 2: 1036 modes (33 blocks, 5.1% off-diag)
Selected Timeslice (2D Image)
Pair Temporal Kernel
Tensor & Pair Statistics
Top Cross-Mode Pairs
EOF Predictor Diagnostic Figures Analysis




EOF Telemetry & Data Artifacts
| File | Description | Size |
|---|---|---|
eof_regime_summary.json | Full EOF/MEM & EOF/REG cluster library, mapping matrices & per-chunk trace (JSON) | 401.63 KB |
eof_regime_trace_stg1.csv | Stage 1 (AO3k) per-chunk cluster retrieval proportions, w_eff, descriptor & OOS gain (CSV) | 47.69 KB |
eof_regime_trace_stg2.csv | Stage 2 (SCExAO) per-chunk cluster retrieval proportions, w_eff, descriptor & OOS gain (CSV) | 87.63 KB |
pf_stats.json | Final predictive-control FPS telemetry snapshot (JSON) | 2.06 KB |
regime_schedule.json | Ground-truth warmup & science atmospheric regime schedule (JSON) | 1.62 KB |
modalwhite_stats.json | Closed-loop modal residual whiteness diagnostics (JSON) | 1.22 KB |
EOF/MEM & EOF/REG Mathematical Reference
- EOF/MEM (Exponential Gram Memory): Instead of discarding data outside a fixed sliding buffer
NBtrain, each cluster maintains exponentially decayed sufficient statisticsGxx,k ← γ Gxx,k + XTX,Gxy,k ← γ Gxy,k + XTY, withγ = 2−ΔN / HwhereHisgram_halflife. Effective sample weightweff,kaccumulates across all visits to that regime. - EOF/REG (Multi-Regime Cluster Library): Every fresh training slice computes a 4D physical regime descriptor
d(t)— in wind mode,[v̄x, v̄y, σv, 1.5·ln(RMSmid)]frommlt-windlayers+ mid-order PSOL modes. If the nearest anchor exceeds Euclidean radiusrlimandK < Kmax, a new cluster is spawned; otherwise the nearest anchor absorbs the slice and updates its centroid via EMA. - Gaussian Kernel Retrieval Share (πk(t)): At solve time, each stored cluster receives similarity weight
wk = κ + (1−κ) exp(−||d(t)−ck||2 / (2·bw2)), blendingGeff = Σk wk Gkwith effective active sample countNeff(t) = Σk wk weff,kand normalized retrieval proportionπk(t) = (wk weff,k) / Neff(t). - Warmup Memory Recall: Fraction of science-phase retrieval mass
Σk ∈ warmup πk(t)contributed by clusters created during warmup, verifying that prior regime training is immediately recalled when each atmospheric regime returns. - OOS ΔVar & Overfit Ratio: Out-of-sample variance reduction evaluates the newly solved filter on unseen incoming frames before folding them into the Gram matrices; an overfit ratio
RMSOOS / RMSin ≈ 1.0confirms well-regularized generalization.