IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2006, 9:38:44 AM (20 years ago)
Author:
magnier
Message:

changed name of radiusTMP to radiusFit in pmModel

File:
1 edited

Legend:

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

    r9730 r9810  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-10-24 22:55:05 $
     5 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-10-31 19:38:44 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    122122
    123123    // set aperture mask circle to model radius
    124     psImageKeepCircle (source->mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
     124    psImageKeepCircle (source->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
    125125
    126126    // measure the weight of included pixels
     
    135135    if (status && isPSF && psf) {
    136136        if (psf->growth && (mode & PM_SOURCE_PHOT_GROWTH)) {
    137             source->apMag += pmGrowthCurveCorrect (psf->growth, model->radiusTMP);
     137            source->apMag += pmGrowthCurveCorrect (psf->growth, model->radiusFit);
    138138        }
    139139        if (mode & PM_SOURCE_PHOT_APCORR) {
    140140            rflux   = pow (10.0, 0.4*source->psfMag);
    141             source->apMag  -= PS_SQR(model->radiusTMP)*rflux * psf->skyBias + psf->skySat / rflux;
     141            source->apMag  -= PS_SQR(model->radiusFit)*rflux * psf->skyBias + psf->skySat / rflux;
    142142        }
    143143    }
    144144
    145145    // unmask aperture
    146     psImageKeepCircle (source->mask, x, y, model->radiusTMP, "AND", PS_NOT_U8(PM_MASK_MARK));
     146    psImageKeepCircle (source->mask, x, y, model->radiusFit, "AND", PS_NOT_U8(PM_MASK_MARK));
    147147
    148148    // subtract object, leave local sky
Note: See TracChangeset for help on using the changeset viewer.