IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 1, 2006, 5:38:13 PM (20 years ago)
Author:
jhoblitt
Message:

enable -Werror

Location:
trunk/ippTools/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/scripts/dettest.sh

    r8596 r8732  
    33./p0test.sh || exit 1
    44
     5echo "./dettool -definebyquery -det_type flat"
    56./dettool -definebyquery -det_type flat || exit 1
     7echo "./dettool -raw"
    68./dettool -raw || exit 1
    79
    810for 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"
    912    ./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
    1013done;
    1114
    1215for 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"
    1317    ./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
    1418done;
    1519
     20echo "./dettool -tostack"
    1621./dettool -tostack || exit 1
    1722for 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"
    1824    ./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
    1925done;
    2026
     27echo "./dettool -tonormalize"
    2128./dettool -tonormalize || exit 1
    2229for ID in `seq 0 3` ; do
     30    echo "./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345"
    2331    ./dettool -addnormstat -det_id 1 -class_id $ID -norm 0.12345 || exit 1
    2432done;
    2533
     34echo "./dettool -normstat"
    2635./dettool -normstat || exit 1
    2736for ID in `seq 0 3` ; do
     37    echo "./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID"
    2838    ./dettool -addnormalizedimfile -det_id 1 -class_id $ID -uri file://normalized-$ID || exit 1
    2939done;
    3040
     41echo "./dettool -toresid"
    3142./dettool -toresid || exit 1
    3243
    3344for 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"
    3446    ./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
    3547done;
    3648for 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"
    3750    ./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
    3851done;
    3952
     53echo "./dettool -toresidexp"
    4054./dettool -toresidexp || exit 1
     55echo "./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"
    4156./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
     57echo "./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"
    4258./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
    4359
     60echo "./dettool -residdetrun"
    4461./dettool -residdetrun || exit 1
     62echo "./dettool -residexp"
    4563./dettool -residexp || exit 1
     64exit
     65echo "./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe"
    4666./dettool -updateresidexp -det_id 1 -iteration 0 -recip yourrecipe || exit 1
     67echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject"
    4768./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 10 -reject || exit 1
     69echo "./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11"
    4870./dettool -updateresidexp -det_id 1 -iteration 0 -exp_id 11 || exit 1
     71echo "./dettool -residexp"
    4972./dettool -residexp || exit 1
    50 ./dettool -updatedetrun -det_id 1 -again
     73echo "./dettool -updatedetrun -det_id 1 -again"
     74./dettool -updatedetrun -det_id 1 -again || exit 1
  • trunk/ippTools/scripts/regtest.sh

    r8596 r8732  
    44p0tool="./p0tool"
    55
    6 ./pxadmin -recreate || exit 1
     6echo -e "YES\nipp\n\n" | ./pxadmin -recreate || exit 1
    77
    88$inject -newExp -exp_id 10 -inst gpc -telescope ps1 -exp_type object -imfiles 4 || exit 1
     
    2222done;
    2323
    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 1
     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 $* || exit 1
    2525
    2626for ID in `seq 0 3`; do
     
    2828done;
    2929
    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 1
     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 $* || exit 1
Note: See TracChangeset for help on using the changeset viewer.