Multi-Layer Turbulence & Phase-Continuous Wind Rotation
Mauna Kea multi-layer atmosphere with live phase-continuous wind-direction switches.
Overview & Role
Generates frozen-flow and boiling multi-layer Mauna Kea phase screens via atmturb_mkwfs with live FPFLAG_WRITERUN .wind_rot_deg rotation: rotates (vx_pix, vy_pix) while shifting layer origins by (v_old - v_new) * t_ref so pupil wavefront phase remains 100% continuous across mid-run wind direction jumps.
Compute Units / Entry Points: milk-fpsexec-atmturb-mkwfs
Verified Highlights:
- Zero phase discontinuity on live +60 deg wind switch at t = 3.0 s
Option Variants (CODE/OPT)
| Option Code | Behavior & Usage | Main Flags |
|---|---|---|
SIM/TURB | Steady multi-layer Mauna Kea frozen-flow + boiling turbulence. | --seeing --star-mag --phys-time |
SIM/WROT | Live phase-continuous mid-run wind rotation stress test. | --wind-switch-sec --wind-switch-deg |
Dependencies & Calibration Chain
Upstream Calibrations & Inputs
Self-contained (no mandatory upstream calibration).
Selected Algorithm
★ Current Entry
SIM/WROTSim Physics
Multi-Layer Turbulence & Phase-Continuous Wind Rotation
Feeds & Enables Downstream
CLI Flags, Environment Variables & FPS Parameters
| Layer | Option (Links to Reference) | Default | Description |
|---|---|---|---|
| CLI Flag | --seeing | 0.8 | Atmospheric seeing FWHM at 0.50 um reference wavelength [arcsec] |
| CLI Flag | --star-mag | 8.0 (bench) | Override guide/science star Vega magnitude mV=mH (A0V Teff=9600 K) |
| CLI Flag | --phys-time | 10.0 | Physical closed-loop science integration time [s] |
| CLI Flag | --wind-switch-sec | 0 | Physical time [s] to trigger live phase-continuous wind rotation (0=off) |
| CLI Flag | --wind-switch-deg | 60.0 | Phase-continuous wind direction rotation angle [deg] at --wind-switch-sec |
| FPS (milkatmturb) | mkwfs.wind_rot_deg | 0.0 | Live phase-continuous wind direction rotation offset [deg] |
Implementation, Tests & Related Reports
Source Files
- AtmosphericTurbulenceSimul:
src/AtmosphericTurbulence/atmturb_wfs_stream.c - AtmosphericTurbulenceSimul:
src/AtmosphericTurbulence/atmturb_mkwfs_FPS.c
Verification Tests
ao3k_phases1to5_bench.py (Exp 1 +60 deg switch)