Changeset 5958 for branches/eam_rel9_p0/psModules/src/objects/pmPSF.c
- Timestamp:
- Jan 9, 2006, 6:46:03 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/objects/pmPSF.c
r5765 r5958 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $9 * @date $Date: 200 5-12-12 21:14:38$8 * @version $Revision: 1.3.4.1 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-01-10 04:46:03 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 69 69 X-center 70 70 Y-center 71 ???: Sky background value?72 ???: Zo?71 Sky background value 72 Object Normalization 73 73 *****************************************************************************/ 74 74 pmPSF *pmPSFAlloc (pmModelType type) … … 83 83 psf->dApResid = 0.0; 84 84 psf->skyBias = 0.0; 85 86 // the ApTrend components are (x, y, rflux) 87 psf->ApTrend = psPolynomial3DAlloc (2, 2, 1, PS_POLYNOMIAL_ORD); 88 89 // we do not allow any rflux vs X,Y cross-terms 90 psf->ApTrend->mask[0][1][1] = 1; // rflux x^0 y^1 91 psf->ApTrend->mask[0][2][1] = 1; // rflux x^0 y^2 92 psf->ApTrend->mask[1][0][1] = 1; // rflux x^1 y^0 93 psf->ApTrend->mask[1][1][1] = 1; // rflux x^1 y^1 94 psf->ApTrend->mask[1][2][1] = 1; // rflux x^1 y^2 95 psf->ApTrend->mask[2][0][1] = 1; // rflux x^2 y^0 96 psf->ApTrend->mask[2][1][1] = 1; // rflux x^2 y^1 97 psf->ApTrend->mask[2][2][1] = 1; // rflux x^2 y^2 98 99 // only 2nd order terms, no such combinations 100 psf->ApTrend->mask[2][2][0] = 1; // x^2 y^2 101 psf->ApTrend->mask[2][1][0] = 1; // x^2 y^1 102 psf->ApTrend->mask[1][2][0] = 1; // x^1 y^2 103 104 // total free parameters = 18 - 11 = 7 85 105 86 106 Nparams = pmModelParameterCount (type);
Note:
See TracChangeset
for help on using the changeset viewer.
