meld.system.scalers.LinearPositioner

class meld.system.scalers.LinearPositioner(alpha_min, alpha_max, pos_min, pos_max)[source]

Bases: Positioner

Position restraints linearly within a range

__init__(alpha_min, alpha_max, pos_min, pos_max)[source]

Initialize a LinearPositioner

Parameters
  • alpha_min (float) – minimum alpha value

  • alpha_max (float) – maximum alpha value

  • pos_min (Quantity) – value at alpha_min

  • pos_max (Quantity) – value at alpha_max

Methods

__init__(alpha_min, alpha_max, pos_min, pos_max)

Initialize a LinearPositioner