IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2010, 12:18:27 PM (16 years ago)
Author:
eugene
Message:

add pixWeightNotPoor, change pixWeight to pixWeightNotBad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourcePhotometry.c

    r28904 r28909  
    209209    // if the aper mag is NAN, the flux < 0.  this can happen for sources near the
    210210    // detection limits (esp near bright neighbors)
     211    source->apMag = source->apMagRaw;
    211212    if (isfinite (source->apMag) && isPSF && psf) {
    212213        if (psf->growth && (mode & PM_SOURCE_PHOT_GROWTH)) {
     
    311312bool pmSourcePixelWeight (float *pixWeightNotBad, float *pixWeightNotPoor, pmModel *model, psImage *mask, psImageMaskType maskVal, psImageMaskType markVal)
    312313{
    313     PS_ASSERT_PTR_NON_NULL(pixWeight, false);
     314    PS_ASSERT_PTR_NON_NULL(pixWeightNotBad, false);
     315    PS_ASSERT_PTR_NON_NULL(pixWeightNotPoor, false);
    314316    PS_ASSERT_PTR_NON_NULL(mask, false);
    315317    PS_ASSERT_PTR_NON_NULL(model, false);
Note: See TracChangeset for help on using the changeset viewer.