IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21489


Ignore:
Timestamp:
Feb 15, 2009, 9:54:53 AM (17 years ago)
Author:
eugene
Message:

MODE_SUBTRACTED to internal only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20090208/psModules/src/objects/pmSourcePhotometry.c

    r21449 r21489  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.49.2.1 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2009-02-12 04:43:17 $
     5 *  @version $Revision: 1.49.2.2 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2009-02-15 19:54:53 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    164164    // XXX full model or just analytical?
    165165    // XXX use pmSourceAdd instead?
    166     if (source->mode & PM_SOURCE_MODE_SUBTRACTED) {
     166    if (source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED) {
    167167        pmModelAdd (source->pixels, source->maskObj, model, PM_MODEL_OP_FULL, maskVal);
    168168    }
     
    215215    // if source was originally subtracted, re-subtract object, leave local sky
    216216    // XXX replace with pmSourceSub...
    217     if (source->mode & PM_SOURCE_MODE_SUBTRACTED) {
     217    if (source->tmpFlags & PM_SOURCE_TMPF_SUBTRACTED) {
    218218        pmModelSub (source->pixels, source->maskObj, model, PM_MODEL_OP_FULL, maskVal);
    219219    }
Note: See TracChangeset for help on using the changeset viewer.