boulderopalscaleup.common.HypIterable
class boulderopalscaleup.common.HypIterable(*, dtype='hyp', center, width, count=51)A hyperbolic iterable of values in center ± width/2.
Creates values distributed around a central value with hyperbolic spacing, where points are more concentrated around the center and become more sparse towards the edges of the range.
Variables
- dtype (Literal [ "hyp" ]) – Type discriminator for serialization.
- center (float or None) – The central value around which values are distributed. If None, defaults to the expected value.
- width (float) – The total width of the distribution (center ± width/2).
- count (int) – The number of values to generate. Defaults to 51.