Live Wind Velocity & Altitude Profiler
Real-time spatiotemporal cross-correlation wind (vx, vy), altitude z, and Strehl monitor.
Overview & Role
Consumes live Stage-1 PSOL modal/phase telemetry in standalone C (milk-fpsexec-mlt-windlayers) to extract dominant frozen-flow wind layers (vx, vy, frac_k), Fresnel/Rytov layer altitudes z, and coherent PyWFS flux_in auto-Strehl.
Publishes live layer streams into EOF (EOF/WIND), enabling instantaneous Fourier-space physics-Gram cold-start priors and automatic wind-switch rescue.
Compute Units / Entry Points: milk-fpsexec-mlt-windlayers
Verified Highlights:
- Tracks rotated Mauna Kea layers (6.46, 9.47, 22.03 m/s) to < 0.05 m/s & < 0.5 deg
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
WIND/2D | Real-time multi-layer `(vx, vy, weight)` velocity tracking for EOF physics Gram. | --windlayers1 |
WIND/ALT | Coherent PyWFS Fresnel/Rytov altitude `z` & `flux_in` Strehl estimation. | --windlayers1 |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
WINDOnline Calib
Live Wind Velocity & Altitude Profiler
Feeds & Enables Downstream
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --windlayers1 | OFF | Enable live Stage-1 mlt-windlayers profiler feeding EOF physics-Gram prior |
| CLI Flag | --pf-dmmodes1 | — | Stage-1 DM modal basis FITS cube for windlayers Fourier physics Gram |
| CACAO_* Env | CACAO_PF_WL_LAYERS | (unset) | Live mlt-windlayers layer SHM stream consumed by mkEOFPF physics Gram |
| CACAO_* Env | CACAO_PF_PUP_DIAM | 7.95 | Telescope pupil diameter [m] used by mkEOFPF windlayers physics Gram |
| CACAO_* Env | CACAO_PF_DM_DX | 0.0 | DM actuator pitch [m] override for mkEOFPF physics Gram (0=auto) |
Implementation, Tests & Related Reports
Source Files
- milk-mltools:
mltools/windlayers_unit.c - milk-mltools:
mltools/windlayers_core.h
Verification Tests
test_15_unified_eof_windlayers.pytest_mltools_e2e.py