IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2009, 5:20:29 PM (17 years ago)
Author:
watersc1
Message:

Finished up my edits to the detrend cleanup, and some changes to my
copy of burntool and the pslib astrometry. Detrend cleanup has not
been tested yet. That's up next.

Location:
branches/czw_branch/cleanup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup

  • branches/czw_branch/cleanup/ppMerge/src/ppMergeArguments.c

    r24119 r24951  
    170170    psMetadataAddS32(arguments, PS_LIST_TAIL, "-fringe-xsmooth", 0, "Number of smoothing regions in x", 0);
    171171    psMetadataAddS32(arguments, PS_LIST_TAIL, "-fringe-ysmooth", 0, "Number of smoothing regions in y", 0);
     172    psMetadataAddBool(arguments, PS_LIST_TAIL, "-fringe-smooth", 0, "Smooth output image", false);
     173    psMetadataAddF32(arguments, PS_LIST_TAIL, "-fringe-smooth-sigma", 0, "Size of smoothing Gaussian", NAN);
    172174
    173175    /** CTEMASK construction parameters */
     
    203205    }
    204206
     207    if ((argnum = psArgumentGet (argc, argv, "-visual"))) {
     208        psArgumentRemove (argnum, &argc, argv);
     209        pmVisualSetVisual(true);
     210    }
     211
    205212    // Number of threads
    206213    if ((argnum = psArgumentGet(argc, argv, "-threads"))) {
     
    248255    }
    249256    if (strcasecmp(typeStr, "DARK") == 0 ||
     257        strcasecmp(typeStr, "DARKTEST") == 0 ||
    250258        strcasecmp(typeStr, "DARK_PREMASK") == 0) {
    251259      type = PPMERGE_TYPE_DARK;
     
    323331    VALUE_ARG_RECIPE_INT("-fringe-xsmooth", "FRINGE.XSMOOTH", S32, 0);
    324332    VALUE_ARG_RECIPE_INT("-fringe-ysmooth", "FRINGE.YSMOOTH", S32, 0);
     333    VALUE_ARG_RECIPE_BOOL("-fringe-smooth", "FRINGE.SMOOTH");
     334    VALUE_ARG_RECIPE_FLOAT("-fringe-smooth-sigma", "FRINGE.SMOOTH.SIGMA", F32);
    325335
    326336    /** CTEMASK construction parameters */
     
    370380            bool scale = false;         ///< Scale values?
    371381            float min = NAN, max = NAN; ///< Minimum and maximum values for scaling
     382            char *rule = NULL;
    372383            switch (item->type) {
    373384              case PS_TYPE_S32:
     
    380391                min = psMetadataLookupF32(&mdok, item->data.md, "MIN");
    381392                max = psMetadataLookupF32(&mdok, item->data.md, "MAX");
     393                rule = psMetadataLookupStr(&mdok, item->data.md, "RULE");
    382394                break;
    383395              default:
     
    397409            ord->min = min;
    398410            ord->max = max;
     411            ord->rule = psStringCopy(rule);
    399412            psArrayAdd(translated, translated->n, ord);
    400413            psFree(ord);
Note: See TracChangeset for help on using the changeset viewer.