MVGaussian.to_samples (function)


def to_samples(self, dimension, N=100000, wrap_at=None)

Convert the MVGaussian distribution to a Samples univariate distribution.

Under-the-hood, this calls MVGaussian.to_gaussian and then Gaussian.to_samples.

Arguments

  • dimension (int or str): index or label of the dimension to use for the univariate distribution.
  • N (int, optional, default=100000): number of samples to use for the histogram.
  • wrap_at (float or None, optional, default=None): value to set for wrap_at of the returned Histogram. If None or not provided, will default to MVGaussian.wrap_at.

Returns