ZPOReal-Time Loop OperationVERIFIEDStg 2Stg 32-Stage

WFS Zero-Point Offset & Optical-Gain Scaling

Transfers Stage-3 LLOWFS offsets into Stage-2 PyWFS reference scaled by live OG.

Overview & Role

Computes the Stage-2 WFS reference offset (wfszpo) corresponding to Stage-3 LLOWFS DM2 commands so the fast Stage-2 PyWFS does not fight the coronagraphic focal-plane pointing loop.

Live FPFLAG_WRITERUN .WFSzpogain in acquireWFSim.c scales wfszpo by 0.95*g_opt (either statically via --zpo-og or online from 2WFS/LIVE), preventing ZPO wind-up and over-subtraction when on-sky PyWFS optical gain drops below 1.

Compute Units / Entry Points: cacao-fpsexec-acquWFS (.WFSzpogain)cacaoloop setog

Verified Highlights:

Option Variants (CODE/OPT)

Option CodeBehavior & UsageMain Flags
ZPO/FIXStatic unit-gain or manual `--zpo-og` WFS zero-point offset transfer.--zpo-og --no-lowfs
ZPO/OGLive optical-gain scaled `acquWFS-2.WFSzpogain` updated by `2WFS/LIVE`.--live-2wfs1dm-sec --zpo-og

Dependencies & Calibration Chain

Upstream Calibrations & Inputs
Selected Algorithm
★ Current Entry
ZPORT Operation
WFS Zero-Point Offset & Optical-Gain Scaling
Feeds & Enables Downstream

CLI Flags, Environment Variables & FPS Parameters

LayerOption (Links to Reference)DefaultDescription
CLI Flag--zpo-og1.0Stage-2 optical-gain scale applied to ZPO (0.95*g_opt) and PSOL (1/g_opt)
CLI Flag--no-lowfsOFFKeep Stage-3 Lyot LLOWFS loop open during science integration
CACAO_* EnvCACAO_WFSZPO_GAIN1.0Optical-gain scaling factor applied to WFS zero-point offset (wfszpo)

Implementation, Tests & Related Reports

Source Files

Verification Tests

Related Staged Technical Reports