IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2008, 4:05:48 PM (18 years ago)
Author:
Paul Price
Message:

Adding variance map renormalisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackArguments.c

    r19599 r20494  
    137137        psArgumentRemove(argNum, &argc, argv);
    138138    }
    139 
    140139
    141140
     
    172171    psMetadataAddStr(arguments, PS_LIST_TAIL, "-renorm-stdev", 0,
    173172                     "Statistic for stdev in renormalisation", NULL);
    174     psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Width of renormalisation boxes", 0);
     173    psMetadataAddF32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Gaussian width for renormalisation", NAN);
     174    psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-num", 0, "Number of samples for renormalisation", 0);
    175175    psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-image", 0, "Suffix for temporary images", NULL);
    176176    psMetadataAddStr(arguments, PS_LIST_TAIL, "-temp-mask", 0, "Suffix for temporary masks", NULL);
     
    179179                      "Delete temporary files on completion?", false);
    180180    psMetadataAddS32(arguments, PS_LIST_TAIL, "-threads", 0, "Number of threads to use", 0);
     181    psMetadataAddBool(arguments, PS_LIST_TAIL, "-psphot-visual", 0, "psphot visualisation", 0);
    181182
    182183    if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 3) {
     
    265266        psMetadataAddBool(arguments, PS_LIST_TAIL, "RENORM", 0, "Renormalise variance maps?", true);
    266267    }
    267     VALUE_ARG_RECIPE_INT("-renorm-width", "RENORM.WIDTH", S32, 0);
     268    VALUE_ARG_RECIPE_INT("-renorm-num", "RENORM.NUM", S32, 0);
     269    VALUE_ARG_RECIPE_FLOAT("-renorm-width", "RENORM.WIDTH", F32);
    268270    valueArgRecipeStr(arguments, recipe, "-renorm-mean", "RENORM.MEAN", recipe);
    269271    valueArgRecipeStr(arguments, recipe, "-renorm-stdev", "RENORM.STDEV", recipe);
Note: See TracChangeset for help on using the changeset viewer.