Sequence.add_trid

Sequence.add_trid#

Sequence.add_trid()[source]#

Append a block setting TRID to the number assigned to label_name.

Nothing is appended when the system’s flag_trid is False.

Parameters:

label_name (str) – What this repetition is called; see get_or_create_trid_id.

Examples

>>> import pypulseqpp as pp
>>> seq = pp.Sequence(pp.Opts())
>>> seq.add_trid("imaging")
>>> label = seq.get_block(1).label[0]
>>> label.label, label.value
('TRID', 1)