Changeset 28435 for branches/eam_branches/ipp-20100621/psModules
- Timestamp:
- Jun 23, 2010, 2:03:31 PM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/psModules/src
- Files:
-
- 2 added
- 4 edited
-
config/pmConfig.c (modified) (2 diffs)
-
extras/Makefile.am (modified) (2 diffs)
-
extras/pmVisualUtils.c (added)
-
extras/pmVisualUtils.h (added)
-
objects/pmSourceVisual.c (modified) (6 diffs)
-
psmodules.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psModules/src/config/pmConfig.c
r28287 r28435 32 32 33 33 #include "pmConfig.h" 34 #include "pmVisualUtils.h" 34 35 35 36 #ifdef HAVE_NEBCLIENT … … 638 639 psArgumentVerbosity(argc, argv); 639 640 // XXX: substitute the string for the default log level for "2". 641 } 642 643 // Set the visualization levels 644 // argument format is: -visual (facil) (level) 645 while ((argNum = psArgumentGet(*argc, argv, "-visual"))) { 646 if ( (*argc < argNum + 3) ) { 647 psError(PS_ERR_IO, true, "-visual switch specified without facility and level."); 648 return NULL; 649 } 650 psArgumentRemove(argNum, argc, argv); 651 pmVisualSetLevel(argv[argNum], atoi(argv[argNum+1])); 652 psArgumentRemove(argNum, argc, argv); 653 psArgumentRemove(argNum, argc, argv); 654 } 655 if ((argNum = psArgumentGet(*argc, argv, "-visual-all"))) { 656 pmVisualSetLevel(".", 10); 657 } 658 if ((argNum = psArgumentGet(*argc, argv, "-visual-levels"))) { 659 pmVisualPrintLevels(stdout); 640 660 } 641 661 -
branches/eam_branches/ipp-20100621/psModules/src/extras/Makefile.am
r27750 r28435 9 9 pmKapaPlots.c \ 10 10 pmVisual.c \ 11 pmVisualUtils.c \ 11 12 ippStages.c 12 13 … … 17 18 pmKapaPlots.h \ 18 19 pmVisual.h \ 20 pmVisualUtils.h \ 19 21 ippDiffMode.h \ 20 22 ippStages.h -
branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceVisual.c
r26260 r28435 13 13 #include <kapa.h> 14 14 #include "pmVisual.h" 15 #include "pmVisualUtils.h" 15 16 16 17 // functions used to visualize the analysis as it goes … … 34 35 Graphdata graphdata; 35 36 36 if (!pmVisual IsVisual()) return true;37 if (!pmVisualTestLevel("psphot.psf.metric", 2)) return true; 37 38 38 39 if (kapa1 == -1) { … … 118 119 Graphdata graphdata; 119 120 120 if (!pmVisual IsVisual()) return true;121 if (!pmVisualTestLevel("psphot.psf.subpix", 3)) return true; 121 122 122 123 if (kapa1 == -1) { … … 280 281 bool pmSourceVisualShowModelFits (pmPSF *psf, psArray *sources, psImageMaskType maskVal) { 281 282 282 if (!pmVisual IsVisual()) return true;283 if (!pmVisualTestLevel("psphot.psf.fits", 2)) return true; 283 284 284 285 if (kapa2 == -1) { … … 360 361 bool pmSourceVisualShowModelFit (pmSource *source) { 361 362 362 if (!pmVisualIsVisual()) return true; 363 if (!pmVisualTestLevel("psphot.psf.fitresid", 2)) return true; 364 363 365 if (!source->pixels) return false; 364 366 if (!source->modelFlux) return false; … … 404 406 Graphdata graphdata; 405 407 406 if (!pmVisualIsVisual() || !plotPSF) return true; 408 if (!plotPSF) return true; 409 if (!pmVisualTestLevel("psphot.psf.resid", 2)) return true; 407 410 408 411 if (kapa1 == -1) { -
branches/eam_branches/ipp-20100621/psModules/src/psmodules.h
r28043 r28435 10 10 #include <pmKapaPlots.h> 11 11 #include <pmVisual.h> 12 #include <pmVisualUtils.h> 12 13 #include <ippStages.h> 13 14 #include <ippDiffMode.h>
Note:
See TracChangeset
for help on using the changeset viewer.
