Changeset 9097 for trunk/ippScripts/scripts/detrend_reject_imfile.pl
- Timestamp:
- Oct 2, 2006, 12:16:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r9091 r9097 15 15 use Pod::Usage qw( pod2usage ); 16 16 17 my ($det_id, $iter, $exp_ id, $det_type, $no_update);17 my ($det_id, $iter, $exp_tag, $det_type, $no_update); 18 18 GetOptions( 19 19 'det_id|d=s' => \$det_id, 20 20 'iteration=s' => \$iter, 21 'exp_ id|e=s' => \$exp_id,21 'exp_tag|e=s' => \$exp_tag, 22 22 'det_type|t=s' => \$det_type, 23 23 'no-update' => \$no_update … … 26 26 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 27 27 pod2usage( 28 -msg => "Required options: --det_id --iteration --exp_ id--det_type",28 -msg => "Required options: --det_id --iteration --exp_tag --det_type", 29 29 -exitval => 3, 30 30 ) unless defined $det_id 31 31 and defined $iter 32 and defined $exp_ id32 and defined $exp_tag 33 33 and defined $det_type; 34 34 … … 87 87 my $files; # Array of component files 88 88 { 89 my $command = "$dettool -residimfile -det_id $det_id -iteration $iter -exp_ id $exp_id"; # Command to run89 my $command = "$dettool -residimfile -det_id $det_id -iteration $iter -exp_tag $exp_tag"; # Command to run 90 90 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 91 91 run(command => $command, verbose => 1); … … 97 97 98 98 # Generate the file list, and get the statistics 99 my $outputRoot = $exp_ id. '.detresid.' . $det_id . '.' . $iter; # Root output name99 my $outputRoot = $exp_tag . '.detresid.' . $det_id . '.' . $iter; # Root output name 100 100 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1 101 101 my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2 … … 195 195 # Add the result into the database 196 196 unless ($no_update) { 197 my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_ id $exp_id" .197 my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_tag $exp_tag " . 198 198 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1Name -b2_uri $jpeg2Name " . 199 199 "-bg $mean -bg_stdev $stdev -bg_mean_stdev $meanStdev"; # Command to run
Note:
See TracChangeset
for help on using the changeset viewer.
