Tutorials
These tutorials are runnable Jupyter notebooks from the notebooks/
directory of the repository, rendered here with their saved outputs. Each one
is self-contained. Download it and run it interactively to experiment. The
Gaia queries they perform are cached in notebooks/gaia_cache/, so they
run offline.
Start with the first two: notebook 01 simulates a field and shows the standard views in a few minutes, and notebook 02 checks that the images behave like data. The rest each cover one topic.
Notebook |
What it covers |
|---|---|
Simulate a full frame, overlay the Gaia catalog, compare the three PSF modes on one star, and write the FITS file. |
|
The checks: PSF peak ordering, astrometric residuals, photometric closure on the ETC rates, noise statistics, saturation flags, and the FITS round trip. Every section ends in an assertion. |
|
The three PSF modes (in-focus Airy, +1/+2-wave defocus), stamp sizes, oversampling, and the effect of jitter. |
|
The two detectors (IMX455 vs qCMOS), sensorfilter keys, and how Gaia photometry maps to spectral types and count rates. |
|
The ETC noise model step by step, |
|
The TAN WCS, position angles, injecting your own catalog, and astrometric round-trip checks. |
|
The |
|
The analytic PSF wing extension: before/after images at hard stretch, the fitted power-law wing models, seam smoothness at the old stamp edge, and how the wings change the encircled energy. |
|
The |
|
Every |
|
Full-frame WCC g, r, i images of real galaxies from PHANGS-HST, and a colour composite |
Full-frame g, r, i images of two real galaxies (NGC 1300, NGC 4321)
from PHANGS-HST mosaics via |
Simulate a sky image (star, inclined ring, planet) instead of a
catalog: |
|
Slitless grating spectroscopy, explained from the grating equation: orders and where each wavelength lands, the blue and red halves, the transition zone at the split, a noise check against the exposure time calculator, a full-frame field, and the header cards an extraction needs. See Slitless grating. |