uvex_transients.transients.horizon.SETTINGS#

uvex_transients.transients.horizon.SETTINGS = {'confidence': 0.95, 'n_samples': 8000, 'n_time': 60, 'n_z': 40, 'tolerance': 0.01}#

The settings a stored curve is generated with, recorded in its metadata.

confidence and tolerance are the guarantee. n_samples is the number of draws, whose cost is linear and which cannot be below 299. n_z is the number of logarithmic redshifts each draw is followed across; the crossing is interpolated between them, which keeps the limit within about 2%. n_time is the number of logarithmic rest-frame times from T_MIN to the duration, and it must resolve each light curve’s peak, since a missed peak makes an event look fainter. They are chosen for a limit good to a few percent in redshift, not for the tightest possible guarantee.

The tolerance limit is a bound that approaches the redshift at which exactly tolerance of the population is detectable from above, and the excess shrinks as \(n^{-1/2}\). For a population with a heavy bright tail (the Type IIP SNe with CSM) it is about 16% at 500 draws, with a 1 sigma spread of the same order, 4% at 4000 and 2.5% at 8000, so 8000 is the number of draws that makes “a few percent” true. A draw costs about 2 ms.

Type:

dict