Adds a posterior sampler to a fitted ebnm object.

ebnm_add_sampler(ebnm_res)

Arguments

ebnm_res

The fitted ebnm object.

Value

The ebnm object with an additional field

posterior_sampler.