hyperspy.io_plugins.msa module

hyperspy.io_plugins.msa.parse_msa_string(string, filename=None)

Parse an EMSA/MSA file content.

Parameters:
  • string (string or file object) – It must complain with the EMSA/MSA standard.

  • filename (string or None) – The filename.

  • Returns

  • --------

  • file_data_list (list) – The list containts a dictionary that contains the parsed information. It can be used to create a BaseSignal using dict2signal().