exopy_pulses.pulses.utils.sequences_io module

Helper functions for sequences IO.

exopy_pulses.pulses.utils.sequences_io.load_sequence_prefs(path)[source]

Load the preferences of a sequence stored in a file.

Parameters

path (unicode) – Location of the template file.

Returns

  • prefs (ConfigObj) – The data needed to rebuild the tasks.

  • doc (str) – The doc of the template.

exopy_pulses.pulses.utils.sequences_io.save_sequence_prefs(path, prefs, doc='')[source]

Save a sequence to a file

Parameters
  • path (unicode) – Path of the file to which save the template

  • prefs (dict(str : str)) – Dictionnary containing the template parameters

  • doc (str) – The template doc