meld.system.scalers.LinearRamp

class meld.system.scalers.LinearRamp(start_time, end_time, start_weight, end_weight)[source]

Bases: meld.system.scalers.TimeRamp

TimeRamp that interpolates linearly

__init__(start_time, end_time, start_weight, end_weight)[source]

Initialize a LinearTimeRamp

Parameters
  • start_time (float) – time to start ramping up

  • end_time (float) – time to finish ramping up

  • start_weight (float) – weight when time <= start_time

  • end_weight (float) – weight when time >= end_time

Methods

__init__(start_time, end_time, start_weight, ...)

Initialize a LinearTimeRamp