IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2007, 11:41:37 AM (19 years ago)
Author:
eugene
Message:

changed API for pmModelAdd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psphot/src/psphotEnsemblePSF.c

    r12792 r12952  
    9393        psImageInit (fitSource->pixels, 0.0);
    9494        psImageKeepCircle (fitSource->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
    95         pmModelAdd (fitSource->pixels, fitSource->mask, model, false, false);
     95        pmModelAdd (fitSource->pixels, fitSource->mask, model, PM_MODEL_ADD_FULL);
    9696
    9797        // save source in list
     
    218218
    219219        // subtract object
    220         pmModelSub (Ri->pixels, Ri->mask, model, false, false);
     220        pmModelSub (Ri->pixels, Ri->mask, model, PM_MODEL_ADD_FULL);
    221221        Ri->mode |= PM_SOURCE_MODE_SUBTRACTED;
    222222        if (!final) Ri->mode |= PM_SOURCE_MODE_TEMPSUB;
Note: See TracChangeset for help on using the changeset viewer.