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 valuealpha_max (
float
) – maximum alpha valuepos_min (
Quantity
) – value at alpha_minpos_max (
Quantity
) – value at alpha_max
Methods
__init__
(alpha_min, alpha_max, pos_min, pos_max)Initialize a LinearPositioner