PSF rendering (wcc_sim.psf)

Render the WCC PSF (in-focus Airy or 1/2-wave defocus) on an oversampled grid.

wcc_etc PSFSource.render(ctx) returns a detector-sampled PSF; we get an oversampled one by describing a finer detector to the context (pixel size and plate scale divided by oversample, npix multiplied by it). Jitter blur is applied by wcc_etc at the fine plate scale.

wcc_sim.psf.make_psf_source(focus)[source]
wcc_sim.psf.render_oversampled_psf(sim, focus, oversample=11, stamp_npix=None, jitter_sigma_mas=None, wavelength_m=None)[source]

Normalized PSF on a (stamp_npix*oversample)^2 fine grid, centered.

wavelength_m overrides the sensor central wavelength (Airy path only; DefocusPSF is a fixed Huygens image and ignores wavelength).