Changeset 14115 for trunk/ippScripts/scripts/detrend_process_imfile.pl
- Timestamp:
- Jul 10, 2007, 3:18:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_imfile.pl
r14048 r14115 70 70 [ 71 71 # PPSTATS KEYWORD STATISTIC CHIPTOOL FLAG 72 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg" },73 { name => "ROBUST_MEDIAN", type => "stdev", flag => "-bg_mean_stdev" },74 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev" },72 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 73 { name => "ROBUST_MEDIAN", type => "stdev", flag => "-bg_mean_stdev", dtype => "float" }, 74 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 75 75 ]; 76 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser 76 77 77 78 # Look for programs we need … … 127 128 128 129 # extract the stats from the metadata 129 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser130 130 $stats->parse($metadata) or &my_die("Unable to find all values in statistics output.", $det_id, $exp_id, $class_id, $PS_EXIT_PROG_ERROR); 131 131 } … … 139 139 $command .= " -uri $outputImage -path_base $outputRoot"; 140 140 $command .= " -dbname $dbname" if defined $dbname; 141 142 # add in the elements from the selected stats above 143 foreach my $entry (@$STATS) { 144 my $value = $entry->{value}; 145 my $flag = $entry->{flag}; 146 $command .= " $flag $value"; 147 } 141 $command .= $stats->cmdflags(); 148 142 149 143 # Add the processed file to the database
Note:
See TracChangeset
for help on using the changeset viewer.
