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

    r12922 r13035  
    6767        PAR[PM_PAR_SXY] = newshape.sxy;
    6868
    69         if (add) {
    70             pmModelAdd (source->weight, source->mask, model, false, false);
    71         } else {
    72             pmModelSub (source->weight, source->mask, model, false, false);
    73         }
     69        // XXX if we use pmSourceOp, the size (and possibly Io) will not be respected
     70        pmSourceOp (source, PM_MODEL_OP_FULL, add);
    7471       
    7572        // restore original values
Note: See TracChangeset for help on using the changeset viewer.