IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2007, 10:34:04 AM (19 years ago)
Author:
magnier
Message:

use pmTrend2DEval for ApTrend

File:
1 edited

Legend:

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

    r14652 r14784  
    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.29.2.1 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-09-07 20:34:04 $
    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.