IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 18, 2006, 9:01:19 PM (20 years ago)
Author:
eugene
Message:

mods to fix mask issues, negative-radius errors, simpsons formula for integral

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotGrowthCurve.c

    r6753 r6900  
    4545        radius = psf->growth->radius->data.F32[i];
    4646
    47         psImageKeepCircle (mask, xc, yc, radius, "OR", PM_SOURCE_MASK_MARKED);
     47        psImageKeepCircle (mask, xc, yc, radius, "OR", PM_MASK_MARK);
    4848
    4949        pmModelAdd (image, mask, model, false, false);
     
    5151        pmSourcePhotometryAper (&apMag, model, image, mask);
    5252
    53         psImageKeepCircle (mask, xc, yc, radius, "AND", ~PM_SOURCE_MASK_MARKED);
     53        psImageKeepCircle (mask, xc, yc, radius, "AND", NOT_U8(PM_MASK_MARK));
    5454        psf->growth->apMag->data.F32[i] = apMag;
    5555    }
Note: See TracChangeset for help on using the changeset viewer.