MVHistogram.to_mvsamples (function)


def to_mvsamples(self, N=1000000.0, range=None)

Convert the MVHistogram distribution to an MVSamples distribution.

Under-the-hood, this calls MVHistogram.sample with size=N and wrap_at=False and passes the resulting array and bins to MVSamples.

Arguments

  • N (int, optional, default=1e6): number of samples to use for the histogram.

Returns