Commit e6c93322 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: generate_eps

	modified:   ../view12/generate_eps
parent 18c5719a
Pipeline #7313 passed with stages
in 8 minutes and 52 seconds
......@@ -75,8 +75,9 @@ gs -o ${FILE_TAG}.pdf -sDEVICE=pdfwrite \
pdftoppm ${FILE_TAG}.pdf ${FILE_TAG} -png -singlefile -cropbox
dawncut 1 0 -0.01666 200 ${INPUT_FILE} ${FILE_TAG}a_temp0.prim
dawncut -1 0 0.01666 200 ${FILE_TAG}a_temp0.prim ${FILE_TAG}a.prim
#dawncut 1 0 -0.01666 200 ${INPUT_FILE} ${FILE_TAG}a_temp0.prim
dawncut -1 0 0.01666 200 ${INPUT_FILE} ${FILE_TAG}a.prim
../../bin/dawn_tweak --draw 5
dawn -d ${FILE_TAG}a.prim
ps2pdf ${FILE_TAG}a.eps ${FILE_TAG}a_full.pdf
gs -o ${FILE_TAG}a.pdf -sDEVICE=pdfwrite \
......
#!/bin/bash
#trignometry
sin ()
{
echo "scale=5;s($1)" | bc -l
}
cos ()
{
echo "scale=5;c($1)" | bc -l
}
tan ()
{
echo "scale=5;s($1)/c($1)" | bc -l
}
#sin ()
#{
# echo "scale=5;s($1)" | bc -l
#}
#
#cos ()
#{
# echo "scale=5;c($1)" | bc -l
#}
#
#tan ()
#{
# echo "scale=5;s($1)/c($1)" | bc -l
#}
function print_the_help {
......
......@@ -9,7 +9,7 @@ function print_the_help {
exit
}
FILE_TAG="view7"
FILE_TAG="view07"
INPUT_FILE="g4_0000.prim"
......
dawn_view_07:detector:
extends: .views
script:
- ./bin/make_dawn_views -t view02 -d scripts/view2 -D
- ./bin/make_dawn_views -t view07 -d scripts/view2 -D
dawn_view_07:ev002:
extends: .views
script:
- ./bin/make_dawn_views -t view02_ev002 -d scripts/view2 -s 2
- ./bin/make_dawn_views -t view07_ev002 -d scripts/view2 -s 2
dawn_view_07:ev003:
extends: .views
script:
- ./bin/make_dawn_views -t view07_ev003 -d scripts/view2 -s 3
view_07:
stage: test
needs:
- ["dawn_view_07:detector", "dawn_view_07:ev002"]
- ["dawn_view_07:detector", "dawn_view_07:ev002", "dawn_view_07:ev003"]
script:
- ls -lrth *
- ls -lrth images/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment