Changeset 14115 for trunk/ippScripts/scripts/detrend_norm_apply.pl
- Timestamp:
- Jul 10, 2007, 3:18:44 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_apply.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_apply.pl
r14009 r14115 68 68 [ 69 69 # PPSTATS KEYWORD STATISTIC CHIPTOOL FLAG 70 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg" },71 { name => "ROBUST_MEDIAN", type => "stdev", flag => "-bg_mean_stdev" },72 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev" },70 { name => "ROBUST_MEDIAN", type => "mean", flag => "-bg", dtype => "float" }, 71 { name => "ROBUST_MEDIAN", type => "stdev", flag => "-bg_mean_stdev", dtype => "float" }, 72 { name => "ROBUST_STDEV", type => "rms", flag => "-bg_stdev", dtype => "float" }, 73 73 ]; 74 my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser 74 75 75 76 # 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 unless ($stats->parse($metadata)) { 131 131 &my_die("Unable to find all values in statistics output.", $det_id, $iter, $class_id, $PS_EXIT_PROG_ERROR); … … 141 141 $command .= " -path_base $outputRoot"; 142 142 $command .= " -dbname $dbname" if defined $dbname; 143 144 # add in the elements from the selected stats above 145 foreach my $entry (@$STATS) { 146 my $value = $entry->{value}; 147 my $flag = $entry->{flag}; 148 $command .= " $flag $value"; 149 } 143 $command .= $stats->cmdflags(); 150 144 151 145 # Add the processed file to the database
Note:
See TracChangeset
for help on using the changeset viewer.
