CADETProcess.dynamicEvents.TimeLine.from_profile#
- classmethod TimeLine.from_profile(time: ArrayLike, profile: ArrayLike, s: float = 1e-06) TimeLine[source]#
Create a timeline from a profile.
- Parameters:
- timearray_like
The time values of the profile.
- profilearray_like
The profile values.
- smoothingfloat, optional
The smoothing factor for the spline interpolation. The default is 1e-6.
- Returns:
- TimeLine
A TimeLine instance with polynomial sections created from the profile.