IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 21, 2013, 2:03:07 PM (13 years ago)
Author:
watersc1
Message:

Disable the use of convolved stack inputs in the diff except when that has been explicitly requested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/diff_skycell.pl

    r35133 r35325  
    113113my ($inputMagic, $templateMagic); # Are the inputs been magicked?
    114114my ($saveInConv, $saveRefConv);   # Save the input or reference convolved images?
    115 # Prescan to decide if this is or is not a stack stack diff. The check above confirms we only have two entries.
    116 if ((${ $files }[0]->{warp_id} == 0)&&
    117     (${ $files }[1]->{warp_id} == 0)) {
    118     # Both are zero, so stack stack diff;
    119     unless ($use_convolved) {
    120         $use_convolved = 0;
    121     }
    122 }
    123 else {
    124     # We're in some sort of warp stack or warp warp (don't care about the last one.)
    125     $use_convolved = 1;
    126 }
     115# CZW 2013-03-21: We only want to use unconvolved inputs.  Ever, if I understand correctly.
     116unless ($use_convolved) {
     117    $use_convolved = 0;
     118}
     119
     120# # Prescan to decide if this is or is not a stack stack diff. The check above confirms we only have two entries.
     121# if ((${ $files }[0]->{warp_id} != 0)&&
     122#     (${ $files }[1]->{warp_id} != 0)) {
     123#     # Both are zero, so stack stack diff;
     124# }
     125# else {
     126
     127#     # We're in some sort of warp stack or warp warp (don't care about the last one.)
     128#     $use_convolved = 1; ## This is a hack to do a test for mops, and should not be committed.
     129# }
    127130
    128131# ppSub does (input) - (template) after PSF-match convolution. 
Note: See TracChangeset for help on using the changeset viewer.