Coronagraphic WFS-to-PSF Quadratic / Hessian Model
Streaming quadratic WFS-to-focal-plane speckle model for NCPA & optical-gain anchoring.
Overview & Role
Models focal-plane speckle intensity as a streaming linear + quadratic Hessian function of modal WFS residuals. Behind a Lyot coronagraph where unaberrated E_0 vanishes, rank-2 speckle channels dominate, providing a focal-plane truth anchor that WFS-only self-learning cannot supply.
Offline feasibility study (algo/wfspsf_hessian) achieved R^2 = 0.95-0.999 and 0.01-frame lag recovery; next step is coronagraphic telemetry evaluation and structured-channel deployment in milk-mltools.
Compute Units / Entry Points: algo/wfspsf_hessian (prototype -> milk-mltools planned)
Verified Highlights:
- Toy benchmark: R^2 = 0.95-0.999 at 0.3 rad RMS, 0.01-frame lag recovery
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
HESS/QUAD | Full quadratic feature expansion + streaming normal-eq accumulator (K <= 80). | --save-telemetry |
HESS/2CH | Scalable structured two-channel speckle model for coronagraphs (K > 80). | --save-telemetry |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
HESS/COROPlanned
Coronagraphic WFS-to-PSF Quadratic / Hessian Model
Feeds & Enables Downstream
Terminal diagnostic or output stage.
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --save-telemetry | none | Record WFS, PSF, DM, and modal FITS cubes (none/standard/speckle/truth) |
| CLI Flag | --psf-navg | 20 (standard) / 1 (speckle) | Science PSF subframe integration count (20 = 100 Hz; 1 = 2 kHz speckle) |
Implementation, Tests & Related Reports
Source Files
- cacao-work:
algo/wfspsf_hessian/README.md
Verification Tests
TP-6a (planned): sub-0.05 fr WFS-PSF lag & coronagraphic speckle R^2 > 0.85