Changeset 14652 for trunk/psModules/src/objects/pmSourcePhotometry.c
- Timestamp:
- Aug 23, 2007, 2:11:02 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourcePhotometry.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourcePhotometry.c
r13898 r14652 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.2 8$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 6-20 02:22:26$5 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-08-24 00:11:02 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 26 #include "pmGrowthCurve.h" 27 27 #include "pmResiduals.h" 28 #include "pmPSF.h" 28 29 #include "pmModel.h" 29 #include "pmPSF.h"30 30 #include "pmSource.h" 31 #include "pmModel Group.h"31 #include "pmModelClass.h" 32 32 #include "pmSourcePhotometry.h" 33 33 … … 250 250 251 251 // measure fitMag 252 pmModelFlux modelFluxFunc = pmModelFlux_GetFunction (model->type); 253 fitSum = modelFluxFunc (model->params); 252 fitSum = model->modelFlux (model->params); 254 253 if (fitSum <= 0) 255 254 return false; … … 324 323 325 324 // the model function returns the source flux at a position 326 pmModelFunc modelFunc = pmModelFunc_GetFunction (model->type);327 325 psVector *coord = psVectorAlloc(2, PS_TYPE_F32); 328 326 … … 354 352 355 353 // for the full model, add all points 356 value = model Func (NULL, params, coord) - sky;354 value = model->modelFunc (NULL, params, coord) - sky; 357 355 modelSum += value; 358 356
Note:
See TracChangeset
for help on using the changeset viewer.
