Changeset 15697 for trunk/psModules/src/objects/pmPSF.c
- Timestamp:
- Nov 26, 2007, 5:14:57 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSF.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSF.c
r15562 r15697 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-11- 10 01:09:20$8 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-11-27 03:14:57 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 114 114 Object Normalization 115 115 *****************************************************************************/ 116 pmPSF *pmPSFAlloc ( pmPSFOptions *options)116 pmPSF *pmPSFAlloc (const pmPSFOptions *options) 117 117 { 118 118 PS_ASSERT_PTR_NON_NULL(options, NULL); … … 164 164 } 165 165 psf->params = psArrayAlloc(Nparams); 166 166 167 167 // save the trend stats on the psf for use in pmPSFFromPSFtry 168 168 psf->psfTrendStats = psMemIncrRefCounter (options->stats); … … 185 185 // elements are only used by the image map representation 186 186 if (options->psfTrendMode == PM_TREND_MAP) { 187 psImageBinningSetScale (binning, PS_IMAGE_BINNING_CENTER);188 psImageBinningSetSkipByOffset (binning, options->psfFieldXo, options->psfFieldYo);187 psImageBinningSetScale (binning, PS_IMAGE_BINNING_CENTER); 188 psImageBinningSetSkipByOffset (binning, options->psfFieldXo, options->psfFieldYo); 189 189 } 190 190 … … 386 386 387 387 for (int i = PM_PAR_SXY + 1; i < psf->params->n; i++) { 388 trend = psf->params->data[i];388 trend = psf->params->data[i]; 389 389 trend->poly->coeff[0][0] = (psF32)va_arg(ap, psF64); 390 390 } … … 461 461 if (!pmSourcePhotometryAper (&apMag, model, image, mask, maskVal)) { 462 462 psError(PM_ERR_PHOTOM, false, "Measuring apMag for radius == %g", radius); 463 psErrorStackPrint (stderr, "failure to get growth curve");464 psErrorClear();463 psErrorStackPrint (stderr, "failure to get growth curve"); 464 psErrorClear(); 465 465 completeGrowthCurve = false; 466 466 break;
Note:
See TracChangeset
for help on using the changeset viewer.
