IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2007, 3:35:50 PM (19 years ago)
Author:
eugene
Message:

incorporating changes from eam_02_branch (pmSourceAdd/Sub, modified API for pmModelAdd, cached models)

File:
1 edited

Legend:

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

    r13006 r13035  
    9191
    9292        // fill in the model pixel values
     93        // XXX this function should just work with the (normalized) modelFlux pixels
     94        // XXX we should not have to create a complete copy
     95        // XXX review the use of the object mask: can we use a copied mask?
    9396        psImageInit (fitSource->pixels, 0.0);
    9497        psImageKeepCircle (fitSource->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
    95         pmModelAdd (fitSource->pixels, fitSource->mask, model, false, false);
     98        pmModelAdd (fitSource->pixels, fitSource->mask, model, PM_MODEL_OP_FULL);
    9699
    97100        // save source in list
     
    218221
    219222        // subtract object
    220         pmModelSub (Ri->pixels, Ri->mask, model, false, false);
     223        pmModelSub (Ri->pixels, Ri->mask, model, PM_MODEL_OP_FULL);
    221224        Ri->mode |= PM_SOURCE_MODE_SUBTRACTED;
    222225        if (!final) Ri->mode |= PM_SOURCE_MODE_TEMPSUB;
Note: See TracChangeset for help on using the changeset viewer.