meld.system.temperature.LinearTemperatureScaler

class meld.system.temperature.LinearTemperatureScaler(alpha_min, alpha_max, temperature_min, temperature_max)[source]

Bases: TemperatureScaler

Scale temperature linearly between alpha_min and alpha_max

__init__(alpha_min, alpha_max, temperature_min, temperature_max)[source]

Initialize LinearTemperatureScaler

Parameters
  • alpha_min (float) – temperature is temperature_min when alpha <= alpha_min

  • alpha_max (float) – temperature is temperature_max when alpha >= alpha_max

  • temperature_min (Quantity) – minimum temperature in Kelvin

  • termperature_max – maximum temperature in Kelvin

Methods

__init__(alpha_min, alpha_max, ...)

Initialize LinearTemperatureScaler