meld.system.scalers.NonLinearRamp

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

Bases: TimeRamp

TimeRamp that interpolates non-linearly

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

Initialize a NonLinearTimeRamp

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

  • factor (float) – controls the shape of the non-linear ramp, must be >= 1

Methods

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

Initialize a NonLinearTimeRamp