def compute_balance_median_ts(self, ts):
        """ Compute the balance at each time 't' of the time series."""
        balance = [self.compute_balance_median(ts, t) for t in np.arange(0, len(ts) - 1)]
        return balance
Compute the balance at each time 't' of the time series.