docs: def get_feature_info(feature):
      """Returns a dict with feature information"""
      dimensions = feature.findall('position')
      for dim in dimensions:
          if dim.attrib['dim'] == '0':
              rt = dim.text
          elif dim.attrib['dim'] == '1':
              mz = dim.text
      return {'rt': float(rt), 'mz': float(mz),
              'charge': int(feature.find('charge').text),
              'intensity': float(feature.find('intensity').text),
              }