AO Optical & Control Report: Subaru 7.95m AO3k + SCExAO + Lyot Coronagraph (LLOWFS Loop Open + PSOL Block-EOF(B=32, P=24) Predictive Control) · Configuration
System & Atmosphere Parameters Simulation
| Parameter | Value |
|---|---|
| Telescope Diameter | 7.95 m |
| Central Obstruction | 30.7% |
| Pupil Grid | 256x256 px |
| Throughput | 20% |
| Seeing (0.50 um) | 0.8" |
| Atmosphere Profile | 7-layer Maunakea von Karman (4.2..23.7 km, wind 6.5..22.0 m/s, L0=25/100 m) (Default Model Spec →) |
| Internal Bench Clock | 8.0 kHz (4x oversample) |
Turbulence & Perturbation Model Simulation
Matches Default Model
This simulation uses the exact Default Turbulence & Perturbation Model with no parameter overrides: 7-layer Maunakea von Karman turbulence at 0.80" seeing (r0=10.7 cm, tau0=3.46 ms, v_eff=9.7 m/s), Matern-3/2 wind meandering & gust bursts ON (1.0x), 5-line telescope/bench vibrations ON (45.0 nm RMS), and 4-island Subaru thermal petaling ON (1000 nm RMS, tau=3.0 s).
Realized telemetry: Wind scale 0.53–2.71x (mean 1.14x)Heading -63.7°..+85.6°Gust peak 1.00 (27% active), Cn2 max 1.39xRealized Vib 46.6 nm RMSRealized Petaling 1062 nm mean (max PTV 4487 nm)
| Component | This Simulation | Default Model | Difference vs. Default | Override Flag |
|---|---|---|---|---|
| Atmospheric Profile & Seeing (0.50 um) | 7-layer Maunakea, 0.80" (r0=10.7 cm, tau0=3.46 ms) | 7-layer Maunakea, 0.80" (r0=10.7 cm, tau0=3.46 ms) | Default | --seeing |
| Layer Wind Speed Scale | 1x nominal (v_eff = 9.7 m/s) | 1.0x nominal (v_eff = 9.7 m/s) | Default | --wind-speed-scale |
| Wind Meandering (Matern-3/2) | ON (1x) | ON (1.0x: BL 22%/22 deg, FA 14%/10 deg) | Default | --wind-var-scale |
| Wind Gust Bursts & Cn2 Surges | ON (1x) | ON (1.0x: +80-135% speed, +22-36% Cn2) | Default | --wind-burst-scale |
| Telescope & Bench Vibrations | ON (45.0 nm RMS) | ON (45.0 nm RMS across 14.5-138 Hz) | Default | --vib-rms-nm |
| Thermal Petaling / LWE (4 Islands) | ON (1000 nm RMS, tau=3 s) | ON (1000 nm RMS, tau=3.0 s, 75% piston) | Default | --petal-rms-nm |
| Live Wind-Direction Step | OFF | OFF (0 s) | Default | --wind-switch-sec |
| Fourier Turbulence Boiling | OFF (rolling cross-fade) | OFF (rolling cross-fade) | Default | --boil-mode |

