Detect Type of a Time Series