Changeset 35167 for trunk/ppStack/src/ppStackCamera.c
- Timestamp:
- Feb 13, 2013, 4:18:09 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackCamera.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackCamera.c
r35081 r35167 48 48 bool convolve = psMetadataLookupBool(NULL, recipe, "CONVOLVE"); // Convolve images before stack? 49 49 bool doBackground = psMetadataLookupBool(NULL, recipe, "BACKGROUND.MODEL"); 50 50 // fprintf(stderr,"ppSC: %d\n",doBackground); 51 51 psArray *runImages = pmFPAfileDefineMultipleFromRun(&status, NULL, config, 52 52 "PPSTACK.INPUT"); // Input images from previous run … … 218 218 219 219 // Grab bkgmodel information here 220 if (doBackground) { 221 if (!bkgmodel || strlen(bkgmodel) == 0) { 220 221 // if (doBackground) { 222 if ((!bkgmodel) || (strlen(bkgmodel) == 0)) { 222 223 // We have no background models. 224 // fprintf(stderr,"No backgrounds specified, resettting recipe value.\n"); 225 doBackground = false; 226 psMetadataAddBool(recipe, PS_LIST_TAIL, "BACKGROUND.MODEL", PS_META_REPLACE, 227 "Do photometry on stacked image?", false); 228 223 229 } 224 230 else { … … 227 233 if (!inputBKG) { 228 234 // We failed to generate an pmFPAfile, so disable the background construction and continue. 235 // fprintf(stderr,"No backgrounds specified, resettting recipe value.\n"); 229 236 doBackground = false; 230 237 psMetadataAddBool(recipe, PS_LIST_TAIL, "BACKGROUND.MODEL", PS_META_REPLACE, … … 238 245 } 239 246 }// End bkgmodel 240 }247 // } 241 248 242 249
Note:
See TracChangeset
for help on using the changeset viewer.
