mufem.CffTimeTable

class mufem.CffTimeTable(time, value)

Bases: CffScalarVariableInputTrait, CffScalarVariableTrait

Creates a scalar coefficient from time-value pairs using linear interpolation.

Parameters:
  • time (list of float) – Time points.

  • value (list of float) – Corresponding values at each time point.

Examples

>>> CffTimeTable([0.0, 1.0], [1.0, 2.0])
__init__(self: mufem.CffTimeTable, time: List[float], value: List[float]) None

Methods

__init__(self, time, value)