AO Control Stages Loop Operation
| Stage | DM Grid | WFS | Rate | Modes | Gain / Mult | SVD Lim |
|---|---|---|---|---|---|---|
| Stage 1 (AO3k) | 64x64 | 160x160 | 1000 Hz | 1726 | 0.45 / 0.99 | 0.0001 |
| Stage 2 (SCExAO) | 50x50 | 120x120 | 2000 Hz | 1036 | 0.35 / 0.985 | 0.002 |
| Stage 3 (LLOWFS) | 50x50 (dm02disp04 ZPO) | 64x64 | 500 Hz | 14 | 0.0 / 0.99 | 0.02 |
Loop Calibration, Latency & Modal Control
Interactive
Applied Per-Mode Integrator Gains (1x2)
Interactive
Hardware Latency Measurement (mlat, 1x2)
Resolved Runner Options (run_options.json) SimulationLoop Operation
| Option / Flag | Resolved Value | Description |
|---|---|---|
--preset | DEFAULT | Apply maintained standard simulation preset before explicit CLI flags: DEFAULT (2-stage AO3k+SCExAO) or STAGE1 (Stage 1 AO3k only) |
--seeing | 0.8 | Atmospheric seeing FWHM at 0.50 um reference wavelength [arcsec] |
--phys-time | 30.0 | Physical closed-loop science integration time [s] |
--wall-rate | 1000 | Optional wall-clock rate cap [Hz] on top of 1:1 lockstep pacing |
--calib-rate | 1000 | Override wall-clock rate for mlat/takeref calibration steps [Hz] |
--no-fast-calib | 1 | Disable fused lockstep step-and-shoot RM; use real-time paced RM |
--bench-mode | fused | Optical bench engine: fused zero-hop htsim or modular per-element FPS |
--oversample | 4 | Temporal oversampling factor K (0 = inherit .bench value = 4 -> 8 kHz) |
--oversample | 4 | Temporal oversampling factor K (0 = inherit .bench value = 4 -> 8 kHz) |
--wfs1-mod-rad | 0 | Override Stage-1 NIR PyWFS modulation radius [l/D] (0 = unmodulated) |
--wfs2-mod-rad | 0 | Override Stage-2 Vis PyWFS modulation radius [l/D] (0 = unmodulated) |
--wfs1-rate | 1000 | Stage-1 NIR PyWFS frame rate [Hz], integer divisor of 2000 (e.g. 250/500/1000) |
--mr-dm1 | 0 | Enable Stage-1 multi-rate 1 kHz DM command pacing (mvalpacer-1 + EOF velocity) |
--mr-substeps | 1 | Override Stage-1 DM sub-steps K_sub per WFS1 exposure frame |
--mr-vel-gain | 1.0 | Stage-1 multi-rate centered linear-ramp velocity gain multiplier |
--mr-vel-reg-mult | 3.5 | Stage-1 multi-rate zero-DC temporal-difference velocity ridge multiplier |
enable_stage2 | 1 | Resolved runtime parameter |
--dm1-preshaper | /home/guyon/src/cacao-work/_work/ao3k_phases1to5_calib/dm01_preshaper_m32.fits | Stage-1 4 kHz DM pre-shaper MIMO FIR kernel FITS (dmpreshaper) |
--wfstat-validate | 0 | Fused mode: export beams and run CPU csim_wfstat cross-check |
--gain1 | 0.45 | Stage-1 AO3k modal integrator loop gain |
--gain2 | 0.35 | Stage-2 SCExAO modal integrator loop gain |
--gain3 | 0.2 | Stage-3 LLOWFS modal integrator loop gain |
--mult1 | 0.99 | Stage-1 AO3k leaky integrator multiplier |
--mult2 | 0.985 | Stage-2 SCExAO leaky integrator multiplier |
--mult3 | 0.99 | Stage-3 LLOWFS leaky integrator multiplier |
--mult-tt | 0.999 | Optional Stage-1 Tip/Tilt (m=0,1) leak multiplier override |
--mmult-floor | 0.85 | Optional Stage-1 highest-mode leak multiplier floor (unset = flat mult1) |
--mmult-alpha | 0.5 | Stage-1 power-law exponent shaping per-mode leak multiplier rolloff |
--dmmask-rmax | 29.0 | Optional Stage-1 active DM mask outer radius [act] for outer-rim slaving |
--dmmask-rmax2 | 21.8 | Optional Stage-2 active DM mask outer radius [act] for outer-rim slaving |
--no-dmmask-cobs-slave | 1 | Disable harmonic slaving of central-obstruction and outer-rim DM actuators (default: ON) |
--dmmask-spider-thr | 0.0 | Optional Stage-1 radial dmmap/p75(r) threshold for harmonic spider-actuator slaving (0 = off) |
--wfsmask-dilate | 2 | Stage-1 PyWFS mask CO-cavity dilation radius [pix] to capture Hilbert-darkened CO-edge flux without spider-shadow windup (0 = off) |
--wfsmask-dilate2 | 2 | Stage-2 PyWFS mask CO-cavity dilation radius [pix] to capture Hilbert-darkened CO-edge flux without spider-shadow windup (0 = off) |
--mgain-alpha | 0.75 | Modal gain power-law rolloff exponent across mode index |
--mgain-floor | 0.02 | Modal gain floor factor applied at the highest controlled mode |
--mgain-tt | 1.05 | Modal gain multiplier for Tip/Tilt modes 0 and 1 |
--svdlim1 | 0.0001 | Stage-1 AO3k SVD singular-value truncation threshold |
--svdlim2 | 0.002 | Stage-2 SCExAO SVD singular-value truncation threshold |
--svdlim3 | 0.02 | Stage-3 LLOWFS SVD singular-value truncation threshold |
--no-lowfs | 0 | Keep Stage-3 Lyot LLOWFS loop open during science integration |
--psol-og1 | 0.7 | Optional Stage-1 on-sky optical-gain scale for PSOL WFSfact (1/g_opt) |
--zpo-og | 0.7 | Stage-2 optical-gain scale applied to ZPO (0.95*g_opt) and PSOL (1/g_opt) |
--predictive | 1 | Enable PSOL predictive control on Stage 1 (AO3k) and Stage 2 (SCExAO) |
--pf-mode | eof | Predictive filter architecture: ar (diagonal) or eof (block cross-mode) |
--pf-blocksize | 32 | Cross-mode Block-EOF coupled mode block size B |
--pf-mix | 0.82 | Predictive control mixing coefficient applied to both Stage 1 & Stage 2 |
--pf-mix2 | 0.75 | Stage-2 SCExAO predictive mixing coefficient override |
--pf-mix-tt | 0.9 | Optional Stage-1 leading low-order (0..lo-1) predictive mix override [0..1] |
--pf-lo-nmode | 2 | Number of leading Stage-1 modes receiving --pf-mix-tt / --mult-tt overrides |
--pf-order | 24 | Predictive filter temporal lookback tap order P |
--pf-reg | 0.04 | Stage-1 / default Tikhonov ridge regularization parameter lambda |
--pf-reg2 | 0.06 | Optional Stage-2 SCExAO Tikhonov regularization lambda override |
--pf-maxnorm2 | 1.5 | Optional per-row ||F_m||_2^2 noise amplification cap override |
--pf-diff-nmode | 16 | Stage-1 leading modes solved in temporal-difference EOF space (0=off) |
--pf-diff-order | 48 | Difference-space EOF lookback tap order (0=diagorder, 2..64) |
--pf-diff-reg | 0.08 | Difference-space EOF relative Tikhonov regularization lambda |
--pf-diff-maxnorm2 | 4.0 | Difference-space EOF position-equivalent ||W_m||_2^2 norm cap |
--pf-diff-maxdcgain | 0.9995 | Difference-space EOF exact self-DC gain (0.9..0.99995) |
--pf-nbtrain1 | 12000 | Stage-1 predictive filter training window length [frames] |
--pf-nbtrain2 | 24000 | Stage-2 predictive filter training window length [frames] |
--pf-minsamples1 | 5000 | Stage-1 minimum PSOL samples before AR/EOF filter activates |
--pf-minsamples2 | 10000 | Stage-2 minimum PSOL samples before AR/EOF filter activates |
--pf-warmup-sec | 30.0 | Extra closed-loop warmup [s] before starting science integration |
--pf-mgain-exp | 3.5 | Stage-1/default modal PF mix rolloff exponent applied to mgainfact |
--pf-mgain-exp2 | 2.2 | Optional Stage-2 modal PF mix rolloff exponent applied to mgainfact (defaults to --pf-mgain-exp) |
--pf-zoh-ridge | ON | Stage-1 mkEOFPF ZOH-centered ridge regularization toggle (ON/OFF) |
--pf-zoh-ridge2 | ON | Stage-2 mkEOFPF ZOH-centered ridge regularization toggle (ON/OFF) |
--pf-gram-halflife | 60000 | Stage-1 extended-memory chunk-Gram exponential half-life [frames] (0=sliding; 60000 in DEFAULT) |
--pf-gram-halflife2 | 120000 | Stage-2 extended-memory chunk-Gram half-life [frames] (auto-scaled 2000/wfs1_rate; 120000 in DEFAULT) |
--pf-regime-kmax | 8 | Regime-weighted Gram library max cluster anchor count K (0=off, <=16; 8 in DEFAULT) |
--pf-regime-kappa | 0.03 | Regime-weighted Gram floor weight kappa for dissimilar anchors |
--pf-regime-bw | 3.5 | Regime Gaussian kernel bandwidth h in wind+seeing descriptor space |
--pf-regime-rlim | 4.5 | Minimum descriptor-space distance to spawn a new EOF/REG anchor |
--pf-n-prior | 1024 | Equivalent sample weight N_prior for Stage-1 windlayers physics Gram |
--pf-wl-switch-decay | 0.2 | Empirical Gram decay multiplier applied upon windlayers switch trigger |
--nbloop | 1 | Hadamard response-matrix averaging cycles per AO stage |
--no-selfrm | 1 | Skip calibration and on-sky selfRM acquisition |
--selfrm-modes | 128 | Maximum number of modes probed in selfRM optical-gain calibration |
--selfrm-iter | 1 | On-sky selfRM averaging iterations during closed-loop science |
--save-telemetry | standard | Record WFS, PSF, DM, and modal FITS cubes (none/standard/speckle/truth) |
--psf-navg | 20 | Science PSF subframe integration count (20 = 100 Hz; 1 = 2 kHz speckle) |
--no-tlm-analysis | 1 | Skip post-run milk-mlt-aotlm PSFR & AO optimization report |
--calib-2wfs1dm | 0 | Run post-loop 2-WFS + 1-DM telemetry calibration (Mab, Mdb, Mda_virt) |
--sysid-modes | 40 | Leading Stage-2 modes solved in --calib-2wfs1dm system identification |
--sysid-whiten-order | 4 | Causal AR(p) temporal whitening filter order W(z) for --calib-2wfs1dm |
--skip-microbench | 1 | Skip cacaosim-benchmark kernel sweep when generating COMPUTE_REPORT.md |
--selflearn | 1 | Cascade online Global + Clustered (libgric) self-learning on top of Block-EOF |
--selflearn-modes | 128 | Maximum controlled modal dimension tweaked by cacaopc-selflearn |
--selflearn-kmax | 16 | Maximum libgric cluster anchors maintained by cacaopc-selflearn |
--selflearn-nl-mode | 1 | Self-learning PyWFS nonlinear basis mode (0=linear, 1=odd PyWFS terms, 2=odd+even; 1 in DEFAULT/STAGE1) |
--online-og1 | 1 | Enable Stage-1 closed-loop DM-poke online optical gain (modalog; ON in DEFAULT/STAGE1) |
--og1-ampl | 0.0015 | Stage-1 online-OG DM probe RMS amplitude [um] |
--og1-start | 2 | Stage-1 online-OG first probed mode index (2 skips Tip/Tilt) |
--og1-stride | 8 | Stage-1 online-OG sparse modal probing stride |
--og1-warmup-only / --og1-continuous | 1 | Freeze Stage-1 mWFSfact and disable DM probe after R0 warmup for zero-probe science (default: ON; --og1-continuous keeps probing during science) |
--live-2wfs1dm-sec | 0 | Capture live Stage-2 2WFS1DM ivdiff burst [s] and apply via mlt.apply2wfs1dm |
--windlayers1 | 1 | Enable live Stage-1 mlt-windlayers profiler feeding EOF physics-Gram prior |
run_modalwhite | 1 | Resolved runtime parameter |
--regime-profile | standard | Matched warmup + science 3-regime atmospheric schedule (R0 nominal, R1 fast/rotated/degraded, R2 slow/good; standard in DEFAULT/STAGE1) |
--regime-ramp-s | 0.5 | Smooth C1 cosine slew duration [s] for regime wind-speed, direction, and seeing transitions |
wind_var | 1 | Resolved runtime parameter |
--wind-var-scale | 1.0 | Amplitude multiplier for smooth wind speed & direction meandering |
wind_burst | 1 | Resolved runtime parameter |
--wind-burst-scale | 1.0 | Strength multiplier for non-stationary atmospheric wind bursts |
--wind-switch-sec | 0 | Physical time [s] to trigger live phase-continuous wind rotation (0=off) |
--wind-switch-deg | 60.0 | Phase-continuous wind direction rotation angle [deg] at --wind-switch-sec |
vib_enable | 1 | Resolved runtime parameter |
--vib-rms-nm | 45.0 | Total telescope & optical-bench vibration OPD RMS [nm] (14.5..138 Hz) |
petal_enable | 1 | Resolved runtime parameter |
--petal-rms-nm | 1000.0 | Total thermally induced island petaling (LWE) OPD RMS [nm] |
--petal-tau-s | 3.0 | Correlation timescale [s] for slow thermal petaling evolution |
--wfs-dark-adu | 100.0 | Camera dark/bias pedestal [ADU] subtracted before WFS intensity normalization |
--wfs-bias | 1 | Enable dynamic unmodulated-PyWFS outer-cross diffraction-bias compensation (acquireWFSim .comp.WFSbias; ON in DEFAULT and STAGE1 presets) |
--wfs-bias-gain | 1.0 | Gain multiplier applied to dynamic unmodulated-PyWFS bias reference shift |
--wfs-bias-ema | 0.02 | Per-frame EMA smoothing rate (at 2 kHz; auto-scaled for Stage 1) for WFSbias_alpha |
pyrwfs_tlm | 1 | Resolved runtime parameter |
--petal-ctrl | 1 | Enable Stage-1 passive petal-unwrap JIT controller (petal-1 -> dm01disp06) |
--petal-use-sign | 1 | Petal sign disambiguation mode: auto (from chrom_sep), 1 (fused-silica), or 0 (achrom trial) |
--petal-alpha | 0.0018 | Petal EMA smoothing factor per Stage-1 WFS frame |
--petal-warmup | 900 | Petal averaging warmup frames before jump trigger is armed |
--petal-th-even | 0.72 | Petal even-mode jump detection threshold in waves |
--petal-th-sign | 0.65 | Petal odd chromatic sign confirmation threshold |
--petal-base-alpha | 0.0008 | Quiescent online baseline EMA alpha for ev_sn/ew zeroing (0=off) |
--no-petal-vernier | 1 | Disable Stage-2 Visible DM2 Vernier coincidence petal branch |
--petal-v2-th | 0.62 | Stage-2 Vernier DM2 petal detection threshold in lambda_J waves |
--petal-v2-ev-th | 0.43 | Stage-1 fast Even coincidence threshold for Vernier trigger |
--petal-v2-dwell | 22 | Consecutive coincidence frames required in Stage-2 Vernier gate |
--no-petal-lwe-offload | 1 | Disable proactive slow continuous-DM LWE offload |
--petal-off-gain | 0.0025 | Slow continuous-DM LWE offload integrator gain per 1 kHz frame |
--petal-enable-at | warmup | When to enable petal jumps: warmup (default) or science (t_phys=0) |
--petal-test-inject | 3:1@3.0 | Optional test petal step (petal:waves@t_sec) injected directly into entrance-pupil LWE input |
--zenith-deg | 30.0 | Target zenith distance [deg] for atmospheric dispersion and chromatic shear |
--disp-pa-deg | 0.0 | Atmospheric dispersion position angle [deg] |
--imr-mode | pupil_track | Image rotator tracking mode (pupil_track or field_track) |
--parallactic-rate-dps | 0.0 | Parallactic angle rotation rate [deg/s] |
--adc-preset | ao188 | AO188 ADC optical model preset: ao188 (default), ao188_nominal, ao188_zemax (S-LAH60/S-BAH27), or snell_doublet |
--adc-mode | lut | AO188 ADC mode: lut (default), retracted, manual, shm, or lut_plus_shm |
--adc-opt-band | whole | AO188 ADC LUT optimization band: whole (default), H, J, z, K', K, or vis |
--adc-mech | ideal | AO188 ADC stage mechanics: ideal (default) or realistic (Egner Table 29) |
--chrom-turb | 1 | Enable multi-wavelength chromatic atmospheric turbulence shear & Rytov amplitude (default: 1) |
--chrom-lambdas | 0.65,0.75,1.22,1.65,1.85 | Comma-separated anchor wavelengths [um] for multi-wavelength phase + scintillation cube interpolated across all broadband sensors (default: 0.65,0.75,1.22,1.65,1.85) |
--atmturb-fresnel | 2 | Diffractive Fresnel propagation in milkatmturb: 0=geometric (no scintillation), 1=split-step Fresnel, 2=Fourier Rytov (default; generates multi-wavelength outarrayamp scintillation cube for all WFS/science arms and windlayers) |
--nir-ttm-mode | align | AO3k NIR PyWFS steering mirror mode: align (optic+ADC feedforward + zero-turb bench nulling, default), feedforward (analytic only), or off |
--vis-ttm-mode | stage2 | SCExAO Vis PyWFS differential tip-tilt mount mode: closed (auto LLOWFS or Stage-2), stage2, ff+stage2, ff+closed, feedforward, or off |
vis_ttm_source | stage2 | Resolved runtime parameter |
--vis-ttm-gain | 0.06 | Closed-loop offload gain for SCExAO Vis PyWFS differential tip-tilt mount |
--vis-ttm-period | 1.0 | Physical-time update interval [s] for slow Stage-2 DM-to-Vis-TTM offload |
--ao188-hwp | 0 | Insert AO188 achromatic half-wave plate (1.653mm Quartz + 1.291mm MgF2 @ f/13.6; retracted by default) |
--ao188-bs1 | scexao | Select AO188 BS1 transmissive substrate: scexao (3mm SiO2 @ 45deg, default), ircs (20.43mm CaF2 w=0.197deg), ltao (20mm SiO2 @ 45deg), or off |
--ltao-pickoff | 0 | Insert LTAO 589nm Na-laser pickoff (10.16mm SiO2) + crossed BaF2 (11mm) astigmatism compensator (retracted by default) |
--nirwfs-pickoff | vis_hk | Select NIRWFS v2 pickoff dichroic/beamsplitter wheel position (5mm SiO2 @ 12deg f/-13.92): vis_hk (default), yjh50, yjh90, k_band, or open |
scexao_dm_win | 1 | Resolved runtime parameter |
--optic-static-wfe | 0 | Include static (reference-wavelength) + chromatic focus/astigmatism on transmissive optics (sets subtract_ref=0) |
Optical Bench & Hardware Configuration (cacaosim-CTRL)
- Declarative Bench: ao3k_scexao.bench (
256x256grid,D = 7.95 m,cobs = 30.7%,tput_tel = 20%,0.0331 m/pix,2.0 kHzouterx4=8.0 kHz/125 usinternal) - Optical Relay: Entrance pupil (
b_pup) -> AO188 ADC (ao188,lut/whole->b_adc) -> Stage-1 AO3k64x64DM (dm01disp) ->1.22 umJ-band dichroic (R->160x160NIR PyWFS @1 kHz;T-> Stage-2) -> Stage-2 SCExAO50x50DM (dm02disp) ->1.00 umLP dichroic (T-> H-band science beam (b_nir_sci) -> unoccultednir_finalmonitor +3.0 l/DLyot coronagraph (T->nir_coro;Lyot R->200 nmZ4 defocus ->64x64wfs_lowfs@500 Hz);R->90/10Vis splitter -> Vis PyWFS TTM (dm_vis_pyrwfs_tt) ->120x120Vis PyWFS @2 kHz+0.75 umVis camera) - Interactive Simulator Views: Builder inspector, hardware audit tables, and live SHM telemetry in Hardware Simulator GUI (
cacaosim-CTRL)
Internal Multi-Rate Timing & Sub-Stepping (8.0 kHz / 125 us)
Internal Timing Architecture: The fused GPU optical bench (
csim_htsim) ran at8.0 kHz(dt = 0.125 ms = 125 us), i.e.,4sub-samples per0.50 ms(2.0 kHz) outer tick (master_hz = 2000,oversample = 4).
| Component | Physical Rate | Sub-Tick Cadence | Sub-Step Integration & Physics |
|---|---|---|---|
Internal Bench Clock (htsim) |
8.0 kHz (0.125 ms) |
1 (125 us) |
4 sub-samples per 0.50 ms (2.0 kHz) outer tick |
Turbulence (atmturb + htsim) |
2.0 kHz (0.50 ms) |
1:4 lockstep |
New screen every 0.50 ms, GPU-interpolated across 4 sub-ticks |
Stage-1 DM (dm.ao3k) |
8.0 kHz (125 us) |
every sub-tick | Servo & FIFO stepped at 8.0 kHz: delay 1000 us (8 sub-ticks), RC tau = 20 us |
Stage-2 DM (dm.scexao) |
8.0 kHz (125 us) |
every sub-tick | Servo & FIFO stepped at 8.0 kHz: delay 500 us (4 sub-ticks), RC tau = 60 us |
Stage-2 Vis PyWFS (wfs_vis) |
2.0 kHz (0.50 ms) |
2000 (/4) |
Propagated every sub-tick (stride = 1): 4 sub-samples x 5ch x 16 pts |
Stage-1 NIR PyWFS (wfs_nir) |
1.0 kHz (1.00 ms) |
1000 (/8) |
Propagated every sub-tick (stride = 1): 8 sub-samples x 5ch x 16 pts |
Stage-3 Lyot LLOWFS (wfs_lowfs) |
500 Hz (2.00 ms) |
500 (/16) |
Defocused (200 nm Z4) Lyot-stop reflection camera: 16 sub-samples x 5ch |
Science Cameras (fpcam.*, 7x) |
100 Hz (10.0 ms) |
100 (/80) |
stride = 4 (staggered 0..3): 20 evals (2.0 kHz) x 5/7ch / frame |
Wavefront OPD Stats (wfstat) |
2.0 kHz (0.50 ms) |
every 4 sub-ticks |
Sampled once per 0.50 ms outer tick (60000 frames in 30.0 s) |
Polychromatic Passbands, Sub-Band Sampling & Flux Scaling
Sensor (out_cam) |
Beam | Bandpass [um] (dL/L0) |
Slices N |
Sub-Band lambda_c [um] (w_c) |
Focal L0/Lc Scale |
Rate [Hz] (/Sub) | Flux [ph/fr] |
|---|---|---|---|---|---|---|---|
vis_raw (psf_vis_raw) |
b_pup |
0.694-0.806 (15%) |
9 | 0.700 (12%), 0.712 (12%), 0.725 (12%), 0.737 (11%), 0.750 (11%), 0.762 (11%), 0.775 (10%), 0.787 (10%), 0.800 (10%) | 0.938..1.071x | 100 (/80) | 3.53e+05 |
nir_raw (psf_nir_raw) |
b_pup |
1.501-1.798 (18%) |
5 | 1.531 (24%), 1.590 (22%), 1.650 (20%), 1.709 (18%), 1.768 (17%) | 0.933..1.078x | 100 (/80) | 1.73e+05 |
vis_stg1 (psf_vis_stg1) |
b_post_stg1 |
0.694-0.806 (15%) |
7 | 0.702 (16%), 0.718 (15%), 0.734 (15%), 0.750 (14%), 0.766 (14%), 0.782 (13%), 0.798 (13%) | 0.940..1.069x | 100 (/80) | 3.32e+05 |
nir_stg1 (psf_nir_stg1) |
b_post_stg1 |
1.501-1.798 (18%) |
5 | 1.531 (24%), 1.590 (22%), 1.650 (20%), 1.709 (18%), 1.768 (17%) | 0.933..1.078x | 100 (/80) | 1.62e+05 |
wfs_nir (csim_wfs_nir) |
b_nir_wfs_tt |
1.098-1.342 (20%) |
5 | 1.124 (20%), 1.171 (23%), 1.220 (21%), 1.268 (19%), 1.316 (15%) | 0.927..1.086x | 1000 (/8) | 2.38e+04 |
wfs_vis (csim_wfs_vis) |
b_vis_wfs_tt |
0.675-0.825 (20%) |
5 | 0.690 (23%), 0.720 (21%), 0.750 (20%), 0.780 (19%), 0.810 (17%) | 0.926..1.087x | 2000 (/4) | 1.96e+04 |
vis_final (psf_vis_final) |
b_vis_sci |
0.694-0.806 (15%) |
7 | 0.702 (16%), 0.718 (15%), 0.734 (15%), 0.750 (14%), 0.766 (14%), 0.782 (13%), 0.798 (13%) | 0.940..1.069x | 100 (/80) | 3.29e+04 |
nir_final (psf_nir_final) |
b_nir_sci |
1.501-1.798 (18%) |
5 | 1.531 (24%), 1.590 (22%), 1.650 (20%), 1.709 (18%), 1.768 (17%) | 0.933..1.078x | 100 (/80) | 1.61e+05 |
nir_coro (psf_nir_coro) |
b_nir_coro |
1.501-1.798 (18%) |
5 | 1.531 (24%), 1.590 (22%), 1.650 (20%), 1.709 (18%), 1.768 (17%) | 0.933..1.078x | 100 (/80) | 1.48e+05 |
wfs_lowfs (csim_wfs_lowfs) |
b_lowfs_defoc |
1.501-1.798 (18%) |
5 | 1.531 (24%), 1.590 (22%), 1.650 (20%), 1.709 (18%), 1.768 (17%) | 0.933..1.078x | 500 (/16) | 2.90e+04 |
Interactive
Optical Bench 32-Bin Spectra & Polychromatic Sensor Sub-Band Sampling (2x1)
Hardware Simulator GUI (cacaosim-CTRL)
Interactive Optical Bench (.bench) Explorer Simulation
Click any optical element above to inspect its beam connections, parameters, and custom overrides.
Click any key to open its full definition in the Options Reference. Values differing from schema defaults are highlighted.
[bench]bench- name
- subaru_ao3k_scexaocustom
- nwf
- 256custom
- pup_diam
- 0.9375
- cobs
- 0.307custom
- nspider
- 4
- spider_w
- 0.02314custom
- spider_deg
- 51.75custom
- spider_offset
- 0.08289custom
- tel_diam_m
- 7.95custom
- star_mag
- 8.0
- star_teff
- 9600.0custom
- tput_tel
- 0.20custom
- master_hz
- 2000.0
- oversample
- 4custom
- in_wf
- outarraypha
- in_amp
- outarrayamp
- in_pup
- csim_pup
- out_beam
- b_pup
- wf_unit
- 1custom
- ref_lambda
- 0.50
- turb_gain
- 0.0custom
- atm_disp_enable
- 1
- zenith_deg
- 30.0custom
- disp_pa_deg
- 0.0
- imr_mode
- pupil_track
- parallactic_rate_dps
- 0.0
- site_alt_m
- 4205.0
- atm_pressure_hpa
- 615.0
- atm_temp_c
- 2.0
- atm_rh_pct
- 20.0
- atm_disp_ref_um
- 1.65
- chrom_turb
- 1custom
- chrom_lambdas
- 0.65,0.75,1.22,1.65,1.85
- atmturb_fresnel
- 2
[fpcam.vis_raw]fpcam[fpcam.nir_raw]fpcam[adc.ao188]adc- in
- b_hwp
- out
- b_adc
- preset
- ao188
- mode
- lut
- opt_band
- whole
- ideal_mech
- 1
- tput_enable
- 1
- tput_base
- 0.96
- in_cmd
- ao188_adc_cmd
- out_state
- ao188_adc_state
[dm.ao3k]dm- in
- b_adc
- out
- b_post_stg1
- in_cmd
- dm01shaped
- out_opd
- csim_dm01_opd
- nact_x
- 64custom
- nact_y
- 64custom
- dm_diam
- 0.984375custom
- if_coupling
- 0.08custom
- tput
- 0.98
- max_stroke
- 16.0custom
- dac_bits
- 16
- dyn_mode
- platecustom
- tau_us
- 20.0custom
- f0_hz
- 1000.0custom
- act_pitch_mm
- 1.5
- wave_c
- 14.0
- bend_beta
- 0.0085
- damp_g0
- 195.0
- damp_g2
- 1.5
- plate_drive
- force
- rim_bc
- free
- delay_us
- 1000.0custom
[fpcam.vis_stg1]fpcam[fpcam.nir_stg1]fpcam[splitter.dichroic_stg1]splitter- in
- b_ltao
- out_refl
- b_nir_wfs
- out_trans
- b_stg2_in
- mode
- dichroic_bpcustom
- lambda_cut
- 1.22custom
- band_width
- 0.30custom
- roll_um
- 0.03
- eff_refl
- 0.95
- eff_trans
- 0.95
- trans_preset
- nirwfs_v2custom
[ttm.nir_pyrwfs]ttm[pyrwfs.wfs_nir]pyrwfs[dm.scexao]dm[splitter.dichroic_stg2]splitter- in
- b_post_stg2
- out_refl
- b_vis_arm
- out_trans
- b_nir_sci
- mode
- dichroic_lp
- lambda_cut
- 0.94custom
- roll_um
- 0.03
- eff_refl
- 0.95
- eff_trans
- 0.95
- trans_preset
- scexao_vis_ir_dichrocustom
[splitter.vis_pickoff]splitter[ttm.vis_pyrwfs]ttm[pyrwfs.wfs_vis]pyrwfs[fpcam.vis_final]fpcam[fpcam.nir_final]fpcam[coro.coro_nir]coro- in
- b_nir_sci
- out
- b_nir_coro
- out_lowfs
- b_lowfs
- out_pre_lyot
- coro_pre_lyot
- out_pre_lyot_long
- coro_pre_lyot_long
- mode
- lyot_spot
- lambda_um
- 1.65
- bw_frac
- 0.18custom
- nlambda
- 5custom
- fpm_rad_ld
- 3.0
- fpm_amp
- 0.0
- lowfs_mode
- lyot_reflcustom
- lowfs_refl
- 0.95
- tput
- 0.92
- lyot_outer
- 0.85
- lyot_obs
- 0.38custom
- lyot_nspider
- 4
- lyot_spider_w
- 0.040custom
- lyot_spider_deg
- 51.75custom
- lyot_spider_offset
- 0.08289custom
[fpcam.nir_coro]fpcam[wfe.lowfs_defoc]wfeView raw ao3k_scexao.bench · Download
# SPDX-FileCopyrightText: 2026 Olivier Guyon et al
# SPDX-License-Identifier: LGPL-3.0-or-later
#
# Subaru Telescope (7.95 m Nasmyth-IR Pupil) AO3k + SCExAO + Lyot Coronagraph + LLOWFS Bench
#
# Entrance Pupil : Subaru Nasmyth-IR (D=7.95 m, cobs=0.307, 4 offset-V spiders @ +/-51.75 deg,
# offset=0.08289 D, width=0.02314 D), end-to-end telescope throughput = 20%
# Atmosphere : Maunakea (4205 m, 615 hPa, 2 C, 20% RH) at default zenith_deg = 30.0 deg,
# refractive dispersion + 5-wl [0.65, 0.75, 1.22, 1.65, 1.85] um chromatic
# Fourier Rytov (fresnel=2) phase + scintillation amplitude cube
# Fore-Optics : AO188 HWP (option, OUT by default; 1.653mm Quartz + 1.291mm MgF2 @ f/13.6) ->
# AO188 ADC (Egner 2009 Table 11 default; also supports ao188_zemax S-LAH60/S-BAH27)
# Stage 1 (AO3k) : 64x64 DM (D=60 act, dm01disp) -> AO188 BS1 SCExAO (3mm SiO2 @ 45deg f/13.92;
# swappable to BS_IRCS / BS_LTAO) -> LTAO 589nm pickoff + BaF2 compensator
# (option, OUT by default) -> NIRWFS v2 pickoff (5mm SiO2 @ 12deg f/-13.92) ->
# NIR PyWFS TTM (dm_nir_pyrwfs_tt) + J-band (1.22 um, 20% BW, 5ch) 160x160 PyWFS 1kHz
# Stage 2 (SCExAO): 2kDM protective window (12mm SiO2 double-pass, 18mm coll) -> 50x50 DM (D=46 act,
# dm02disp) -> Main VIS/IR dichroic (0.94 um, 7mm SiO2 @ 45deg, 18mm coll) ->
# Vis PyWFS TTM (dm_vis_pyrwfs_tt) + Vis (0.75 um, 20% BW, 5ch) 120x120 PyWFS @ 2 kHz
# Stage 3 (LLOWFS): H-band (1.65 um, 18% BW, 5ch) 3.0 l/D Lyot coronagraph with reflective Lyot stop
# feeding a defocused (200 nm Z4) 64x64 focal-plane LLOWFS @ 500 Hz (ZPO -> Stg2)
# Science PSFs : Simultaneous Visible (0.75 um, 15% BW, 7-9ch), Near-IR H (1.65 um, 18% BW, 5ch)
# unocculted cameras (Pre-AO/ADC, Post-Stg1, Final Stg2) + Post-Lyot Coro Cam.
[bench]
name = "subaru_ao3k_scexao"
nwf = 256
pup_diam = 0.9375
cobs = 0.307
nspider = 4
spider_w = 0.02314
spider_deg = 51.75
spider_offset = 0.08289
tel_diam_m = 7.95
star_mag = 8.0
star_teff = 9600.0
tput_tel = 0.20
master_hz = 2000.0
oversample = 4
in_wf = "outarraypha"
in_amp = "outarrayamp"
in_pup = "csim_pup"
out_beam = "b_pup"
wf_unit = 1
ref_lambda = 0.50
turb_gain = 0.0
atm_disp_enable = 1
zenith_deg = 30.0
disp_pa_deg = 0.0
imr_mode = "pupil_track"
parallactic_rate_dps = 0.0
site_alt_m = 4205.0
atm_pressure_hpa = 615.0
atm_temp_c = 2.0
atm_rh_pct = 20.0
atm_disp_ref_um = 1.65
chrom_turb = 1
chrom_lambdas = "0.65,0.75,1.22,1.65,1.85"
atmturb_fresnel = 2
# --- Stage 0: Uncorrected Pre-ADC Entrance Pupil PSFs (Visible & Near-IR) ---
[fpcam.vis_raw]
in = "b_pup"
out_cam = "psf_vis_raw"
out_long = "psf_vis_raw_long"
ncam = 256
prop_mode = "mft"
lambda_um = 0.75
bw_frac = 0.15
nlambda = 9
qe = 0.85
pixscale_ld = 2.20
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.3
sat_adu = 1.0e9
out_dtype = "float32"
[fpcam.nir_raw]
in = "b_pup"
out_cam = "psf_nir_raw"
out_long = "psf_nir_raw_long"
ncam = 256
prop_mode = "mft"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
qe = 0.85
pixscale_ld = 2.50
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.5
sat_adu = 1.0e9
out_dtype = "float32"
# --- Fore-Optics: AO188 HWP (optional, OUT by default) + AO188 ADC (Egner 2009 Table 11) ---
[optic.ao188_hwp]
in = "b_pup"
out = "b_hwp"
preset = "ao188_hwp"
enabled = 0
[adc.ao188]
in = "b_hwp"
out = "b_adc"
preset = "ao188"
mode = "lut"
opt_band = "whole"
ideal_mech = 1
tput_enable = 1
tput_base = 0.96
in_cmd = "ao188_adc_cmd"
out_state = "ao188_adc_state"
# --- Stage 1 (AO3k): 64x64 ALPAO Magnetic DM (Plate PDE, D=60 act) + 160x160 J-Band PyWFS ---
[dm.ao3k]
in = "b_adc"
out = "b_post_stg1"
in_cmd = "dm01shaped"
out_opd = "csim_dm01_opd"
nact_x = 64
nact_y = 64
dm_diam = 0.984375
if_coupling = 0.08
tput = 0.98
# ALPAO DM3228 force-plate rail (±16 um eq. -> 32 um PTV global OPD, 3.94 um OPD inter-act step)
max_stroke = 16.0
dac_bits = 16
dyn_mode = "plate"
tau_us = 20.0
f0_hz = 1000.0
act_pitch_mm = 1.5
wave_c = 14.0
bend_beta = 0.0085
damp_g0 = 195.0
damp_g2 = 1.5
plate_drive = "force"
rim_bc = "free"
delay_us = 1000.0
[fpcam.vis_stg1]
in = "b_post_stg1"
out_cam = "psf_vis_stg1"
out_long = "psf_vis_stg1_long"
ncam = 256
prop_mode = "mft"
lambda_um = 0.75
bw_frac = 0.15
nlambda = 7
qe = 0.85
pixscale_ld = 2.20
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.3
sat_adu = 1.0e9
out_dtype = "float32"
[fpcam.nir_stg1]
in = "b_post_stg1"
out_cam = "psf_nir_stg1"
out_long = "psf_nir_stg1_long"
ncam = 256
prop_mode = "mft"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
qe = 0.85
pixscale_ld = 2.50
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.5
sat_adu = 1.0e9
out_dtype = "float32"
# AO188 BS1 (default: BS_SCExAO 3mm SiO2 @ 45deg f/13.92; swappable to ao188_bs_ircs / ao188_bs_ltao)
[optic.ao188_bs1]
in = "b_post_stg1"
out = "b_bs1"
preset = "ao188_bs_scexao"
enabled = 1
# LTAO 589 nm Na-laser pickoff (10.16mm SiO2 @ 45deg) + crossed BaF2 (11mm) compensator (OUT by default)
[optic.ltao_pickoff]
in = "b_bs1"
out = "b_ltao"
preset = "ltao_pickoff_comp"
enabled = 0
# NIRWFS v2 pickoff (reflects J-band to NIR PyWFS; transmits Vis+H+K through 5mm SiO2 @ 12deg f/-13.92)
[splitter.dichroic_stg1]
in = "b_ltao"
out_refl = "b_nir_wfs"
out_trans = "b_stg2_in"
mode = "dichroic_bp"
lambda_cut = 1.22
band_width = 0.30
roll_um = 0.03
eff_refl = 0.95
eff_trans = 0.95
trans_preset = "nirwfs_v2"
# AO3k NIR Pyramid WFS 2-axis Steering Mirror (corrects static optic & ADC J-H differential TT)
[ttm.nir_pyrwfs]
in = "b_nir_wfs"
out = "b_nir_wfs_tt"
in_cmd = "dm_nir_pyrwfs_tt"
dm_diam = 0.9375
tput = 0.99
max_stroke = 5.0
dac_bits = 16
dyn_mode = "rc"
tau_us = 500.0
delay_us = 500.0
[pyrwfs.wfs_nir]
in = "b_nir_wfs_tt"
out_cam = "csim_wfs_nir"
ncam = 160
lambda_um = 1.22
bw_frac = 0.20
nlambda = 5
chrom_sep = -0.031
qe = 0.80
use_beam_flux = 1
rate_hz = 1000.0
mod_rad = 0
mod_npts = 1
ron_e = 0.8
out_dtype = "float32"
# --- Stage 2 (SCExAO): 2kDM Window + 50x50 DM (D=46 act) + Main VIS/IR Dichroic + Vis PyWFS ---
# SCExAO 2kDM protective window (12mm SiO2 double-pass in 18mm collimated beam)
[optic.scexao_dm_win]
in = "b_stg2_in"
out = "b_dm2_win"
preset = "scexao_dm_window"
enabled = 1
[dm.scexao]
in = "b_dm2_win"
out = "b_post_stg2"
in_cmd = "dm02disp"
out_opd = "csim_dm02_opd"
nact_x = 50
nact_y = 50
dm_diam = 0.9986413
if_coupling = 0.15
tput = 0.98
max_stroke = 3.0
dac_bits = 16
dyn_mode = 1
tau_us = 60.0
delay_us = 500.0
# SCExAO main VIS/IR dichroic (0.94 um cutoff; reflects VIS < 0.94 um, transmits NIR through 7mm SiO2 @ 45deg)
[splitter.dichroic_stg2]
in = "b_post_stg2"
out_refl = "b_vis_arm"
out_trans = "b_nir_sci"
mode = "dichroic_lp"
lambda_cut = 0.94
roll_um = 0.03
eff_refl = 0.95
eff_trans = 0.95
trans_preset = "scexao_vis_ir_dichro"
[splitter.vis_pickoff]
in = "b_vis_arm"
out_refl = "b_vis_wfs"
out_trans = "b_vis_sci"
mode = "gray"
r_gray = 0.90
t_gray = 0.10
# SCExAO Visible Pyramid WFS 2-axis Tip-Tilt Mount (corrects differential Vis-NIR TT)
[ttm.vis_pyrwfs]
in = "b_vis_wfs"
out = "b_vis_wfs_tt"
in_cmd = "dm_vis_pyrwfs_tt"
dm_diam = 0.9375
tput = 0.99
max_stroke = 5.0
dac_bits = 16
dyn_mode = "rc"
tau_us = 500.0
delay_us = 500.0
[pyrwfs.wfs_vis]
in = "b_vis_wfs_tt"
out_cam = "csim_wfs_vis"
ncam = 120
lambda_um = 0.75
bw_frac = 0.20
nlambda = 5
align_center_lam = 1
qe = 0.85
use_beam_flux = 1
rate_hz = 2000.0
mod_rad = 0
mod_npts = 1
ron_e = 0.2
out_dtype = "float32"
[fpcam.vis_final]
in = "b_vis_sci"
out_cam = "psf_vis_final"
out_long = "psf_vis_final_long"
ncam = 256
prop_mode = "mft"
lambda_um = 0.75
bw_frac = 0.15
nlambda = 7
qe = 0.85
pixscale_ld = 2.20
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.3
sat_adu = 1.0e9
out_dtype = "float32"
[fpcam.nir_final]
in = "b_nir_sci"
out_cam = "psf_nir_final"
out_long = "psf_nir_final_long"
ncam = 256
prop_mode = "mft"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
qe = 0.85
pixscale_ld = 2.50
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.5
sat_adu = 1.0e9
out_dtype = "float32"
# --- Stage 3: H-Band Lyot Coronagraph + Reflective-Lyot Defocused Focal-Plane LLOWFS (500 Hz) ---
[coro.coro_nir]
in = "b_nir_sci"
out = "b_nir_coro"
out_lowfs = "b_lowfs"
out_pre_lyot = "coro_pre_lyot"
out_pre_lyot_long = "coro_pre_lyot_long"
mode = "lyot_spot"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
fpm_rad_ld = 3.0
fpm_amp = 0.0
lowfs_mode = "lyot_refl"
lowfs_refl = 0.95
tput = 0.92
lyot_outer = 0.85
lyot_obs = 0.38
lyot_nspider = 4
lyot_spider_w = 0.040
lyot_spider_deg = 51.75
lyot_spider_offset = 0.08289
[fpcam.nir_coro]
in = "b_nir_coro"
out_cam = "psf_nir_coro"
out_long = "psf_nir_coro_long"
ncam = 256
prop_mode = "mft"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
qe = 0.85
pixscale_ld = 2.50
use_beam_flux = 1
rate_hz = 100.0
ron_e = 0.5
sat_adu = 1.0e9
out_dtype = "float32"
[wfe.lowfs_defoc]
in = "b_lowfs"
out = "b_lowfs_defoc"
in_wfe = "csim_lowfs_defoc"
rms_nm = 0.0
defocus_nm = 200.0
wfe_gain = 1.0
tput = 0.98
[fpcam.wfs_lowfs]
in = "b_lowfs_defoc"
out_cam = "csim_wfs_lowfs"
is_wfs = 1
ncam = 64
prop_mode = "mft"
lambda_um = 1.65
bw_frac = 0.18
nlambda = 5
qe = 0.85
pixscale_ld = 2.00
use_beam_flux = 1
rate_hz = 500.0
ron_e = 0.5
sat_adu = 1.0e9
out_dtype = "float32"





