Changeset 4949 for trunk/psphot/src/pmSourceUtils.c
- Timestamp:
- Sep 5, 2005, 8:44:00 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/pmSourceUtils.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/pmSourceUtils.c
r4946 r4949 1 1 # include "psphot.h" 2 2 3 bool pmSourceDefinePixels(p sSource *mySource,3 bool pmSourceDefinePixels(pmSource *mySource, 4 4 const psImageData *imdata, 5 5 psF32 x, … … 26 26 } 27 27 28 bool pmSourcePhotometry (float *fitMag, float *obsMag, p sModel *model, psImage *image, psImage *mask) {28 bool pmSourcePhotometry (float *fitMag, float *obsMag, pmModel *model, psImage *image, psImage *mask) { 29 29 30 30 float obsSum = 0; … … 32 32 float sky = model->params->data.F32[0]; 33 33 34 p sModelFlux modelFluxFunc = psModelFlux_GetFunction (model->type);34 pmModelFlux modelFluxFunc = pmModelFlux_GetFunction (model->type); 35 35 fitSum = modelFluxFunc (model->params); 36 36 … … 39 39 if (mask->data.U8[iy][ix]) continue; 40 40 obsSum += image->data.F32[iy][ix] - sky; 41 // fitSum += psModelEval (model, image, ix, iy) - sky;42 41 } 43 42 }
Note:
See TracChangeset
for help on using the changeset viewer.
