make_digital_output_pulse#
- pypulseqpp.make_digital_output_pulse()[source]#
Create a digital output pulse event a.k.a. trigger. Creates an output trigger event on a given channel with optional given delay and duration.
- Parameters:
- Returns:
trig – Trigger event.
- Return type:
SimpleNamespace
- Raises:
ValueError – If channel is invalid. Must be one of ‘osc0’,’osc1’, or ‘ext1’.
Notes
This is PyPulseq’s factory; the event it builds is returned with its fields in slots.