File: flatten.mk

package info (click to toggle)
bart-cuda 0.8.00-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 7,752 kB
  • sloc: ansic: 100,267; python: 717; makefile: 576; sh: 564; cpp: 104
file content (15 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

tests/test-flatten: ones reshape flatten noise nrmse
	set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP)					;\
	$(TOOLDIR)/ones 6 1 2 1 3 1 4 a0.ra						;\
	$(TOOLDIR)/noise a0.ra a1.ra							;\
	$(TOOLDIR)/flatten a1.ra a2.ra							;\
	$(TOOLDIR)/reshape 63 24 1 1 1 1 1 a1.ra a3.ra					;\
	$(TOOLDIR)/nrmse -t 0. a2.ra a3.ra						;\
	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
	touch $@



TESTS += tests/test-flatten