IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2006, 10:37:35 AM (20 years ago)
Author:
magnier
Message:

merged PM_SOURCE_MASK with PM_MASK_xxx, merged pmFPAMaskWeight with pmMaskBadPixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourcePhotometry.c

    r6872 r6910  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-04-17 18:01:05 $
     5 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-04-19 20:37:35 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1616#include "pmHDU.h"
    1717#include "pmFPA.h"
     18#include "pmMaskBadPixels.h"
    1819#include "pmPeaks.h"
    1920#include "pmMoments.h"
     
    117118
    118119    // set aperture mask circle to model radius
    119     psImageKeepCircle (source->mask, x, y, model->radiusTMP, "OR", PM_SOURCE_MASK_MARKED);
     120    psImageKeepCircle (source->mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
    120121
    121122    // measure the weight of included pixels
     
    139140
    140141    // unmask aperture
    141     psImageKeepCircle (source->mask, x, y, model->radiusTMP, "AND", ~PM_SOURCE_MASK_MARKED);
     142    psImageKeepCircle (source->mask, x, y, model->radiusTMP, "AND", NOT_U8(PM_MASK_MARK));
    142143
    143144    // subtract object, leave local sky
Note: See TracChangeset for help on using the changeset viewer.