CMODESResearch Queue (Planned)PLANNEDStg 1Stg 2

Inner Control-Mode Optimization (On-the-Fly Rotation Matrix)

Noise-whitened inner modal rotation matrix Q and 16-mode AR(48) telescope vibration notch strictly decoupled inside modalfilter.

Overview & Role

Continuously optimizes the inner closed-loop control modal basis via an orthogonal or noise-whitened rotation matrix Q (WFS_rot = Q^T WFS, DM = Q DM_rot) inside modalfilter, pairing rotated modes with optimal inner (gain, leak) (CMODES/ROT) and an optional 16-mode high-order AR(48) narrowband notch (CMODES/NOTCH) targeting 10-150 Hz telescope and optical-bench structural vibrations.

Strict Architectural Decoupling Rule: Q MUST remain strictly confined inside the inner modalfilter loop so the outer modal basis seen by modevalOL, Block-EOF, and Cascaded Self-Learning remains 100% invariant. At every atomic swap Q_old -> Q_new, the 48-frame inner AR history buffer is rotated in place (H_new = (Q_new^T Q_old) H_old), achieving 47.5 nm 100% bumpless swaps (vs 286.8 nm without history re-projection and 213-367 nm catastrophic spikes if the basis is rotated underneath EOF/self-learning).

Compute Units / Entry Points: modalfilter (inner Q rotation & AR(48) notch — planned)milk-fpsexec-mlt-cmodes (async covariance & Q solver — planned)

Verified Highlights:

Option Variants (CODE/OPT)

Option CodeBehavior & UsageMain Flags
CMODES/ROTNoise-whitened on-the-fly inner modal rotation matrix Q inside modalfilter with atomic basis swaps (leaves outer EOF/SELFLEARN basis 100% fixed).—
CMODES/NOTCHInner 16-mode narrowband AR(48) telescope-vibration notch with atomic history re-projection `H_new = (Q_new^T Q_old) H_old` across basis swaps.—

Dependencies & Calibration Chain

Selected Algorithm
★ Current Entry
CMODESPlanned
Inner Control-Mode Optimization (On-the-Fly Rotation Matrix)
Feeds & Enables Downstream

Terminal diagnostic or output stage.

Interaction / Exclusion Note: NEVER rotate the outer modal basis underneath Block-EOF or Self-Learning (causes 213-367 nm swap spikes and invalidates Gram/RLS memory), and NEVER swap Q without re-projecting the inner AR(48) history buffer (286.8 nm spike without re-projection vs 47.5 nm bumpless).

CLI Flags, Environment Variables & FPS Parameters

Configured directly via FPS unit parameters or calibration script.

Implementation, Tests & Related Reports

Source Files

Verification Tests

Related Staged Technical Reports