jexplore.steps.single_masked ============================ .. py:module:: jexplore.steps.single_masked .. autoapi-nested-parse:: This modules defines the classes for Metropolis-Hastings steps. Classes ------- .. autoapisummary:: jexplore.steps.single_masked.SingleMasked Module Contents --------------- .. py:class:: SingleMasked[Tepoch: jexplore.sampling.EpochMH, Tstate: jexplore.sampling.StateMH, Tsampling: jexplore.sampling.SamplingMH](mask = None) Bases: :py:obj:`jexplore.steps.mh.AllChains`\ [\ :py:obj:`Tepoch`\ , :py:obj:`Tstate`\ , :py:obj:`Tsampling`\ ] Full parallel all chains MH or modsel step. :param mask: mask of the subspace on which this step si defined. .. py:method:: sc_masked_proposal(key, p, ch) :abstractmethod: Single chain masked proposal. This is a prototype. :param key: PRNG key :param p: single chain point :param ch: chain index :return: the proposed chain point, the transition log probability. .. py:method:: proposal(key, state) All chain proposal. This is a prototype. :param key: PRNG key :param state: current state :return: the new PRNG key, the proposed state, the transition log probability.