IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 22, 2007, 5:39:10 PM (19 years ago)
Author:
eugene
Message:

changed PM_MODEL_ADD_.. to PM_MODEL_OP_..; added pmSourceAdd/Sub; adding modelFlux and maskView/maskObj to pmSource

File:
1 edited

Legend:

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

    r12952 r12957  
    6363        PAR[PM_PAR_SXY] = newshape.sxy;
    6464
    65         if (add) {
    66             pmModelAdd (source->weight, source->mask, model, PM_MODEL_ADD_FULL);
    67         } else {
    68             pmModelSub (source->weight, source->mask, model, PM_MODEL_ADD_FULL);
    69         }
     65        // XXX if we use pmSourceOp, the size (and possibly Io) will not be respected
     66        pmSourceOp (source, PM_MODEL_OP_FULL, add);
    7067       
    7168        // restore original values
Note: See TracChangeset for help on using the changeset viewer.