IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2010, 10:11:53 PM (16 years ago)
Author:
Paul Price
Message:

Adding background restoration parts to destreaking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ippScripts/scripts/magic_destreak.pl

    r27957 r28499  
    9797my ($skycell_args, $class_id, $skycell_id);
    9898
    99 if (($stage eq "raw") or ($stage eq "chip")) {
     99if (($stage eq "raw") or ($stage eq "chip") or $stage eq "chip_bg") {
    100100    $class_id = $component;
    101101    $skycell_args = " -class_id $component";
    102 } elsif ($stage eq "warp") {
     102} elsif ($stage eq "warp" or $stage eq "warp_bg") {
    103103    $skycell_id = $component;
    104104    $skycell_args = " -skycell_id $component";
     
    286286        # $sources = $ipprc->filename("PSPHOT.OUT.CMF.SPL",  $path_base);
    287287
    288     } elsif ($stage eq "warp") {
     288    } elsif ($stage eq "chip_bg") {
     289        $image  = $ipprc->filename("PPBACKGROUND.OUTPUT", $path_base, $class_id);
     290        $mask = $ipprc->filename("PPBACKGROUND.OUTPUT.MASK", $path_base, $class_id);
     291        $astrom = $ipprc->filename("PSASTRO.OUTPUT", $cam_path_base);
     292    } elsif ($stage eq "warp" or $stage eq "warp_bg") {
    289293        $image  = $ipprc->filename("PSWARP.OUTPUT", $path_base);
    290294        $mask   = $ipprc->filename("PSWARP.OUTPUT.MASK", $path_base);
Note: See TracChangeset for help on using the changeset viewer.