- Timestamp:
- Mar 1, 2011, 6:21:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/src/psphotMagnitudes.c
r29936 r30772 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.
