IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9810


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

changed name of radiusTMP to radiusFit in pmModel

Location:
trunk/psModules/src/objects
Files:
4 edited

Legend:

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

    r9730 r9810  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-10-24 22:55:05 $
     8 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-10-31 19:38:44 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5555    tmp->nDOF  = 0;
    5656    tmp->nIter = 0;
    57     tmp->radiusTMP = 0;
     57    tmp->radiusFit = 0;
    5858    tmp->status = PM_MODEL_UNTRIED;
    5959
     
    8787    new->nIter  = model->nIter;
    8888    new->status = model->status;
    89     new->radiusTMP = model->radiusTMP;
     89    new->radiusFit = model->radiusFit;
    9090
    9191    for (int i = 0; i < new->params->n; i++) {
  • trunk/psModules/src/objects/pmModel.h

    r9528 r9810  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-10-13 02:29:14 $
     8 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-10-31 19:38:44 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4646    int nIter;    ///< number of iterations to reach min
    4747    pmModelStatus status;  ///< fit status
    48     float radiusTMP;   ///< fit radius actually used
     48    float radiusFit;   ///< fit radius actually used
    4949}
    5050pmModel;
  • trunk/psModules/src/objects/pmSourceIO_RAW.c

    r9653 r9810  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-10-19 21:16:49 $
     5 *  @version $Revision: 1.9 $ $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
     
    105105                 logChi, logChiNorm,
    106106                 source[0].moments->SN,
    107                  model[0].radiusTMP,
     107                 model[0].radiusFit,
    108108                 source[0].pixWeight,
    109109                 model[0].nDOF,
     
    165165                 log10(model[0].chisqNorm/model[0].nDOF),
    166166                 source[0].moments->SN,
    167                  model[0].radiusTMP,
     167                 model[0].radiusFit,
    168168                 source[0].pixWeight,
    169169                 model[0].nDOF,
  • 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.