boulderopalscaleup.common.CWSIterable

class boulderopalscaleup.common.CWSIterable(*, dtype='cws', center, width, step)

A range of linearly spaced values in center ± width/2.

Creates values distributed around a central value within a specified width.

Variables

  • dtype (Literal [ "cws" ]) – Type discriminator for serialization.
  • center (float) – The central value around which values are distributed.
  • width (float) – The total width of the distribution (center ± width/2).
  • step (float) – The step size between consecutive values.

Was this useful?