File: connectomeedit

package info (click to toggle)
mrtrix3 3.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: cpp: 130,470; python: 9,603; sh: 597; makefile: 62; xml: 47
file content (5 lines) | stat: -rw-r--r-- 1,158 bytes parent folder | download | duplicates (3)
1
2
3
4
5
printf $"0.0 1.0 20.0\n0.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp.txt; connectomeedit -force tmp.txt to_symmetric tmp1.txt; printf $"0.0 1.0 20.0\n1.0 10.0 3.0\n20.0 3.0 5.0\n" > tmp2.txt; testing_diff_matrix -abs 1e-4 tmp1.txt tmp2.txt;
printf $"0.0 1.0 20.0\n0.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp.txt; connectomeedit -force tmp.txt upper_triangular tmp1.txt; printf $"0.0 1.0 20.0\n0.0 10.0 3.0\n0.0 0.0 5.0\n" > tmp2.txt; testing_diff_matrix -abs 1e-4 tmp1.txt tmp2.txt;
printf $"0.0 1.0 20.0\n0.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp.txt; connectomeedit -force tmp.txt lower_triangular tmp1.txt; printf $"0.0 0.0 0.0\n1.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp2.txt; testing_diff_matrix -abs 1e-4 tmp1.txt tmp2.txt;
printf $"0.0 1.0 20.0\n0.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp.txt; connectomeedit -force tmp.txt transpose tmp1.txt; printf $"0.0 0.0 20.0\n1.0 10.0 3.0\n20.0 0.0 5.0\n" > tmp2.txt; testing_diff_matrix -abs 1e-4 tmp1.txt tmp2.txt;
printf $"0.0 1.0 20.0\n0.0 10.0 0.0\n20.0 3.0 5.0\n" > tmp.txt; connectomeedit -force tmp.txt zero_diagonal tmp1.txt; printf $"0.0 1.0 20.0\n0.0 0.0 0.0\n20.0 3.0 0.0\n" > tmp2.txt; testing_diff_matrix -abs 1e-4 tmp1.txt tmp2.txt;