- Timestamp:
- Oct 14, 2013, 7:43:34 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotGalaxyShape.c
r36210 r36216 155 155 } 156 156 psFree (cellGroups); 157 psFree (fitOptions); 157 158 158 159 psLogMsg ("psphot.galaxy", PS_LOG_WARN, "measure galaxy shapes : %f sec for %ld objects\n", psTimerMark ("psphot.galaxy"), sources->n); … … 253 254 } 254 255 } 255 256 psFree (pcm); 256 257 return true; 257 258 } … … 303 304 float Io = YM / MM; 304 305 float dIo = sqrt (1.0 / MM); 305 float Chisq = YY - 2 * Io * YM + Io * Io * MM;306 float Chisq = (YY - 2 * Io * YM + Io * Io * MM) / (float) nPix; 306 307 307 308 // fprintf (stderr, "Io: %f, Chisq: %f\n", Io, Chisq);
Note:
See TracChangeset
for help on using the changeset viewer.
