RealSegmentInput

class RealSegmentInput(*, duration, value)

A segment of a real-valued piecewise-constant function of time.

Variables:
  • duration (float) – The duration of the segment.

  • value (float) – The value taken by the function on this segment.