HMCDensitySampler

class aquila_borg.samplers.HMCDensitySampler

Build a new HMC based density sampler.

Parameters

likelihood (Likelihood3d) – A 3d likelihood object. This is the present restriction of the HMC.

Keyword Arguments
  • prefix (str) – add a prefix to HMC variables. This is useful in case several HMC are running at the same time to solve the problem.

  • k_max (float) – Only sample the modes up to the provided k_max. The others are frozen.

Methods

__init__(self, likelihood, k_max, prefix)

sample(self, arg0)