meld.system.scalers.LinearScaler
- class meld.system.scalers.LinearScaler(alpha_min, alpha_max, strength_at_alpha_min=1.0, strength_at_alpha_max=0.001)[source]
Bases:
RestraintScaler
This scaler linearly interpolates from alpha_min to alpha_max.
- __init__(alpha_min, alpha_max, strength_at_alpha_min=1.0, strength_at_alpha_max=0.001)[source]
Initialize a LinearScaler
- Parameters
alpha_min (
float
) – minimum alpha valuealpha_max (
float
) – maximum alpha valuestrength_at_alpha_min (
float
) – strength when alpha <= alpha_minstrength_at_alpha_max (
float
) – strength when alpha >= alpha_max
Methods
__init__
(alpha_min, alpha_max[, ...])Initialize a LinearScaler