def getElementConf(self, elementKw, raw=False):
        """ return configuration for given element keyword,
            e.g. getElementConf('Q01') should return dict: {u'k1': 0.0, u'l': 0.05}
            :param elementKw: element keyword
        """
        if raw is True:
            try:
                econf = self.all_elements.get(elementKw.upper())
            except:
                return {}
        else:
            try:
                econf = list(self.all_elements.get(elementKw.upper()).values())[0]
            except:
                return {}
        return econf