Changeset 4116 for trunk/psphot/src/mark_psf_source.c
- Timestamp:
- Jun 5, 2005, 8:41:28 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/mark_psf_source.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/mark_psf_source.c
r4115 r4116 22 22 if (source->modelPSF == NULL) return (false); 23 23 24 if (source->type == PS_SOURCE_PSFSTAR) return (true);24 // SATSTAR objects are fitted with PSF regardless 25 25 if (source->type == PS_SOURCE_SATSTAR) return (true); 26 26 … … 36 36 // assign PS_SOURCE_BRIGHTSTAR to bright objects within PSF region of dparams[] 37 37 if ((fabs(nSx) < shapeNsigma) && (fabs(nSy) < shapeNsigma)) { 38 if (source->type == PS_SOURCE_PSFSTAR) return (true); 38 39 source->type = PS_SOURCE_BRIGHTSTAR; 39 40 return (true); 40 41 } 41 42 43 if (source->type == PS_SOURCE_PSFSTAR) { 44 psLogMsg ("psphot", 3, "PSFSTAR demoted based on dSx, dSy\n"); 45 } 46 42 47 if ((nSx >= shapeNsigma) || (nSy >= shapeNsigma)) { 43 48 source->type = PS_SOURCE_GALAXY;
Note:
See TracChangeset
for help on using the changeset viewer.
