Changelog
This page summarizes notable changes. The authoritative history is the git log
and the design specs under docs/superpowers/.
v0.1.0
Initial public release. Highlights:
Scene abstraction:
SceneandSceneElementmanage source, host, and background elements, built throughget_scene().Selectable magnitude system:
magsys="vegamag"(default) ormagsys="abmag"(case-insensitive) onSceneElementandget_scene(). Note that magnitudes without an explicitmagsys— including the built-inzodibackground (mag=22.5) — are Vega magnitudes. The AB offset is negligible in Johnson V (~0.002 mag) but grows toward the red (~0.26 mag in R, ~1.9 mag in K).Separate
SensorandTelescopeobjects, with sensorbit_depth/bias_level/adc_maxproperties.2-D image SNR by default:
get_snr()delegates toget_image_snr()and returns a dict (index["snr"]). The analytic Airy form remains asget_snr_airy(deprecated) for cross-checks.Exposure-time inversion:
get_exptime_for_snr().PSF simulator and PSF-aware SNR:
AiryPSF,DefocusPSF,CustomPSF,ImageSimulator, and aperture optimization inget_image_snr().Saturation flagging:
get_peak_pixel()andis_saturated().Parametric source spectra in
get_scene():blackbody,flat(\(F_\nu\)/\(F_\lambda\)),powerlaw, andemission; shape parameters are rebuildable viaupdate.Background spectrum support and a selection of filters.
Convenience plotting (
wcc_etc.plotting): matplotlib and bokeh variants of image, image-row, radial-profile, and encircled-energy plots, plus a shared house style (set_wcc_style/WCC_STYLE) and dispatch methods onSimulatedImage.