IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14479


Ignore:
Timestamp:
Aug 13, 2007, 4:14:06 PM (19 years ago)
Author:
jhoblitt
Message:

add warpSkyfile.pixel_fill

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/warp.md

    r14101 r14479  
    1 # $Id: warp.md,v 1.5 2007-07-10 21:41:20 jhoblitt Exp $
     1# $Id: warp.md,v 1.6 2007-08-14 02:13:56 jhoblitt Exp $
    22
    33#
     
    5050    bg          F64         0.0
    5151    bg_stdev    F64         0.0
     52    pixel_fill  F64         0.0     # Key
    5253    fault       S16         0       # Key
    5354END
  • trunk/ippTools/src/warptool.c

    r14262 r14479  
    945945    }
    946946
     947    psF64 pixel_fill = psMetadataLookupF64(&status, config->args, "-pixel_fill");
     948    if (!status) {
     949        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -pixel_fill");
     950        return false;
     951    }
     952
    947953    // default values
    948954    psS16 code = psMetadataLookupS16(&status, config->args, "-code");
     
    968974            bg,
    969975            bg_stdev,
     976            pixel_fill,
    970977            code
    971978        )) {
  • trunk/ippTools/src/warptoolConfig.c

    r14262 r14479  
    171171    psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-bg_stdev",  0,
    172172            "define exposure background stdev", NAN);
     173    psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-pixel_fill",  0,
     174            "define %% of live pixels", NAN);
    173175    psMetadataAddS16(addwarpedArgs, PS_LIST_TAIL, "-code",  0,
    174176            "set fault code", 0);
Note: See TracChangeset for help on using the changeset viewer.