3D RM Factoring (Static Gain + Unit-DC Kernel)
Factors 3D RM into static M_cal and causal unit-DC H_diag / H_mimo kernels.
Overview & Role
Repairs dropped stroboscopic bins via *_cnt.fits, auto-discovers static gains, enforces causal sampling (H[0] = 0, auto phase_fr = 0.5/NBsubfr), guarantees exact unity DC closure (sum_l H_eff[l] = I, err < 3e-7), and supports block or off-diagonal threshold pruning.
Consumes 3DRM/P2 on pre-shaped Stage 1 and 3DRM/P1 on Stage-2 MEMS or unshaped DMs.
Compute Units / Entry Points: cacao-fpsexec-cacaoac-factordynrm
Verified Highlights:
- DC closure error < 3e-7; Pass-2 64x64 Kolmogorov PSOL: 1.40% diag vs 0.10% MIMO
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
3DRM/MIMO | Full 3D cross-mode kernel `H_mimo.fits` (0.10% Pass-2 64x64 PSOL err). | --dynpsol1 |
3DRM/DIAG | Fast per-mode diagonal FIR kernel `H_diag.fits` (Stage-2 MEMS default). | --dynpsol2 |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
3DRM/FACTOffline Calib
3D RM Factoring (Static Gain + Unit-DC Kernel)
Feeds & Enables Downstream
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --dynpsol1 | — | Stage-1 Dynamic PSOL impulse kernel FITS (H_mimo / H_diag) |
| CLI Flag | --dynpsol2 | — | Stage-2 Dynamic PSOL impulse kernel FITS (H_diag / H_mimo) |
| CLI Flag | --pf-fx1 | — | Stage-1 Pass-2 Filtered-X EOF DM impulse kernel FITS |
| CLI Flag | --pf-fx2 | — | Stage-2 Pass-2 Filtered-X EOF DM impulse kernel FITS |
| CACAO_* Env | CACAO_DYNPSOL_KERNEL | (unset) | Dynamic PSOL impulse kernel FITS path (H_mimo / H_diag) for modalfilter |
| CACAO_* Env | CACAO_PF_DM_KERNEL | (unset) | Pass-2 Filtered-X EOF DM impulse kernel FITS (H_diag / H_mimo) |
Implementation, Tests & Related Reports
Source Files
- cacao:
AOloopControl_acquireCalib/factor_dyn_resp.c - cacao-work:
scripts/studies/ao3k_phases1to5_calib.milk
Verification Tests
test_12_dyn_psol.py