Events and blocks#
The block events other than RF and gradients, and the operations on blocks and
events. Every factory returns a compiled event that
Sequence.add_block() accepts; the RF and gradient factories are on
RF pulse design and Gradient design. Times are in s, frequency offsets in Hz and
phase offsets in rad; Events and blocks
describes the block and extension structure.
Acquisition and control events#
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
Samples, dwell or duration, delay, offsets |
ADC event |
Acquisition window. |
|
Duration (s) |
Delay event |
Minimum block duration. |
|
Output channel, delay, duration |
Trigger event (output) |
Digital output pulse. |
|
Label name, |
Label event |
|
|
Complex weights, one per transmit channel |
RF shim extension event |
Static per-channel RF weights. |
|
Angles (rad), axis-angle, quaternion or matrices |
Rotation extension event, or one per matrix |
Block gradient rotation. |
|
Hint, ID, offset, factor, default duration |
Soft delay extension event |
Console-adjustable block duration. |
|
Input channel, delay, duration |
Trigger event (input) |
Wait for an external signal. |
Block and event operations#
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
Events keyed by |
Events with delays set |
Alignment within a block. |
|
Block or events |
Tuple of events |
Event extraction from a block. |
|
Events or block |
Duration (s) |
Longest event extent. |
|
Gradient events, angle (rad), axis |
Rotated gradient events |
Rotation about a channel axis. |
Labels and tracing#
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
— |
Tuple of label names |
Supported label identifiers. |
|
Stack depth |
|
Record event and block source locations. |
|
— |
|
Stop recording source locations. |
Interoperability with PyPulseq#
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
Callable taking or returning PyPulseq events |
Wrapped callable with event conversion |
Compiled events through upstream functions. |
|
PyPulseq namespace event |
Compiled event; other objects unchanged |
Namespace to compiled event. |
|
Compiled event |
|
Compiled event to namespace. |