def generate_null_timeseries(self, ts, mu, sigma):
        """ Generate a time series with a given mu and sigma. This serves as the
        NULL distribution. """
        l = len(ts)
        return np.random.normal(mu, sigma, l)