IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2007, 1:41:51 PM (19 years ago)
Author:
magnier
Message:

replaced pmModel.status with pmModel.flags; using bit values instead of ints; names are now of the form PM_MODEL_STATUS_XXX; no error on limit saturation for model parameters

File:
1 edited

Legend:

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

    r13335 r13803  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-05-10 19:48:35 $
     7 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-06-13 23:41:51 $
    99 *
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2121
    2222typedef enum {
    23     PM_MODEL_UNTRIED,   ///< model fit not yet attempted
    24     PM_MODEL_SUCCESS,   ///< model fit succeeded
    25     PM_MODEL_NONCONVERGE,  ///< model fit did not converge
    26     PM_MODEL_OFFIMAGE,   ///< model fit drove out of range
    27     PM_MODEL_BADARGS   ///< model fit called with invalid args
     23    PM_MODEL_STATUS_NONE         = 0x00, ///< model fit not yet attempted, no other info
     24    PM_MODEL_STATUS_FITTED       = 0x01, ///< model fit completed
     25    PM_MODEL_STATUS_NONCONVERGE  = 0x02, ///< model fit did not converge
     26    PM_MODEL_STATUS_OFFIMAGE     = 0x04, ///< model fit drove out of range
     27    PM_MODEL_STATUS_BADARGS      = 0x08, ///< model fit called with invalid args
     28    PM_MODEL_STATUS_LIMITS       = 0x10  ///< model parameters hit limits
    2829} pmModelStatus;
    2930
     
    5859    int nDOF;                           ///< number of degrees of freedom
    5960    int nIter;                          ///< number of iterations to reach min
    60     pmModelStatus status;               ///< fit status
     61    pmModelStatus flags;                ///< model status flags
    6162    float radiusFit;                    ///< fit radius actually used
    6263    pmResiduals *residuals;             ///< normalized PSF residuals
Note: See TracChangeset for help on using the changeset viewer.