IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 20, 2007, 2:09:18 PM (19 years ago)
Author:
eugene
Message:

adding pmTrend2D

File:
1 edited

Legend:

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

    r14652 r14938  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-08-24 00:11:02 $
     5 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-09-21 00:09:05 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626#include "pmGrowthCurve.h"
    2727#include "pmResiduals.h"
     28#include "pmTrend2D.h"
    2829#include "pmPSF.h"
    2930#include "pmModel.h"
     
    9495
    9596    // measure object model photometry
     97    // XXX use the pmPSF.FluxScale to get this value
    9698    status = pmSourcePhotometryModel (&source->psfMag, source->modelPSF);
    9799    status = pmSourcePhotometryModel (&source->extMag, source->modelEXT);
     
    99101    if ((mode & PM_SOURCE_PHOT_APCORR) && isPSF && psf) {
    100102        // convert to the equivalent 2D model?
    101         source->psfMag += psPolynomial4DEval (psf->ApTrend, x, y, 0.0, 0.0);
     103        source->psfMag += pmTrend2DEval (psf->ApTrend, x, y);
    102104    }
    103105
Note: See TracChangeset for help on using the changeset viewer.