tighten test for fixed scaling
@@ -20,7 +20,7 @@ tests/test-nufft-forward: traj nufft reshape nrmse $(TESTS_OUT)/shepplogan.ra $(
$(TOOLDIR)/traj -x128 -y128 traj.ra ;\
$(TOOLDIR)/nufft -P traj.ra $(TESTS_OUT)/shepplogan.ra shepplogan_ksp2.ra ;\
$(TOOLDIR)/reshape 7 128 128 1 shepplogan_ksp2.ra shepplogan_ksp3.ra ;\
- $(TOOLDIR)/nrmse -t 0.0015 $(TESTS_OUT)/shepplogan_fftu.ra shepplogan_ksp3.ra ;\
+ $(TOOLDIR)/nrmse -t 0.00005 $(TESTS_OUT)/shepplogan_fftu.ra shepplogan_ksp3.ra ;\
rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
touch $@
@@ -28,15 +28,13 @@ tests/test-nufft-forward: traj nufft reshape nrmse $(TESTS_OUT)/shepplogan.ra $(
# compare nufft and nufdt
-# FIXME: scaling is slightly off
-tests/test-nufft-nudft: traj nufft reshape nrmse $(TESTS_OUT)/shepplogan.ra
+tests/test-nufft-nudft: traj nufft scale reshape nrmse $(TESTS_OUT)/shepplogan.ra
set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
$(TOOLDIR)/traj -r -x128 -y12 traj.ra ;\
$(TOOLDIR)/nufft -P traj.ra $(TESTS_OUT)/shepplogan.ra shepplogan_ksp1.ra ;\
$(TOOLDIR)/nufft -s traj.ra $(TESTS_OUT)/shepplogan.ra shepplogan_ksp2.ra ;\
$(TOOLDIR)/scale 128. shepplogan_ksp1.ra shepplogan_ksp3.ra ;\
- $(TOOLDIR)/nrmse -s -t 0.00008 shepplogan_ksp2.ra shepplogan_ksp3.ra ;\
- $(TOOLDIR)/nrmse -t 0.0015 shepplogan_ksp2.ra shepplogan_ksp3.ra ;\
+ $(TOOLDIR)/nrmse -t 0.00002 shepplogan_ksp2.ra shepplogan_ksp3.ra ;\
rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
touch $@
