ktk.cycles.unstack#

unstack(data, /)[source]#

Unstack time-normalized data from a dict of arrays to a TimeSeries.

This methods creates a time-normalized TimeSeries by putting each cycle from the provided data dictionary end to end.

Parameters

data (dict[str, numpy.ndarray]) – A dict where each key contains a numpy array where the first dimension is the cycle, the second dimension is the percentage of cycle, and the other dimensions are the data itself.

Return type

TimeSeries

See also

ktk.cycles.stack