Renamed to evaluate_labels to be consistent with the naming of other Sequence functions.
This function tracks labels (or label evolutions) through the sequence. Either returns the final values, or label evolutions (e.g. per block, per ADC, or whenever the label changes).
A small supporting change in event_lib.get_block was made to always set the label field in the returned block (None if no labels).
This implements the
evalLabels
function from upstream pulseq: https://github.com/pulseq/pulseq/blob/125c772180f324967091dc28a0e5a6b20b96faa9/matlab/%2Bmr/%40Sequence/Sequence.m#L1056Renamed to
evaluate_labels
to be consistent with the naming of other Sequence functions.This function tracks labels (or label evolutions) through the sequence. Either returns the final values, or label evolutions (e.g. per block, per ADC, or whenever the label changes).
A small supporting change in
event_lib.get_block
was made to always set thelabel
field in the returned block (None if no labels).