Tutorials#
Each tutorial is a Jupyter notebook. Use the download button at the top of a page to run it yourself.
Beginner#
Simulate a source, get its exposure time and spectrum — no knowledge of the instrument model needed.
Every README example and figure: exposure time, spectra, a supernova in its host and the variance sources.
lazuli_etc and lazuli_sn_etc: exposure time and spectrum
in one call.
Supernovae, CalSpec stars or any spectrum: reach a SNR and get the read-out mode.
Change redshift, phase or magnitude of a loaded target.
Which noise source dominates, and what happens when you switch it off.
POSSIS models: viewing angle, phase and exposure time.
A supernova in its host: "ngc0628" or "sersic:bb-5000"
models, and redshift consistency.
LazuliGalaxy: a galaxy without point source, its cubes, and its
spectrum within an aperture.
Optimal or aperture photometry, of a point source or of its host
(method, aperture, of_host).
SampleExposure time and data volume across many targets.
Advanced#
Control the instrument and the scene.
Read-out modes and spatial sampling of the spectrograph.
How nmd and the number of ramps set noise and exposure time.
Access QE, throughput, spectral resolution and more.
Change the number of pixels per resolution element.
Trade-off between dispersion resolution and spot size.
CalSpec observations for flux calibration planning.
What a Scene is and how to build your own.