bellini.distributions.ComposedDistribution¶
- class bellini.distributions.ComposedDistribution(distributions, op)[source]¶
Bases:
bellini.distributions.DistributionA composed distribution made of two distributions.
- __init__(distributions, op)[source]¶
- Parameters
distributions (list of Distribution or Quantity) – The two Distributions/Quantities as arguments for op. Must be length 2
op (str) – Name of the operation to use. See
bellini.api.functional.OPSfor available ops
Methods
__init__(distributions, op)- Parameters
distributions (list of Distribution or Quantity) -- The two Distributions/Quantities as arguments for op. Must be length 2
to_units(new_units[, force])Return self converted to units new_units
unitless()Return a unitless version of self
Attributes
The Distribution's dimensionality (e.g.
A networkx graph describing the computation graph used to create this Distribution
The units associated with internal computations in Bellini for this Distribution
A quantity (array-like or scalar) with the same shape as expected samples from this Distribution
A string representing the name of self
The shape of samples from this Distribution
The units of this Distribution (e.g.
- property dimensionality¶
The Distribution’s dimensionality (e.g. ‘length’ for meter)
- property g¶
A networkx graph describing the computation graph used to create this Distribution
- property internal_units¶
The units associated with internal computations in Bellini for this Distribution
- property magnitude¶
A quantity (array-like or scalar) with the same shape as expected samples from this Distribution
- property name¶
A string representing the name of self
- property shape¶
The shape of samples from this Distribution
- property units¶
The units of this Distribution (e.g. molar)