def slope(self):
        """
        :return: the esitmated slope for points in the current window
        """
        x = range(self.window_size)
        y = self.vals
        slope, bias = np.polyfit(x, y, 1)
        return slope