IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15918


Ignore:
Timestamp:
Dec 24, 2007, 11:16:09 AM (18 years ago)
Author:
eugene
Message:

added test for MASK det_type and set output file to PPIMAGE.OUTPUT.DETMASK in this case

File:
1 edited

Legend:

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

    r15466 r15918  
    6464my $RECIPE_PPSTATS = 'CHIPSTATS'; # Recipe to use with ppStats
    6565
     66my $isMaskType = 0;
     67if (lc($det_type) eq "mask") { $isMaskType = 1; }
     68if (lc($det_type) eq "darkmask") { $isMaskType = 1; }
     69if (lc($det_type) eq "flatmask") { $isMaskType = 1; }
     70
    6671# values to extract from output metadata and the stats to calculate
    6772my $STATS =
     
    103108    $command .= " -recipe PPIMAGE $RECIPE_PPIMAGE";
    104109    $command .= " -recipe PPSTATS $RECIPE_PPSTATS";
     110    $command .= " -F PPIMAGE.OUTPUT PPIMAGE.OUTPUT.DETMASK" if ($isMaskType); # XXXX something of a hack (too many places to control things...)
    105111    $command .= ' -isfringe' if lc($det_type) eq 'fringe';
    106112    $command .= " -tracedest $traceDest -log $logDest";
Note: See TracChangeset for help on using the changeset viewer.