def transform(self, X):
        """Transform the provided data.

        It extracts the three features from all the selected windows
        for all the samples.

        Parameters
        ----------
        X : array-like, shape = (n_samples, n_timestamps)
            Univariate time series.

        Returns
        -------
        X_new : array, shape = (n_samples, 3 * n_windows)
            Extracted features.

        """
        X = check_array(X, dtype='float64')
        check_is_fitted(self)

        # Extract the features from each window
        n_samples = X.shape[0]
        n_windows = self.indices_.shape[0]
        return extract_features(X, n_samples, n_windows, self.indices_)
Transform the provided data.

        It extracts the three features from all the selected windows
        for all the samples.

        Parameters
        ----------
        X : array-like, shape = (n_samples, n_timestamps)
            Univariate time series.

        Returns
        -------
        X_new : array, shape = (n_samples, 3 * n_windows)
            Extracted features.

        
pyts/classification/time_series_forest.py