- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/psphot
- Property svn:mergeinfo deleted
-
branches/sc_branches/trunkTest/psphot/src/psphotExtendedSourceAnalysis.c
r28013 r29060 121 121 if (source->peak->y > AnalysisRegion.y1) continue; 122 122 123 // fprintf (stderr, "xsrc: %f, %f : %f\n", source->peak->xf, source->peak->yf, source->peak->SN); 124 123 125 // replace object in image 124 126 if (source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED) { … … 157 159 } 158 160 159 # if (0)160 // Isophotal Mags161 if (doIsophotal) {162 if (!psphotIsophotal (source, recipe, maskVal)) {163 psTrace ("psphot", 5, "failed to measure isophotal mags for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);164 } else {165 psTrace ("psphot", 5, "measured isophotal mags for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);166 Nisophot ++;167 source->mode |= PM_SOURCE_MODE_EXTENDED_STATS;168 }169 }170 // Kron Mags171 if (doKron) {172 if (!psphotKron (source, recipe, maskVal)) {173 psTrace ("psphot", 5, "failed to measure kron mags for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);174 } else {175 psTrace ("psphot", 5, "measure kron mags for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My);176 Nkron ++;177 source->mode |= PM_SOURCE_MODE_EXTENDED_STATS;178 }179 }180 # endif181 182 161 // re-subtract the object, leave local sky 183 162 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); … … 201 180 } 202 181 182 // fprintf (stderr, "xsrc : tried %ld objects\n", sources->n); 183 203 184 return true; 204 185 }
Note:
See TracChangeset
for help on using the changeset viewer.
