slicersim.sample

slicersim.sample#

Samples of targets, to estimate exposure times and data volumes in bulk.

Sample gathers several targets (typically LazuliSupernova) and calls their methods on all of them, e.g. to set them all up to a given SNR and summarise the resulting exposure times, read-out modes and data volumes. build_exptime_estimator uses it to build an exposure time versus redshift relation for SNe Ia.

Classes

Sample

A collection of targets handled together.

Functions

broadcast_mapping

Broadcast a value to a given number of targets.

build_exptime_estimator

Build an interpolator of the SN Ia exposure time as a function of redshift.