.. index:: pair: struct; gpr::priors::PopulationPairPrior .. _doxid-structgpr_1_1priors_1_1_population_pair_prior: struct gpr::priors::PopulationPairPrior ======================================= .. toctree:: :hidden: The second level of the length-scale hierarchy: what the campaign has learned about an element pair across cells. Within a run a pair type's log length scale is drawn from a Gaussian whose location and scale are the population's (the median and the scaled median absolute deviation of the cell medians of the final fits, per element pair); a pair type whose element pair the campaign has not fitted keeps the run's own motion scale. Fitted by scripts/population_prior_survey.py of the reproduction repository from the archived final kernels, stored as a text table, and read here. Empirical Bayes: the population is the hyperprior, each run's fit is the level below it. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct PopulationPairPrior { // fields int :target:`element_a` = 0; int :target:`element_b` = 0; int :target:`cells` = 0; double :target:`log_length_mu` = 0.0; double :target:`log_length_sigma` = 0.0; };