Clone wiki

cosmosis / samplers / apriori

The Apriori sampler

Draw samples from the prior and evaluate the likelihood

Name: Apriori

Version: 1.0

Author(s): CosmoSIS Team



Parallel: parallel

This sampler draws samples from the prior and evaluates their likelihood. The main current use of this is to help test for misbehaviour in calculation modules in extreme regions of parameter space.


None required


These parameters can be set in the sampler's section in the ini parameter file.
If no default is specified then the parameter is required. A listing of "(empty)" means a blank string is the default.

Parameter Type Meaning Default
nsample integer number of samples to draw
save string If set, save sample data to directories save_name_0, save_name_1, etc. (empty)