Changeset 28338 for branches/czw_branch/20100519/psModules
- Timestamp:
- Jun 15, 2010, 1:12:26 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/imcombine/pmPSFEnvelope.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
/trunk merged: 28308-28311,28313,28317,28319-28332,28335-28337
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/psModules/src/imcombine/pmPSFEnvelope.c
r27331 r28338 33 33 34 34 35 // #define TESTING // Enable test output35 //#define TESTING // Enable test output 36 36 // #define PEAK_NORM // Normalise peaks? 37 37 #define PEAK_FLUX 1.0e4 // Peak flux for each source … … 235 235 236 236 // Get the radius 237 pmModel *model = pmModelFromPSFforXY(psf, x, y, PEAK_FLUX); // Model for source237 pmModel *model = pmModelFromPSFforXY(psf, source->peak->xf, source->peak->yf, PEAK_FLUX); // Model for source 238 238 if (!model || (model->flags & MODEL_MASK)) { 239 239 continue; … … 321 321 numFakes = fakes->n; 322 322 323 if (numFakes == 0 .0) {323 if (numFakes == 0) { 324 324 psError(PS_ERR_UNKNOWN, false, "No fake sources are suitable for PSF fitting."); 325 325 psFree(fakes);
Note:
See TracChangeset
for help on using the changeset viewer.
