Skip to content

Commit

Permalink
replace old TSE model with TSE_GEN
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Oct 4, 2024
1 parent d9d1962 commit 5554d1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ int main_signal(int argc, char* argv[argc])

OPT_SELECT('F', enum seq_type, &seq, FLASH, "FLASH"),
OPT_SELECT('B', enum seq_type, &seq, BSSFP, "bSSFP"),
OPT_SELECT('T', enum seq_type, &seq, TSE, "TSE"),
OPT_SELECT('Z', enum seq_type, &seq, TSE_GEN, "TSE_GEN"),
OPT_SELECT('T', enum seq_type, &seq, TSE_GEN, "TSE"),
OPT_SELECT('S', enum seq_type, &seq, SE, "SE"),
OPT_SELECT('M', enum seq_type, &seq, MOLLI, "MOLLI"),
OPT_SELECT('G', enum seq_type, &seq, MGRE, "MGRE"),
Expand Down
6 changes: 3 additions & 3 deletions tests/signal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ tests/test-signal-se: signal ones scale slice nrmse
tests/test-signal-fse: signal nrmse
set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
$(TOOLDIR)/signal -S -n 8 -e 0.01 -r 100 -1 1:3:10 -2 0.01:0.3:10 sig.ra ;\
$(TOOLDIR)/signal -Z -n 8 -e 0.01 -r 100 -f 180 -1 1:3:10 -2 0.01:0.3:10 sig2.ra ;\
$(TOOLDIR)/signal -T -n 8 -e 0.01 -r 100 -f 180 -1 1:3:10 -2 0.01:0.3:10 sig2.ra ;\
$(TOOLDIR)/nrmse -t 0.00001 sig.ra sig2.ra ;\
rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
touch $@

tests/test-signal-fse-epg: signal epg extract nrmse
set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
$(TOOLDIR)/signal -Z -n 8 -e 0.01 -r 12 -f 120 -1 1:1:1 -2 0.1:0.1:1 sig.ra ;\
$(TOOLDIR)/signal -T -n 8 -e 0.01 -r 12 -f 120 -1 1:1:1 -2 0.1:0.1:1 sig.ra ;\
$(TOOLDIR)/epg -C -n 7 -e 0.01 -r 12 -f 120 -1 1 -2 0.1 sig2.ra ;\
$(TOOLDIR)/extract 5 1 8 sig.ra sig3.ra ;\
$(TOOLDIR)/nrmse -t 0.00001 sig2.ra sig3.ra ;\
Expand Down Expand Up @@ -129,4 +129,4 @@ TESTS += tests/test-signal-spoke-averaging-2 tests/test-signal-spoke-averaging-3
TESTS += tests/test-signal-se tests/test-signal-ir-se
TESTS += tests/test-signal-fse tests/test-signal-fse-epg
TESTS += tests/test-signal-se-single tests/test-signal-ir-se-single
TESTS += tests/test-signal-LL-short-TR-approx
TESTS += tests/test-signal-LL-short-TR-approx

0 comments on commit 5554d1c

Please sign in to comment.