Changeset 21458 for trunk/psphot/src/psphotArguments.c
- Timestamp:
- Feb 12, 2009, 10:05:21 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotArguments.c
r21166 r21458 33 33 if ((N = psArgumentGet(argc, argv, "-threads"))) { 34 34 psArgumentRemove(N, &argc, argv); 35 int nThreads = atoi(argv[N]);35 int nThreads = atoi(argv[N]); 36 36 psMetadataAddS32(config->arguments, PS_LIST_TAIL, "NTHREADS", 0, "number of psphot threads", nThreads); 37 37 psArgumentRemove(N, &argc, argv); 38 38 39 // create the thread pool with number of desired threads, supplying our thread launcher function40 psThreadPoolInit (nThreads);39 // create the thread pool with number of desired threads, supplying our thread launcher function 40 psThreadPoolInit (nThreads); 41 41 } 42 42 psphotSetThreads(); … … 82 82 if ((N = psArgumentGet (argc, argv, "-visual"))) { 83 83 psArgumentRemove (N, &argc, argv); 84 psphotSetVisual (true);85 // pmSourceSetVisual (true);84 psphotSetVisual (true); 85 // pmSourceSetVisual (true); 86 86 } 87 87 … … 118 118 // 119 119 pmConfigFileSetsMD (config->arguments, &argc, argv, "MASK", "-mask", "-masklist"); 120 pmConfigFileSetsMD (config->arguments, &argc, argv, " WEIGHT", "-weight", "-weightlist");120 pmConfigFileSetsMD (config->arguments, &argc, argv, "VARIANCE", "-variance", "-variancelist"); 121 121 pmConfigFileSetsMD (config->arguments, &argc, argv, "PSPHOT.PSF", "-psf", "-psflist"); 122 122 pmConfigFileSetsMD (config->arguments, &argc, argv, "SRC", "-src", "-srclist");
Note:
See TracChangeset
for help on using the changeset viewer.
