Adds a posterior sampler to a fitted ebnm object.
ebnm
ebnm_add_sampler(ebnm_res)
ebnm_res
The fitted ebnm object.
The ebnm object with an additional field posterior_sampler.
posterior_sampler