openmc.stats.Uniform

class openmc.stats.Uniform(a=0.0, b=1.0)[source]

Distribution with constant probability over a finite interval [a,b]

Parameters:
  • a (float, optional) – Lower bound of the sampling interval. Defaults to zero.
  • b (float, optional) – Upper bound of the sampling interval. Defaults to unity.
Variables:
  • a (float) – Lower bound of the sampling interval
  • b (float) – Upper bound of the sampling interval