Changeset 8490
- Timestamp:
- Aug 22, 2006, 4:20:25 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_process.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process.pl
r8358 r8490 42 42 43 43 ### Output file name --- must match camera configuration! 44 my $output File = $output . "." . $classId . ".fit";44 my $outputName = $output . "." . $classId . ".fit"; 45 45 46 46 # Run ppImage … … 51 51 run(command => $command, verbose => 1); 52 52 die "Unable to perform ppImage on $input: $error_code\n" if not $success; 53 die "Couldn't find expected output file: $output File\n" if not -f $outputFile;53 die "Couldn't find expected output file: $outputName\n" if not -f $outputName; 54 54 } 55 55 … … 58 58 { 59 59 my $statsFile; # File handle 60 open $statsFile, "$output.stats" ;60 open $statsFile, "$output.stats" or die "Can't open statistics file $output.stats: $!\n"; 61 61 my @contents = <$statsFile>; # Contents of file 62 62 close $statsFile; … … 70 70 { 71 71 my $command = "dettool -addprocessed -det_id $detId -exp_id $expId " . 72 "-class_id $classId -recipe $recipe -uri $output File"; # Command to run dettool72 "-class_id $classId -recipe $recipe -uri $outputName"; # Command to run dettool 73 73 $command .= " -bg " . $stats->bg_mean(); 74 74 $command .= " -bg_stdev " . $stats->bg_stdev();
Note:
See TracChangeset
for help on using the changeset viewer.
