preheat_open.api.mocks.CCRangeConstricted

class preheat_open.api.mocks.CCRangeConstricted(min=0.0, max=100.0)

Bases: ComponentCharacteristic

Component characteristic that constrains data to a specific range.

__init__(min=0.0, max=100.0)

Initialize CCRangeConstricted.

Parameters:
  • min (float) – Minimum value of the range

  • max (float) – Maximum value of the range

Methods

__init__([min, max])

Initialize CCRangeConstricted.

mock(data)

rtype:

Series