Changeset 8732
- Timestamp:
- Sep 1, 2006, 5:38:13 PM (20 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 3 edited
-
configure.ac (modified) (1 diff)
-
scripts/dettest.sh (modified) (1 diff)
-
scripts/regtest.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/configure.ac
r8696 r8732 38 38 ) 39 39 40 dnl pxtools_CFLAGS="-Wall -Werror -std=c99" 41 pxtools_CFLAGS="-Wall -std=c99" 40 pxtools_CFLAGS="-Wall -Werror -std=c99" 42 41 AC_SUBST([pxtools_CFLAGS]) 43 42 -
trunk/ippTools/scripts/dettest.sh
r8596 r8732 3 3 ./p0test.sh || exit 1 4 4 5 echo "./dettool -definebyquery -det_type flat" 5 6 ./dettool -definebyquery -det_type flat || exit 1 7 echo "./dettool -raw" 6 8 ./dettool -raw || exit 1 7 9 8 10 for ID in `seq 0 3` ; do 11 echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1" 9 12 ./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1 10 13 done; 11 14 12 15 for ID in `seq 0 3` ; do 16 echo "./dettool -addprocessed -det_id 1 -exp_id 10 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1" 13 17 ./dettool -addprocessed -det_id 1 -exp_id 11 -class_id $ID -uri file://proc-$ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 || exit 1 14 18 done; 15 19 20 echo "./dettool -tostack" 16 21 ./dettool -tostack || exit 1 17 22 for ID in `seq 0 3` ; do 23 echo "./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize" 18 24 ./dettool -addstacked -det_id 1 -uri file://stacked-$ID -class_id $ID -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -pleasenormalize || exit 1 19 25 done; 20 26 27 echo "./dettool -tonormalize" 21 28 ./dettool -tonormalize || exit 1 22 29 for ID in `seq 0 3` ; do 30 echo "./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345" 23 31 ./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345 || exit 1 24 32 done; 25 33 34 echo "./dettool -normstat" 26 35 ./dettool -normstat || exit 1 27 36 for ID in `seq 0 3` ; do 37 echo "./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID" 28 38 ./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID || exit 1 29 39 done; 30 40 41 echo "./dettool -toresid" 31 42 ./dettool -toresid || exit 1 32 43 33 44 for ID in `seq 0 3` ; do 45 echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID" 34 46 ./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1 35 47 done; 36 48 for ID in `seq 0 3` ; do 49 echo "./dettool -addresidimfile -det_id 1 -exp_id 10 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID" 37 50 ./dettool -addresidimfile -det_id 1 -exp_id 11 -class_id $ID -recip myrecip -bg 1 -bg_stdev 1 -bg_mean_stdev 1 -uri file://resid-$ID || exit 1 38 51 done; 39 52 53 echo "./dettool -toresidexp" 40 54 ./dettool -toresidexp || exit 1 55 echo "./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2" 41 56 ./dettool -addresidexp -det_id 1 -exp_id 10 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 || exit 1 57 echo "./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 -reject" 42 58 ./dettool -addresidexp -det_id 1 -exp_id 11 -recip myrecipe -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -b1_uri jpeg1 -b2_uri jpeg2 -reject || exit 1 43 59 60 echo "./dettool -residdetrun" 44 61 ./dettool -residdetrun || exit 1 62 echo "./dettool -residexp" 45 63 ./dettool -residexp || exit 1 64 exit 65 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe" 46 66 ./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe || exit 1 67 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject" 47 68 ./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject || exit 1 69 echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11" 48 70 ./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11 || exit 1 71 echo "./dettool -residexp" 49 72 ./dettool -residexp || exit 1 50 ./dettool -updatedetrun -det_id 1 -again 73 echo "./dettool -updatedetrun -det_id 1 -again" 74 ./dettool -updatedetrun -det_id 1 -again || exit 1 -
trunk/ippTools/scripts/regtest.sh
r8596 r8732 4 4 p0tool="./p0tool" 5 5 6 ./pxadmin -recreate || exit 16 echo -e "YES\nipp\n\n" | ./pxadmin -recreate || exit 1 7 7 8 8 $inject -newExp -exp_id 10 -inst gpc -telescope ps1 -exp_type object -imfiles 4 || exit 1 … … 22 22 done; 23 23 24 $p0tool -updateexp -exp_id 10 -filter r -airmass 10 -ra 1 -decl 2 -exp_time 0 -bg 10 -bg_stdev 1 -bg_mean_stdev 10 -alt 10 -az 10 -ccd_temp 45 -posang 10 -detrend|| exit 124 $p0tool -updateexp -exp_id 10 -filter r -airmass 10 -ra 1 -decl 2 -exp_time 0 -bg 10 -bg_stdev 1 -bg_mean_stdev 10 -alt 10 -az 10 -ccd_temp 45 -posang 10 $* || exit 1 25 25 26 26 for ID in `seq 0 3`; do … … 28 28 done; 29 29 30 $p0tool -updateexp -exp_id 11 -filter r -airmass 11 -ra 1 -decl 2 -exp_time 0 -bg 11 -bg_stdev 1 -bg_mean_stdev 11 -alt 11 -az 11 -ccd_temp 45 -posang 11 -detrend|| exit 130 $p0tool -updateexp -exp_id 11 -filter r -airmass 11 -ra 1 -decl 2 -exp_time 0 -bg 11 -bg_stdev 1 -bg_mean_stdev 11 -alt 11 -az 11 -ccd_temp 45 -posang 11 $* || exit 1
Note:
See TracChangeset
for help on using the changeset viewer.
