openmc.stats.Tabular¶
-
class
openmc.stats.
Tabular
(x, p, interpolation='linear-linear')[source]¶ Piecewise continuous probability distribution.
This class is used to represent a probability distribution whose density function is tabulated at specific values and is either histogram or linearly interpolated between points.
Parameters: - x (Iterable of float) – Tabulated values of the random variable
- p (Iterable of float) – Tabulated probabilities
- interpolation ({'histogram', 'linear-linear'}, optional) – Indicate whether the density function is constant between tabulated points or linearly-interpolated.
Variables: - x (Iterable of float) – Tabulated values of the random variable
- p (Iterable of float) – Tabulated probabilities
- interpolation ({'histogram', 'linear-linear'}, optional) – Indicate whether the density function is constant between tabulated points or linearly-interpolated.