How arielmission-space/paos works
PAOS is a Python physical-optics simulator for Fresnel wavefront propagation and paraxial ray tracing. The main workflow accepts an optical-system configuration through the CLI or GUI, parses wavelengths, fields, and surfaces, optionally performs diagnostic ray tracing, runs wavefront propagation, then plots and/or saves simulation products. The graph also preserves material modeling, aberration representations, and the GUI. Some subsystem links are based on the SOURCE INDEX or README rather than fully sampled implementations; those limits are reflected in the evidence paths.
Main entry points: pipeline.py Simulation pipeline · wfo.py Wavefront propagation · app.py GUI application · parseConfig.py Config parser
Components 22
User entry points
- CLI launcher
paos/paos.py - PAOS API
paos/__init__.py - Logging
paos/log/logger.py
Optical setup
- Config parser
paos/core/parseConfig.py - Material models
paos/util/material.py - ABCD matrices
paos/classes/abcd.py
Simulation engines
- Ray tracing
paos/core/raytrace.py - Coordinate breaks
paos/core/coordinateBreak.py - Simulation pipeline
paos/core/pipeline.py - Wavefront propagation
paos/classes/wfo.py
Optical analysis
- Zernike aberrations
paos/classes/zernike.py - PSD surfaces
paos/classes/psd.py - Grid sag
paos/util/sag.py - Simulation plots
paos/core/plot.py - Output saving
paos/core/saveOutput.py
Interactive interface
- GUI launcher
paos/gui/gui.py - GUI application
paos/gui/app.py - GUI elements
paos/gui/core/elems.py - GUI shared UI
paos/gui/core/shared.py
Other components
- User
- Optical config
- Simulation products
Connections 27
- User → CLI launcher: runs
README.md - CLI launcher → PAOS API: configures run
paos/paos.py - PAOS API → Simulation pipeline: calls pipeline
- Optical config → Config parser: provides settings
paos/core/parseConfig.py - Simulation pipeline → Config parser: parses config
paos/core/pipeline.py - Config parser → Material models: uses materials
paos/core/parseConfig.py - Config parser → ABCD matrices: builds surfaces
paos/core/parseConfig.py - Simulation pipeline → Ray tracing: optionally traces rays
paos/core/pipeline.py - Ray tracing → Coordinate breaks: uses breaks
paos/core/raytrace.py - Simulation pipeline → Wavefront propagation: runs propagation
paos/core/pipeline.py - Simulation pipeline → Simulation plots: optionally plots
paos/core/pipeline.py - Simulation pipeline → Output saving: saves products
paos/core/pipeline.py - Wavefront propagation → ABCD matrices: uses matrices
paos/core/run.py - Wavefront propagation → Coordinate breaks: applies breaks
paos/core/run.py - Wavefront propagation → Zernike aberrations: applies aberrations
paos/classes/wfo.py - Wavefront propagation → PSD surfaces: uses PSD model
paos/classes/wfo.py - Wavefront propagation → Grid sag: uses sag data
paos/classes/wfo.py - Output saving → Simulation products: writes products
- Simulation plots → Simulation products: visualizes results
- User → GUI launcher: opens GUI
README.md - GUI launcher → GUI application: starts app
paos/gui/gui.py - GUI application → PAOS API: uses API
paos/gui/app.py - GUI application → Config parser: parses settings
paos/gui/app.py - GUI application → Simulation plots: uses plotting
paos/gui/app.py - GUI application → GUI elements: uses elements
paos/gui/app.py - GUI elements → GUI shared UI: uses shared UI
paos/gui/core/elems.py - CLI launcher → Logging: configures logging
paos/paos.py