Changeset 5811
- Timestamp:
- Dec 18, 2005, 4:10:57 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_b0/psModules/src/objects/pmPSFtry.c
r5807 r5811 196 196 stats->clipIter = 3; 197 197 198 // fit ApResid only to rflux, ignore x,y variations for now 198 199 // linear clipped fit of ApResid to rflux 199 200 psPolynomial1D *poly = psPolynomial1DAlloc (1, PS_POLYNOMIAL_ORD); … … 202 203 203 204 psfTry->psf->ApTrend->coeff[0][0][0] = poly->coeff[0]; 204 psfTry->psf->ApTrend->coeff[0][0][1] = poly->coeff[1];205 psfTry->psf->ApTrend->coeff[0][0][1] = 0; 205 206 206 207 psfTry->psf->skyBias = poly->coeff[1] / (M_PI * PS_SQR(RADIUS)); … … 214 215 return true; 215 216 } 217 218 /* 219 (aprMag' - fitMag) = rflux*skyBias + ApTrend(x,y) 220 (aprMag - rflux*skyBias) - fitMag = ApTrend(x,y) 221 (aprMag - rflux*skyBias) = fitMag + ApTrend(x,y) 222 */ 223
Note:
See TracChangeset
for help on using the changeset viewer.
