IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2009, 4:24:20 PM (17 years ago)
Author:
bills
Message:

when destreaking warp and diff skyfiles, censor any sources whose coordinates are masked

File:
1 edited

Legend:

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

    r24687 r24691  
    194194    }
    195195
    196     my ($image, $mask, $ch_mask, $weight, $astrom);
     196    my ($image, $mask, $ch_mask, $weight, $astrom, $sources);
    197197
    198198    if ($stage eq "raw") {
     
    211211        $mask   = $ipprc->filename("PSWARP.OUTPUT.MASK", $path_base);
    212212        $weight = $ipprc->filename("PSWARP.OUTPUT.VARIANCE", $path_base);
     213        $sources    = $ipprc->filename("PSWARP.OUTPUT.SOURCES", $path_base);
    213214    } elsif ($stage eq "diff") {
    214215        my $name = $inverse ? "PPSUB.INVERSE" : "PPSUB.OUTPUT"; # Base name for images
     
    216217        $mask   = $ipprc->filename("$name.MASK", $path_base);
    217218        $weight = $ipprc->filename("$name.VARIANCE", $path_base);
     219        $sources    = $ipprc->filename("PPSUB.OUTPUT.SOURCES", $path_base);
    218220    }
    219221
     
    227229        $command .= " -chip_mask $ch_mask" if defined $ch_mask;
    228230        $command .= " -weight $weight" if defined $weight;
     231        $command .= " -sources $sources" if defined $sources;
    229232        $command .= " -skycelllist $skycell_list" if defined $skycell_list;
    230233        $command .= " -replace" if $replace;
Note: See TracChangeset for help on using the changeset viewer.