From ea424f096c05a9587ffaa0bc6e5392790a046bd7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 26 Jan 2020 08:14:32 +0100 Subject: Build ROOF sinograms --- tests/roof-sim.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/roof-sim.sh (limited to 'tests/roof-sim.sh') diff --git a/tests/roof-sim.sh b/tests/roof-sim.sh new file mode 100755 index 0000000..4374221 --- /dev/null +++ b/tests/roof-sim.sh @@ -0,0 +1,14 @@ +#! /bin/bash + +. config.sh + +#cat roof.yaml | yq r - -j | jq '' | sed -r '/\[$/ {:a;N;s/\]/&/;Ta;s/\n +//g;s/,(.)/, \1/}' > roof.json +cat roof.yaml | python3 yaml2json.py | sed -r '/\[$/ {:a;N;s/\]/&/;Ta;s/\n +//g;s/,(.)/, \1/}' > roof.json + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib$arch" GI_TYPELIB_PATH="/usr/local/lib$arch/girepository-1.0/" \ + python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino-%03i.tif" -n 1 "$@" +# python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino-%03i.raw" -n 1 "$@" + +# python3 roof.py -c roof.json -o "/home/csa/roof2_data/test_data.sino/sino%i.tif" -n 1 "$@" + +# python3 roof.py -c roof.json "$@" -- cgit v1.2.3