Struct onesource::NzPriorSetup
Defined in File onesource.h
Nested Relationships
This struct is a nested type of Class onesource.
Struct Documentation
-
struct NzPriorSetup
Part of the N(z) prior that depends on the source only (apparent magnitude and, for each of the 4 template types, the quantities that do not depend on the template redshift). Computed once per fit() call by nzprior_setup() instead of once per template.
Public Members
-
bool has_mi = false
false if no band is available: prior is 1
-
double mi = -99.
apparent magnitude used by the prior
-
double zmax[4] = {}
zot + kt*(mi-20), per type
-
double pcal[4] = {}
normalisation of P(z|T,m0), per type
-
double rapp[4] = {}
ft*exp(-ktf*(mi-20)), per type
-
double rappSum = 1.
sum of rapp over the types
-
bool has_mi = false