Changeset 24171
- Timestamp:
- May 13, 2009, 12:12:02 PM (17 years ago)
- Location:
- branches/pap_magic
- Files:
-
- 3 edited
-
ippScripts/scripts/diff_skycell.pl (modified) (5 diffs)
-
ippTasks/diff.pro (modified) (2 diffs)
-
ippTools/share/difftool_todiffskyfile.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_magic/ippScripts/scripts/diff_skycell.pl
r23740 r24171 35 35 } 36 36 37 my ($diff_id, $dbname, $threads, $outroot, $reduction, $ verbose, $no_update, $no_op, $redirect);37 my ($diff_id, $dbname, $threads, $outroot, $reduction, $inverse, $verbose, $no_update, $no_op, $redirect); 38 38 my ($skycell_id, $diff_skyfile_id); 39 39 GetOptions( … … 44 44 'threads=s' => \$threads, # Number of threads to use 45 45 'outroot=s' => \$outroot, # Output root name 46 'inverse' => \$inverse, # Make inverse subtraction? 46 47 'reduction=s' => \$reduction, # Reduction class 47 48 'verbose' => \$verbose, # Print to stdout … … 96 97 my $camera; # Camera 97 98 my ($inputMagic, $templateMagic); # Are the inputs been magicked? 98 my $inverse = 1; # Generate inverse subtraction if warp-warp99 99 foreach my $file (@$files) { 100 100 if (defined $file->{template} and $file->{template}) { … … 107 107 # template is a stack so it doesn't need to be magicked 108 108 $templateMagic = 1; 109 $inverse = 0;110 109 ## use an explicit stack name for psphot output objects 111 110 } else { … … 123 122 $inputVariance = "PPSTACK.OUTPUT.VARIANCE"; 124 123 $inputSources = "PSPHOT.OUT.CMF.MEF"; ## this must be consistent with the value in stack_skycell.pl:161 125 $inverse = 0;126 124 } else { 127 125 $inputMask = "PSWARP.OUTPUT.MASK"; -
branches/pap_magic/ippTasks/diff.pro
r24098 r24171 146 146 book getword diffSkyfile $pageName skycell_id -var SKYCELL_ID 147 147 book getword diffSkyfile $pageName camera -var CAMERA 148 book getword diffSkyfile $pageName inverse -var INVERSE 148 149 book getword diffSkyfile $pageName workdir -var WORKDIR_TEMPLATE 149 150 book getword diffSkyfile $pageName dbname -var DBNAME … … 164 165 165 166 $run = diff_skycell.pl --threads @MAX_THREADS@ --diff_id $DIFF_ID --skycell_id $SKYCELL_ID --diff_skyfile_id $DIFF_SKYFILE_ID --outroot $outroot --redirect-output 167 if ($INVERSE > 1) 168 $run = $run --inverse 169 end 166 170 add_standard_args run 167 171 -
branches/pap_magic/ippTools/share/difftool_todiffskyfile.sql
r23688 r24171 9 9 diffRun.tess_id, 10 10 diffRun.label, 11 diffRun.state 11 diffRun.state, 12 diffRun.inverse 12 13 FROM diffRun 13 14 JOIN diffInputSkyfile USING(diff_id)
Note:
See TracChangeset
for help on using the changeset viewer.
