Changeset 30771
- Timestamp:
- Mar 1, 2011, 12:44:35 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/psphot/src
- Files:
-
- 2 edited
-
psphotMergeSources.c (modified) (1 diff)
-
psphotReplaceUnfit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/src/psphotMergeSources.c
r30770 r30771 613 613 614 614 // allocate image, weight, mask for the new image for each peak 615 pmSourceRedefinePixels (sourceOut, readoutOut, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius); 615 if (sourceOut->modelPSF) { 616 pmSourceRedefinePixels (sourceOut, readoutOut, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius); 617 } 616 618 617 619 // child sources have not been subtracted in this image, but this flag may be raised if -
branches/eam_branches/ipp-20110213/psphot/src/psphotReplaceUnfit.c
r30624 r30771 155 155 // sources have not yet been subtracted in this image (but this flag may be raised) 156 156 source->tmpFlags &= ~PM_SOURCE_TMPF_SUBTRACTED; 157 if (!source->modelPSF) continue; 157 158 158 159 float Xo = source->modelPSF->params->data.F32[PM_PAR_XPOS]; … … 231 232 bool isPSF = false; 232 233 pmModel *model = pmSourceGetModel(&isPSF, source); 234 if (!model) continue; 235 233 236 float radius = model->fitRadius; // save for future use below 234 237
Note:
See TracChangeset
for help on using the changeset viewer.
