Changeset 20146
- Timestamp:
- Oct 14, 2008, 10:59:31 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceSize.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceSize.c
r20144 r20146 123 123 // factor of 4); also biases a bit low if any pixels are masked 124 124 // XXX I am not sure I want to keep this value... 125 source->psfChisq = PS_SQR(nX) + PS_SQR(nY) + PS_SQR(n X) + PS_SQR(nR);125 source->psfChisq = PS_SQR(nX) + PS_SQR(nY) + PS_SQR(nL) + PS_SQR(nR); 126 126 127 127 float fCR = 0.0; … … 265 265 for (int x = -radius; x <= radius; x++) { 266 266 // Polynomial coefficients 267 // XXX Should we be using the centre of the pixel as x or x+0.5? 267 268 float A = PS_SQR (1.0 / syy); 268 269 float B = x * sxy;
Note:
See TracChangeset
for help on using the changeset viewer.
