Changeset 36062
- Timestamp:
- Aug 30, 2013, 4:33:41 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130711/psphot/src/psphotExtendedSourceFits.c
r36033 r36062 591 591 592 592 if (model->flags & (PM_MODEL_STATUS_BADARGS)) continue; 593 if (model->flags & (PM_MODEL_STATUS_NONCONVERGE)) continue;593 // if (model->flags & (PM_MODEL_STATUS_NONCONVERGE)) continue; 594 594 if (model->flags & (PM_MODEL_STATUS_OFFIMAGE)) continue; 595 595 … … 610 610 pmSourceCacheModel (source, maskVal); 611 611 612 pmModel *model = source->modelFits->data[0]; 613 int flags = 0xffffffff; 614 if (model) { 615 flags = model->flags; 616 } 617 618 fprintf (stderr, "failed to fit extended source model to object %d @ %f, %f (%x)\n", source->id, source->moments->Mx, source->moments->My, flags); 612 619 pmSourceSub (source, PM_MODEL_OP_FULL, maskVal); 613 620 … … 627 634 // cache the model flux 628 635 if (source->modelEXT->isPCM) { 636 // fprintf (stderr, "subtract PCM extended source model for object %d @ %f, %f\n", source->id, source->moments->Mx, source->moments->My); 629 637 pmPCMCacheModel (source, maskVal, psfSize); 630 638 } else { 639 // fprintf (stderr, "subtract non-PCM extended source model for object %d @ %f, %f\n", source->id, source->moments->Mx, source->moments->My); 631 640 pmSourceCacheModel (source, maskVal); 632 641 }
Note:
See TracChangeset
for help on using the changeset viewer.
