IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12942


Ignore:
Timestamp:
Apr 20, 2007, 2:03:11 PM (19 years ago)
Author:
magnier
Message:

added a residual pointer to pmModel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psModules/src/objects/pmModel.h

    r11253 r12942  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-01-24 02:54:15 $
     7 * @version $Revision: 1.6.6.1 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-04-21 00:03:11 $
    99 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1010 */
     
    3838typedef struct
    3939{
    40     pmModelType type;   ///< Model to be used.
    41     psVector *params;   ///< Paramater values.
    42     psVector *dparams;   ///< Parameter errors.
    43     float chisq;   ///< Fit chi-squared.
    44     float chisqNorm;   ///< re-normalized fit chi-squared.
    45     int nDOF;    ///< number of degrees of freedom
    46     int nIter;    ///< number of iterations to reach min
    47     pmModelStatus status;  ///< fit status
    48     float radiusFit;   ///< fit radius actually used
     40    pmModelType type;                   ///< Model to be used.
     41    psVector *params;                   ///< Paramater values.
     42    psVector *dparams;                  ///< Parameter errors.
     43    float chisq;                        ///< Fit chi-squared.
     44    float chisqNorm;                    ///< re-normalized fit chi-squared.
     45    int nDOF;                           ///< number of degrees of freedom
     46    int nIter;                          ///< number of iterations to reach min
     47    pmModelStatus status;               ///< fit status
     48    float radiusFit;                    ///< fit radius actually used
     49    pmResiduals *residuals;             ///< normalized PSF residuals
    4950}
    5051pmModel;
     52
     53/* XXX we are currently saving the residuals with the pmModel.  It might be better to save this
     54 * in the pmSource.  we may want an API to Add/Sub a pmModel (analytical model only) or a
     55 * pmSource (analytical + residuals).
     56 */
    5157
    5258/** Symbolic names for the elements of [d]params
Note: See TracChangeset for help on using the changeset viewer.