def get_params(self, exp, cfgname='experiment.cfg'):
        """ reads the parameters of the experiment (= path) given.
        """
        cfgp = ConfigParser()
        cfgp.read(os.path.join(exp, cfgname))
        section = cfgp.sections()[0]
        params = self.items_to_params(cfgp.items(section))
        params['name'] = section
        return params
reads the parameters of the experiment (= path) given.