Changeset 19881 for trunk/psphot/src/psphotExtendedSourceFits.c
- Timestamp:
- Oct 3, 2008, 11:00:18 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotExtendedSourceFits.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotExtendedSourceFits.c
r19237 r19881 163 163 modelFit = psphotPSFConvModel (readout, source, modelType, maskVal, markVal, psfSize); 164 164 if (!modelFit) { 165 psTrace ("psphot", 5, "failed to fit psf-conv model for object at %f, %f", source->moments-> x, source->moments->y);165 psTrace ("psphot", 5, "failed to fit psf-conv model for object at %f, %f", source->moments->Mx, source->moments->My); 166 166 continue; 167 167 } 168 psTrace ("psphot", 4, "fit psf-conv model for %f, %f : %s chisq = %f\n", source->moments-> x, source->moments->y, pmModelClassGetName (modelFit->type), modelFit->chisq);168 psTrace ("psphot", 4, "fit psf-conv model for %f, %f : %s chisq = %f\n", source->moments->Mx, source->moments->My, pmModelClassGetName (modelFit->type), modelFit->chisq); 169 169 Nconvolve ++; 170 170 if (!(modelFit->flags & (PM_MODEL_STATUS_BADARGS | PM_MODEL_STATUS_NONCONVERGE | PM_MODEL_STATUS_OFFIMAGE))) { … … 176 176 modelFit = psphotFitEXT (readout, source, modelType, maskVal, markVal); 177 177 if (!modelFit) { 178 psTrace ("psphot", 5, "failed to fit plain model for object at %f, %f", source->moments-> x, source->moments->y);178 psTrace ("psphot", 5, "failed to fit plain model for object at %f, %f", source->moments->Mx, source->moments->My); 179 179 continue; 180 180 } 181 181 pmSourceCacheModel (source, maskVal); 182 psTrace ("psphot", 4, "fit plain model for %f, %f : %s chisq = %f\n", source->moments-> x, source->moments->y, pmModelClassGetName (modelFit->type), modelFit->chisq);182 psTrace ("psphot", 4, "fit plain model for %f, %f : %s chisq = %f\n", source->moments->Mx, source->moments->My, pmModelClassGetName (modelFit->type), modelFit->chisq); 183 183 Nplain ++; 184 184 if (!(modelFit->flags & (PM_MODEL_STATUS_BADARGS | PM_MODEL_STATUS_NONCONVERGE | PM_MODEL_STATUS_OFFIMAGE))) { … … 217 217 if (minModel == -1) { 218 218 // re-subtract the object, leave local sky 219 psTrace ("psphot", 5, "failed to fit extended source model to object at %f, %f", source->moments-> x, source->moments->y);219 psTrace ("psphot", 5, "failed to fit extended source model to object at %f, %f", source->moments->Mx, source->moments->My); 220 220 221 221 // replace original model, subtract it … … 257 257 psFree (modelFluxes); 258 258 259 psTrace ("psphot", 4, "best ext model for %f, %f : %s chisq = %f\n", source->moments-> x, source->moments->y, pmModelClassGetName (source->modelEXT->type), source->modelEXT->chisq);260 psTrace ("psphot", 5, "extended source model for source at %7.1f, %7.1f", source->moments-> x, source->moments->y);259 psTrace ("psphot", 4, "best ext model for %f, %f : %s chisq = %f\n", source->moments->Mx, source->moments->My, pmModelClassGetName (source->modelEXT->type), source->modelEXT->chisq); 260 psTrace ("psphot", 5, "extended source model for source at %7.1f, %7.1f", source->moments->Mx, source->moments->My); 261 261 262 262 if (savePics) {
Note:
See TracChangeset
for help on using the changeset viewer.
