Changeset 16863
- Timestamp:
- Mar 6, 2008, 4:15:36 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r16860 r16863 16 16 // Here follows lists of files for activation/deactivation at various stages. Each must be NULL-terminated. 17 17 18 #if 019 // All files in the system20 static char *allFiles[] = { "PPSTACK.INPUT", "PPSTACK.INPUT.MASK", "PPSTACK.INPUT.WEIGHT",21 "PPSTACK.OUTPUT", "PPSTACK.OUTPUT.MASK", "PPSTACK.OUTPUT.WEIGHT",22 "PSPHOT.PSF.SAVE", "PSPHOT.PSF.LOAD", "PPSTACK.SOURCES",23 "PSPHOT.OUTPUT", "PSPHOT.RESID", "PSPHOT.BACKMDL", "PSPHOT.BACKMDL.STDEV",24 "PSPHOT.BACKGND", "PSPHOT.BACKSUB", "SOURCE.PLOT.MOMENTS",25 "SOURCE.PLOT.PSFMODEL", "SOURCE.PLOT.APRESID", "PSPHOT.INPUT.CMF",26 0 };27 #endif28 29 18 // Files required in preparation for convolution 30 static char *prepareFiles[] = { "P SPHOT.PSF.LOAD", "PPSTACK.SOURCES", 0};19 static char *prepareFiles[] = { "PPSTACK.INPUT.PSF", "PPSTACK.SOURCES", NULL }; 31 20 32 21 // Files required for the convolution 33 static char *convolveFiles[] = { "PPSTACK.INPUT", "PPSTACK.INPUT.MASK", "PPSTACK.INPUT.WEIGHT", 0};22 static char *convolveFiles[] = { "PPSTACK.INPUT", "PPSTACK.INPUT.MASK", "PPSTACK.INPUT.WEIGHT", NULL }; 34 23 35 24 // Output files for the combination 36 static char *combineFiles[] = { "PPSTACK.OUTPUT", "PPSTACK.OUTPUT.MASK", "PPSTACK.OUTPUT.WEIGHT", 0};25 static char *combineFiles[] = { "PPSTACK.OUTPUT", "PPSTACK.OUTPUT.MASK", "PPSTACK.OUTPUT.WEIGHT", NULL }; 37 26 38 27 // Files for photometry … … 40 29 "PSPHOT.BACKMDL.STDEV", "PSPHOT.BACKGND", "PSPHOT.BACKSUB", 41 30 "SOURCE.PLOT.MOMENTS", "SOURCE.PLOT.PSFMODEL", "SOURCE.PLOT.APRESID", 42 "PSPHOT.INPUT.CMF", 0};31 "PSPHOT.INPUT.CMF", NULL }; 43 32 44 33 … … 369 358 pmFPAfileActivate(config->files, false, NULL); 370 359 fileActivation(config, combineFiles, true); 371 if (psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY")) {372 fileActivation(config, photFiles, true);373 }374 360 pmFPAview *view = filesIterateDown(config); 375 361 if (!view) { … … 557 543 558 544 if (psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY")) { 545 546 fileActivation(config, combineFiles, false); 547 fileActivation(config, photFiles, true); 548 filesIterateDown(config); 549 559 550 psTrace("ppStack", 1, "Photometering stacked image....\n"); 560 551 if (!ppStackPhotometry(config, outRO, view)) { … … 564 555 return false; 565 556 } 557 558 fileActivation(config, combineFiles, true); 566 559 } 567 560
Note:
See TracChangeset
for help on using the changeset viewer.
