MVGaussian.to_mvsamples (function)


def to_mvsamples(self, N=1000000.0)

Convert the MVGaussian distribution to an MVSamples distribution.

Under-the-hood, this calls MVGaussian.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.
  • bins (int, optional, default=15): number of bins to use for the histogram.

Returns