Changeset 31154 for trunk/psphot/src/psphotMagnitudes.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotMagnitudes.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotMagnitudes.c
r29936 r31154 76 76 maskVal |= markVal; 77 77 78 pmSourceMagnitudesInit ( recipe);78 pmSourceMagnitudesInit (config, recipe); 79 79 80 80 // the binning details are saved on the analysis metadata … … 176 176 psImageKeepCircle (source->maskObj, source->peak->x, source->peak->y, source->apRadius, "OR", markVal); 177 177 178 status = pmSourceMagnitudes (source, psf, photMode, maskVal, markVal );178 status = pmSourceMagnitudes (source, psf, photMode, maskVal, markVal, source->apRadius); 179 179 if (status && isfinite(source->apMag)) Nap ++; 180 180 … … 295 295 psArray *sources = job->args->data[0]; 296 296 psImageMaskType maskVal = PS_SCALAR_VALUE(job->args->data[1],PS_TYPE_IMAGE_MASK_DATA); 297 psImageMaskType markVal = PS_SCALAR_VALUE(job->args->data[2],PS_TYPE_IMAGE_MASK_DATA);298 297 299 298 for (int i = 0; i < sources->n; i++) { … … 309 308 } 310 309 311 status = pmSourcePixelWeight ( &source->pixWeightNotBad, &source->pixWeightNotPoor, model, source->maskObj, maskVal, markVal);310 status = pmSourcePixelWeight (source, model, source->maskObj, maskVal, source->apRadius); 312 311 if (!status) { 313 312 psTrace ("psphot", 3, "fail to measure pixel weight");
Note:
See TracChangeset
for help on using the changeset viewer.
