IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2009, 12:19:47 PM (17 years ago)
Author:
Paul Price
Message:

Use the convolved, normalised but unsubtracted outputs from ppSub as the templates for Magic.

File:
1 edited

Legend:

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

    r24174 r24361  
    349349    my $node = shift;
    350350
    351     my $image;                  # Name of template to return
    352     my $path_base;              # Base name for name
    353     if (defined $node->{warp_path_base} and $node->{warp_path_base} ne "NULL") {
    354         $path_base = $node->{warp_path_base};
    355         $image = "PSWARP.OUTPUT";
    356     } elsif (defined $node->{stack_path_base} and $node->{stack_path_base} ne "NULL") {
    357         $path_base = $node->{stack_path_base};
    358         $image = "PPSTACK.OUTPUT";
    359     } else {
    360         return undef;
    361     }
     351    my $path_base = $node->{diff_path_base}; # Base name for name
     352    my $image = $node->{inverse} ? "PPSUB.INPUT.CONV" : "PPSUB.REF.CONV"; # File rule of interest
    362353
    363354    $image = $ipprc->file_resolve($ipprc->filename($image, $path_base));
Note: See TracChangeset for help on using the changeset viewer.