IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2007, 10:34:12 AM (19 years ago)
Author:
Paul Price
Message:

Adding good_frac for the fraction of good pixels (replacing pixel_fill for warpSkyfile).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/stacktool.c

    r15301 r15376  
    526526    }
    527527
     528    psF64 good_frac = psMetadataLookupF64(&status, config->args, "-good_frac");
     529    if (!status) {
     530        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -good_frac");
     531        return false;
     532    }
     533
    528534    // default values
    529535    psS16 code = psMetadataLookupS16(&status, config->args, "-code");
     
    547553            bg,
    548554            bg_stdev,
     555            good_frac,
    549556            code
    550557        )) {
Note: See TracChangeset for help on using the changeset viewer.