Changeset 9145
- Timestamp:
- Oct 3, 2006, 10:04:48 AM (20 years ago)
- Location:
- trunk/ippScripts/scripts
- Files:
-
- 5 edited
-
detrend_norm_apply.pl (modified) (2 diffs)
-
detrend_norm_exp.pl (modified) (2 diffs)
-
detrend_process_exp.pl (modified) (3 diffs)
-
detrend_stack.pl (modified) (1 diff)
-
phase0_exp.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_apply.pl
r9141 r9145 56 56 my $b1name = $outputRoot . '.' . $classId . '.b1.fits'; # Output file with binning 1 57 57 my $b2name = $outputRoot . '.' . $classId . '.b2.fits'; # Output file with binning 2 58 my $stat Name = $outputRoot . '.' . $classId . '.stats'; # Statistics file58 my $statsName = $outputRoot . '.' . $classId . '.stats'; # Statistics file 59 59 60 60 # Run ppArith 61 61 { 62 my $command = "$ppImage -file $input $outputRoot -norm $value -stat $stat Name -recipe PPIMAGE " . RECIPE(); # Command to run62 my $command = "$ppImage -file $input $outputRoot -norm $value -stat $statsName -recipe PPIMAGE " . RECIPE(); # Command to run 63 63 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 64 64 run(command => $command, verbose => 1); … … 67 67 die "Can't find expected output file: $b1name\n" if not -e $b1name; 68 68 die "Can't find expected output file: $b2name\n" if not -e $b2name; 69 die "Can't find expected output file: $stat Name\n" if not -e $statName;69 die "Can't find expected output file: $statsName\n" if not -e $statsName; 70 70 } 71 71 -
trunk/ippScripts/scripts/detrend_norm_exp.pl
r9135 r9145 29 29 -exitval => 3, 30 30 ) unless defined $det_id 31 and defined $iter ation31 and defined $iter 32 32 and defined $camera 33 33 and defined $det_type; … … 89 89 90 90 # Generate the file list, and get the statistics 91 my $outputRoot = $camera . '.' . $det Type . '.norm.' . $detId . '.' . $iter; # Root output name91 my $outputRoot = $camera . '.' . $det_type . '.norm.' . $det_id . '.' . $iter; # Root output name 92 92 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1 93 93 my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2 -
trunk/ippScripts/scripts/detrend_process_exp.pl
r9133 r9145 27 27 -exitval => 3, 28 28 ) unless defined $det_id 29 and defined $exp_tag 30 and defined $det_type; 29 and defined $exp_tag; 31 30 32 31 use constant RECIPE1 => 'PPIMAGE_J1'; # Recipe to use for ppImage to make JPEGs … … 86 85 87 86 # Generate the file list, and get the statistics 88 my $outputRoot = $exp_tag . '.detproc.' . $det_id . '.' . $iter; # Root output name87 my $outputRoot = $exp_tag . '.detproc.' . $det_id; # Root output name 89 88 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1 90 89 my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2 … … 124 123 # Add the result into the database 125 124 unless ($no_update) { 126 my $command = "$dettool -addprocessedexp -det_id $det_id - iteration $iter -exp_tag $exp_tag " .125 my $command = "$dettool -addprocessedexp -det_id $det_id -exp_tag $exp_tag " . 127 126 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1Name -b2_uri $jpeg2Name " . 128 127 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run -
trunk/ippScripts/scripts/detrend_stack.pl
r9101 r9145 15 15 use Pod::Usage qw( pod2usage ); 16 16 17 my ($det_id, $iter, $class_id, $det_type, $camera );17 my ($det_id, $iter, $class_id, $det_type, $camera, $no_update); 18 18 GetOptions( 19 19 'det_id|d=s' => \$det_id, -
trunk/ippScripts/scripts/phase0_exp.pl
r9098 r9145 11 11 12 12 use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt ); 13 use Pod::Usage qw( pod2usage ); 13 14 14 15 my ($exptag, $no_update);
Note:
See TracChangeset
for help on using the changeset viewer.
