SequenceApp.write

SequenceApp.write#

SequenceApp.write()[source]#

Design and write the chain of prescans and the main sequence.

The first file of the chain is written at path and the others beside it as <stem>_<prescan>.seq and <stem>_main.seq; without prescans the main sequence alone is written at path. offline selects signed text, and False the binary form, which pypulseqpp.io.write() takes the other way round.

Parameters:
  • path (str or pathlib.Path) – Where the first file of the chain is written.

  • offline (bool, default=True) – Write the text form. False writes the binary form.

Returns:

The written paths, in play order.

Return type:

list of str