MultidimensionalDistribution#

class abtem.distributions.MultidimensionalDistribution(distributions)[source]#

Bases: BaseDistribution

A multidimensional distribution composed of multiple lower-dimensional distributions.

Parameters:

distributions (list of BaseDistribution) – The lower-dimensional distributions composed into a higher-dimensional distribution.

__init__(distributions)[source]#

Methods

__init__(distributions)

copy()

Make a copy.

divide(chunks[, lazy])

Divide the distribution into chunks.

Attributes

dimensions

The number of dimensions in the distribution.

distributions

The lower dimensional distributions making up this distribution.

ensemble_mean

Calculate the mean of the ensemble.

shape

The shape of the distribution parameters.

values

Scalar values representing the distribution.

weights

Weight of each of distribution value.

copy()#

Make a copy.

property dimensions#

The number of dimensions in the distribution.

property distributions#

The lower dimensional distributions making up this distribution.

divide(chunks, lazy=True)[source]#

Divide the distribution into chunks.

property ensemble_mean#

Calculate the mean of the ensemble.

property shape#

The shape of the distribution parameters.

property values#

Scalar values representing the distribution.

property weights#

Weight of each of distribution value.