@staticmethod
def compute_change(stat_dicts: list):
    """ Takes in the measurement statistics for and compiles them in
        vectors.

        :param stat_dicts:
        :return: tuple of dicts with before and after data

        """
    complete_dict = dict()
    for _sdict in stat_dicts:
        for tag, measurement_dict in _sdict.items():
            if tag not in complete_dict.keys():
                complete_dict[tag] = dict()
            for measurement, ba_dict in measurement_dict.items():
                if measurement not in complete_dict[tag].keys():
                    complete_dict[tag][measurement] = {'before': {'std': [],
                        'mean': []}, 'after': {'std': [], 'mean': []}}
                for time in ['before', 'after']:
                    complete_dict[tag][measurement][time]['std'].append(ba_dict
                        [time]['std'])
                    complete_dict[tag][measurement][time]['mean'].append(
                        ba_dict[time]['mean'])
    return complete_dict
