MVGaussian.to_mvhistogram (function)
def to_mvhistogram(self, N=1000000.0, bins=15, range=None)
Convert the MVGaussian distribution to an MVHistogram distribution.
Under-the-hood, this calls MVGaussian.sample with size=N
and wrap_at=False
and passes the resulting array as well as the requested bins
and range
to MVHistogram.from_data.
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.range
(tuple or None): range to use for the histogram.
- an MVHistogram object