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/psphotWeightBias.c

    r6862 r6900  
    6060
    6161        // fit PSF model (set/unset the pixel mask)
    62         psImageKeepCircle (source->mask, x, y, PSF->radiusTMP, "OR", PM_SOURCE_MASK_MARKED);
     62        psImageKeepCircle (source->mask, x, y, PSF->radiusTMP, "OR", PM_MASK_MARK);
    6363        pmSourceFitModel (source, PSF, PM_SOURCE_FIT_NORM);
    64         psImageKeepCircle (source->mask, x, y, PSF->radiusTMP, "AND", ~PM_SOURCE_MASK_MARKED);
     64        psImageKeepCircle (source->mask, x, y, PSF->radiusTMP, "AND", NOT_U8(PM_MASK_MARK));
    6565   
    6666        // re-subtract PSF for object, leave local sky
Note: See TracChangeset for help on using the changeset viewer.