Changeset 10011
- Timestamp:
- Nov 15, 2006, 3:45:50 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSFtry.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSFtry.c
r9886 r10011 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-11- 07 09:14:00 $7 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-11-16 01:45:50 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 382 382 // select the per-object fitted data for this parameter 383 383 for (int j = 0; j < psfTry->sources->n; j++) { 384 pmSource *source = psfTry->sources->data[ i];384 pmSource *source = psfTry->sources->data[j]; 385 385 if (source->modelEXT == NULL) 386 386 continue; … … 394 394 } 395 395 } 396 psf->params_NEW->data[i] = psVectorClipFitPolynomial2D(psf->params_NEW->data[i], stats, psfTry->mask, 0xff, z, dz, x, y); 396 // XXX does psfTry->mask need to be init to 0 and set to 1 above? 397 if (!psVectorClipFitPolynomial2D(psf->params_NEW->data[i], stats, psfTry->mask, 0xff, z, dz, x, y)) { 398 psError(PS_ERR_UNKNOWN, false, "failed to build psf model for parameter %d", i); 399 return false; 400 } 397 401 // psTrace ("psphot.psftest", 3, "keeping %d of %d PSF candidates (PSF param %d)\n", Nkeep, psfTry->mask->n, i); 398 402 }
Note:
See TracChangeset
for help on using the changeset viewer.
