Changeset 8882 for trunk/psModules/src/objects/pmPSFtry.c
- Timestamp:
- Sep 22, 2006, 2:29:31 AM (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
r8815 r8882 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-09- 15 09:49:01$7 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-09-22 12:24:38 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 191 191 psTrace ("psphot.psftry", 3, "keeping %d of %ld PSF candidates (PSF)\n", Npsf, sources->n); 192 192 193 // measure the chi-square trend as a function of flux (PAR[ 1])193 // measure the chi-square trend as a function of flux (PAR[PM_PAR_FLUX]) 194 194 // this should be linear for Poisson errors and quadratic for constant sky errors 195 195 psVector *flux = psVectorAlloc (psfTry->sources->n, PS_TYPE_F64); … … 206 206 mask->data.U8[i] = 1; 207 207 } else { 208 flux->data.F64[i] = model->params->data.F32[ 1];208 flux->data.F64[i] = model->params->data.F32[PM_PAR_FLUX]; 209 209 chisq->data.F64[i] = model[0].chisq/model[0].nDOF; 210 210 mask->data.U8[i] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
