Changeset 21524 for trunk/ppSub/src/ppSubArguments.c
- Timestamp:
- Feb 17, 2009, 2:31:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubArguments.c
r21424 r21524 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1.5 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02- 09 21:26:05$8 * @version $Revision: 1.59 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-18 00:31:20 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ 12 13 #ifdef HAVE_CONFIG_H 14 #include <config.h> 15 #endif 16 17 #include <stdio.h> 18 #include <pslib.h> 19 #include <psmodules.h> 20 #include <psphot.h> 12 21 13 22 #include "ppSub.h" … … 240 249 psMetadataAddS32(arguments, PS_LIST_TAIL, "-opt-order", 0, "Maximum order for optimum kernel search", -1); 241 250 psMetadataAddBool(arguments, PS_LIST_TAIL, "-dual", 0, "Dual convolution", false); 242 psMetadataAddBool(arguments, PS_LIST_TAIL, "-renorm", 0, "Renormalise variance maps?", false);243 psMetadataAddStr(arguments, PS_LIST_TAIL, "-renorm-mean", 0,244 "Statistic for mean in renormalisation", NULL);245 psMetadataAddStr(arguments, PS_LIST_TAIL, "-renorm-stdev", 0,246 "Statistic for stdev in renormalisation", NULL);247 psMetadataAddF32(arguments, PS_LIST_TAIL, "-renorm-width", 0, "Gaussian width for renormalisation", NAN);248 psMetadataAddS32(arguments, PS_LIST_TAIL, "-renorm-num", 0, "Number of samples for renormalisation", 0);249 251 psMetadataAddBool(arguments, PS_LIST_TAIL, "-photometry", 0, "Perform photometry?", false); 250 252 psMetadataAddS32(arguments, PS_LIST_TAIL, "-threads", 0, "Number of threads", 0); … … 352 354 psMetadataLookupBool(NULL, arguments, "-dual")); 353 355 354 if (psMetadataLookupBool(NULL, arguments, "-renorm") ||355 psMetadataLookupBool(NULL, recipe, "RENORM")) {356 psMetadataAddBool(arguments, PS_LIST_TAIL, "RENORM", 0, "Renormalise variance maps?", true);357 }358 VALUE_ARG_RECIPE_INT("-renorm-num", "RENORM.NUM", S32, 0);359 VALUE_ARG_RECIPE_FLOAT("-renorm-width", "RENORM.WIDTH", F32);360 valueArgRecipeStr(arguments, recipe, "-renorm-mean", "RENORM.MEAN", recipe);361 valueArgRecipeStr(arguments, recipe, "-renorm-stdev", "RENORM.STDEV", recipe);362 363 356 // Need to update this because it could have been overwritten by the camera's own recipe 364 357 if (psMetadataLookupBool(NULL, arguments, "-photometry")) {
Note:
See TracChangeset
for help on using the changeset viewer.
