def get_experiment_kind(root):
properties = {}<EOL>if root.find('<STR_LIT>').text == '<STR_LIT>':<EOL><INDENT>properties['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError(root.find('<STR_LIT>').text + '<STR_LIT>')<EOL><DEDENT>properties['<STR_LIT>'] = {'<STR_LIT>': '<STR_LIT>', '<STR_LIT>': '<STR_LIT>', '<STR_LIT>': '<STR_LIT>'}<EOL>kind = getattr(root.find('<STR_LIT>'), '<STR_LIT:text>', False)<EOL>if not kind:<EOL><INDENT>raise MissingElementError('<STR_LIT>')<EOL><DEDENT>elif kind in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>properties['<STR_LIT>']['<STR_LIT>'] = kind<EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError(kind + '<STR_LIT>')<EOL><DEDENT>return properties<EOL>
Read common properties from root of ReSpecTh XML file.

    Args:
        root (`~xml.etree.ElementTree.Element`): Root of ReSpecTh XML file

    Returns:
        properties (`dict`): Dictionary with experiment type and apparatus information.