Changeset 25603
- Timestamp:
- Sep 27, 2009, 10:45:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotReplaceUnfit.c
r25409 r25603 17 17 replace: 18 18 pmSourceAdd (source, PM_MODEL_OP_FULL, maskVal); 19 source->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED;20 19 } 21 20 psLogMsg ("psphot.replace", 3, "replace unfitted models: %f sec (%ld objects)\n", psTimerMark ("psphot.replace"), sources->n); … … 41 40 42 41 pmSourceAdd (source, PM_MODEL_OP_FULL, maskVal); 43 source->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED;44 42 } 45 43 psLogMsg ("psphot.replace", PS_LOG_INFO, "replaced models for %ld objects: %f sec\n", sources->n, psTimerMark ("psphot.replace")); … … 64 62 if (source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED) continue; 65 63 66 pmSourceAdd (source, PM_MODEL_OP_FULL, maskVal); 67 source->tmpFlags |= PM_SOURCE_TMPF_SUBTRACTED; 64 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 68 65 } 69 66 psLogMsg ("psphot.replace", PS_LOG_INFO, "replaced models for %ld objects: %f sec\n", sources->n, psTimerMark ("psphot.replace")); … … 71 68 } 72 69 70 # if (0) 73 71 // add source, if the source has been subtracted; do not modify state 74 72 bool psphotAddWithTest (pmSource *source, bool useState, psImageMaskType maskVal) { … … 108 106 return true; 109 107 } 108 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
