Changeset 9808
- Timestamp:
- Oct 31, 2006, 9:38:04 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSF.c
r9778 r9808 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2006-10-3 0 03:04:03$8 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-10-31 19:38:04 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 219 219 220 220 // XXX Test output 221 psPolynomial2D *poly = psf->params_NEW->data[i]; 221 # if (0) 222 223 psPolynomial2D *poly = psf->params_NEW->data[i]; 222 224 fprintf (stderr, "stats: %f +/- %f\n", stats->robustMedian, stats->robustStdev); 223 225 fprintf (stderr, "PO: %g %g %g\n", poly->coeff[0][0], poly->coeff[1][0], poly->coeff[0][1]); 224 226 fprintf (stderr, "PO: %g %g %g\n", poly->coeff[0][2], poly->coeff[1][1], poly->coeff[2][0]); 227 fprintf (stderr, "PO: %g %g %g\n", poly->coeff[0][0], poly->coeff[1][0], poly->coeff[0][1]); 228 fprintf (stderr, "PO: %g %g %g\n", poly->coeff[0][2], poly->coeff[1][1], poly->coeff[2][0]); 229 # endif 230 225 231 } 226 232 … … 298 304 // these are the values of the model->params. the psf->params term for sxy is actually fitted 299 305 // to sxy/(sxx^-2 + syy^-2)^2 306 307 // XXX this is only an approximate solution. A better solution would be to fit the second moment, Mxy. the 308 // problem here is that converting from Mxy,SXX,SYY -> SXY is a third order problem: 309 // Mxy = SXY * (SXX^-4 + SYY^-4 - 2 SXY ^2) 300 310 301 311 // input: model->param, output: psf->param[PM_PAR_SXY]
Note:
See TracChangeset
for help on using the changeset viewer.
