Changeset 9528 for trunk/psModules/src/objects/pmPSFtry.c
- Timestamp:
- Oct 12, 2006, 4:29:14 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
r9316 r9528 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-10- 05 23:40:52$7 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-10-13 02:29:14 $ 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[PM_PAR_ FLUX])193 // measure the chi-square trend as a function of flux (PAR[PM_PAR_I0]) 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[PM_PAR_ FLUX];208 flux->data.F64[i] = model->params->data.F32[PM_PAR_I0]; 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.
