BaseDistribution#
- class abtem.distributions.BaseDistribution[source]#
Bases:
EqualityMixin,CopyMixinBase object for defining distributions of simulation parameters.
- __init__()#
Methods
Attributes
The number of dimensions in the distribution.
Calculate the mean of the ensemble.
The shape of the distribution parameters.
Scalar values representing the distribution.
Weight of each of distribution value.
- copy()#
Make a copy.
- Return type:
Self
- abstract property dimensions: int#
The number of dimensions in the distribution.
- abstract divide(chunks=1, lazy=True)[source]#
Divide the distribution into chunks.
- Return type:
Union[ndarray,Array]
- abstract property ensemble_mean: bool#
Calculate the mean of the ensemble.
- abstract property shape: tuple[int, ...]#
The shape of the distribution parameters.
- abstract property values: ndarray#
Scalar values representing the distribution.
- abstract property weights: ndarray#
Weight of each of distribution value.