make_trigger#
- pypulseqpp.make_trigger()[source]#
Create a trigger halt event for a synchronization with an external signal from a given channel with an optional given delay prio to the sync and duration after the sync. Possible channel values: ‘physio1’,’physio2’ (Siemens specific).
See also pypulseq.Sequence.sequence.Sequence.add_block().
- Parameters:
- Returns:
trigger – Trigger event.
- Return type:
SimpleNamespace
- Raises:
ValueError – If invalid channel is passed. Must be one of ‘physio1’ or ‘physio2’.
Notes
This is PyPulseq’s factory; the event it builds is returned with its fields in slots.