CADETProcess.dynamicEvents.TimeLine.from_profile

CADETProcess.dynamicEvents.TimeLine.from_profile#

classmethod TimeLine.from_profile(time, profile, s=1e-06)[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.