IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2005, 5:33:01 PM (21 years ago)
Author:
eugene
Message:

psphot reorganization: merged in pmObjects code from psModule, modified to work with psLib 0.7.0

File:
1 edited

Legend:

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

    r4949 r4954  
    3131    }
    3232
    33     p_psMemSetDeallocator(psf, (psFreeFcn) pmPSFFree);
     33    psMemSetDeallocator(psf, (psFreeFunc) pmPSFFree);
    3434    return(psf);
    3535}
     
    7474    }   
    7575
    76     p_psMemSetDeallocator(test, (psFreeFcn) pmPSF_TestFree);
     76    psMemSetDeallocator(test, (psFreeFunc) pmPSF_TestFree);
    7777    return (test);
    7878}
     
    106106        // set temporary object mask and fit object
    107107        // fit model as FLT, not PSF
    108         psImageKeepCircle (source->mask, x, y, RADIUS, OR, 0x80);
     108        psImageKeepCircle (source->mask, x, y, RADIUS, "OR", PSPHOT_MASK_MARKED);
    109109        status = pmSourceFitModel (source, model, false);
    110         psImageKeepCircle (source->mask, x, y, RADIUS, AND, 0x7f);
     110        psImageKeepCircle (source->mask, x, y, RADIUS, "AND", ~PSPHOT_MASK_MARKED);
    111111
    112112        // exclude the poor fits
     
    142142        y = source->peak->y;
    143143
    144         psImageKeepCircle (source->mask, x, y, RADIUS, OR, 0x80);
     144        psImageKeepCircle (source->mask, x, y, RADIUS, "OR", PSPHOT_MASK_MARKED);
    145145        status = pmSourceFitModel (source, modelPSF, true);
    146146
     
    168168
    169169    next_source:
    170         psImageKeepCircle (source->mask, x, y, RADIUS, AND, 0x7f);
     170        psImageKeepCircle (source->mask, x, y, RADIUS, "AND", ~PSPHOT_MASK_MARKED);
    171171
    172172    }
Note: See TracChangeset for help on using the changeset viewer.