Changeset 8937
- Timestamp:
- Sep 25, 2006, 11:07:51 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r8763 r8937 32 32 and defined $det_type; 33 33 34 use constant RECIPE => 'PPIMAGE_J'; # Recipe to use for ppImage to make JPEGs 34 use constant RECIPE1 => 'PPIMAGE_J1'; # Recipe to use for ppImage to make JPEGs 35 use constant RECIPE2 => 'PPIMAGE_J2'; # Recipe to use for ppImage to make JPEGs 35 36 36 37 # The expected mean, as a function of detrend type … … 112 113 113 114 # Output products --- need to synch with the camera configuration! 114 my $jpeg1Name = $outputName . ".b1.jp eg"; # Binned JPEG #1115 my $jpeg2Name = $outputName . ".b2.jp eg"; # Binned JPEG #2115 my $jpeg1Name = $outputName . ".b1.jpg"; # Binned JPEG #1 116 my $jpeg2Name = $outputName . ".b2.jpg"; # Binned JPEG #2 116 117 117 118 # Make the jpeg for binning 1 118 119 { 119 my $command = "$ppImage -list $list1Name $outputName -recipe PPIMAGE " . RECIPE ; # Command to run120 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 121 run(command => $command, verbose => 1); 122 #die "Unable to find expected output file: $jpeg1Name\n" if not -f $jpeg1Name;120 my $command = "$ppImage -list $list1Name $outputName -recipe PPIMAGE " . RECIPE1; # Command to run 121 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 122 run(command => $command, verbose => 1); 123 die "Unable to find expected output file: $jpeg1Name\n" if not -f $jpeg1Name; 123 124 } 124 125 125 126 # Make the jpeg for binning 2 126 127 { 127 my $command = "$ppImage -list $list2Name $outputName -recipe PPIMAGE " . RECIPE ; # Command to run128 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 129 run(command => $command, verbose => 1); 130 #die "Unable to find expected output file: $jpeg2Name\n" if not -f $jpeg2Name;128 my $command = "$ppImage -list $list2Name $outputName -recipe PPIMAGE " . RECIPE2; # Command to run 129 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 130 run(command => $command, verbose => 1); 131 die "Unable to find expected output file: $jpeg2Name\n" if not -f $jpeg2Name; 131 132 } 132 133
Note:
See TracChangeset
for help on using the changeset viewer.
