MVSamples.slice (function)


def slice(self, dimension)

Take a single dimension from the multivariate distribution while retaining the covariances. The returned MVSamplesSlice object keeps the full multivariate distribution while acting somewhat like a univariate distribution.

See also:

Arguments

  • dimension (int or string): the label or index of the dimension to take.

Returns