Changeset 5810
- Timestamp:
- Dec 18, 2005, 4:08:58 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_b0/psModules/src/objects/pmPSF.c
r5803 r5810 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.1.10. 2$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-12-1 7 20:30:43$8 * @version $Revision: 1.1.10.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-12-19 02:08:58 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 70 70 X-center 71 71 Y-center 72 ???: Sky background value?73 ???: Zo?72 Sky background value 73 Object Normalization 74 74 *****************************************************************************/ 75 75 pmPSF *pmPSFAlloc (pmModelType type) … … 84 84 psf->dApResid = 0.0; 85 85 psf->skyBias = 0.0; 86 psf->ApTrend = psPolynomial3DAlloc (1, 1, 1, PS_POLYNOMIAL_ORD); 87 // XXX EAM : need to set the coefficient masks 86 87 // the ApTrend components are (x, y, rflux) 88 psf->ApTrend = psPolynomial3DAlloc (2, 2, 1, PS_POLYNOMIAL_ORD); 89 90 // we do not allow any rflux vs X,Y cross-terms 91 psf->ApTrend->mask[0][1][1] = 1; // rflux x^0 y^1 92 psf->ApTrend->mask[0][2][1] = 1; // rflux x^0 y^2 93 psf->ApTrend->mask[1][0][1] = 1; // rflux x^1 y^0 94 psf->ApTrend->mask[1][1][1] = 1; // rflux x^1 y^1 95 psf->ApTrend->mask[1][2][1] = 1; // rflux x^1 y^2 96 psf->ApTrend->mask[2][0][1] = 1; // rflux x^2 y^0 97 psf->ApTrend->mask[2][1][1] = 1; // rflux x^2 y^1 98 psf->ApTrend->mask[2][2][1] = 1; // rflux x^2 y^2 99 100 // only 2nd order terms, no such combinations 101 psf->ApTrend->mask[2][2][0] = 1; // x^2 y^2 102 psf->ApTrend->mask[2][1][0] = 1; // x^2 y^1 103 psf->ApTrend->mask[1][2][0] = 1; // x^1 y^2 104 105 // total free parameters = 18 - 11 = 7 88 106 89 107 Nparams = pmModelParameterCount (type);
Note:
See TracChangeset
for help on using the changeset viewer.
