/ concept-collection / seqlab
Sign in
concept-collection / seqlab
seqlab / src / engine / pulseq / +mr / getSupportedLabels.m
23 lines · 1.5 KBCodeBlameHistory
78d04f1seqlab: write and view pulseq MRI sequences in the browserJeremy Magland 1function supported_labels = getSupportedLabels()
2% auxilary function
4supported_labels=mr.aux.globalVars('get','SupportedLabels');
5if isempty(supported_labels)
6 supported_labels={ ...
7 ... % data counters
8 'SLC','SEG','REP','AVG','SET','ECO','PHS','LIN','PAR','ACQ', ... % these are copied to the corresponding MDH fields on Siemens
9 'TRID', ... # an integer ID of the TR (sequence segment) used by the GE interpreter (and some others) to optimize the execution on the scanner
10 ... % data flags
11 'NAV','REV','SMS', ... % these are copied to the corresponding MDH fields on Siemens
12 'REF', 'IMA', ... % flags for parallel imaging
13 'OFF', ... % Offline flag that labels the data, that should not be used for the online-reconstruction (on Siemens it negates the ONLINE MDH flag)
14 'NOISE', ... % flag marking noise adjust scan, for parallel imaging acceleration
15 ... % control flags/switches -- they are not affecting the data but rather the sequence itself
16 'PMC', ... # for MoCo/PMC Pulseq version to recognize blocks that can be prospectively corrected for motion
17 'NOROT','NOPOS','NOSCL', ... # instruct the interpreter to ignore the position, rotation or scaling of the FOV specified on the UI
18 'ONCE' ... # a 3-state flag that instructs the interpreter to alter the sequence when executing multiple repeats as follows: blocks with ONCE==0 are executed on every repetition; ONCE==1: only the first repetition; ONCE==2: only the last repetition
19 };
20 mr.aux.globalVars('set','SupportedLabels',supported_labels);
21end
23end
moveopenescclose