telescope-sim
Composable, config-driven simulation of telescope PSFs, deformable mirrors, coronagraphs, and fiber coupling — built on HCIPy, with an optional JAX backend that makes the whole telescope differentiable.
The package exposes a small set of abstract base classes
(Aperture,
Corrector,
Coronagraph,
FocalPlane,
OutputTap,
PostProcessor) plus a registry of stock
implementations. Optical pipelines are described in YAML; the package
validates the config with pydantic v2 and instantiates a
TelescopeSim ready to sample().
Getting Started
User guide
Tutorials
- 1. The sELF array
- 2. Coronagraphs: vortex and classical Lyot
- 3. Custom pupil + Zernike DM (VAMPIRES)
- 4. Fiber MMF coupling
- 5. Extending telescope-sim with custom components
- 6. Actuator-grid DM with baked-in misalignment
- 7. JAX backend: batched sampling and the pure forward model
- 8. Phase retrieval: exporting the model to zodiax/dLux
- 9. Differentiable Fast & Furious
- The twin: why one frame is not enough
- The measurement: frame, nudge, frame
- The fit: multi-start descent, nothing else
- The recovered wavefront
- Closing the loop, F&F style
- Act 2: through the vector vortex coronagraph
- The same fit, behind the coronagraph
- Restoring the null
- The polarization twist: one frame, no nudge
- Notes
- 10. Low wind effect: petal modes on a spider-cut pupil