threeML.bayesian.multinest_sampler module

class threeML.bayesian.multinest_sampler.MultiNestSampler(likelihood_model: Optional[astromodels.core.model.Model] = None, data_list: Optional[threeML.data_list.DataList] = None, **kwargs)[source]

Bases: threeML.bayesian.sampler_base.UnitCubeSampler

sample(quiet: bool = False)[source]

sample using the MultiNest numerical integration method

Returns

Return type

setup(n_live_points: int, chain_name: str = 'chains/fit-', resume: bool = False, importance_nested_sampling: bool = False, **kwargs)[source]

Setup the MultiNest Sampler. For details see:

Parameters
  • n_live_points – number of live points for the evaluation

  • chain_name – the chain name

  • importance_nested_sampling – use INS

Returns

Return type