IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 7:16:10 AM (11 years ago)
Author:
eugene
Message:

replace assert with psAssert in cases where the value is otherwise unused; do not raise an error when looking for classID in detloc which is not found; add galaxy shape error propagation failure flags to pmModelStatus; read EXT_WIDTH_MAJ_ERR et al back into dPAR[SXX,etc] (careful: this only works if not real errors); read SKY_EXT in PAR[SKY]; use header for FWHM_MAJ if not found on readout->analysis

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

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects

  • trunk/psModules/src/objects/pmModelFuncs.h

    r36860 r38038  
    3636
    3737typedef enum {
    38     PM_MODEL_STATUS_NONE           = 0x000, ///< model fit not yet attempted, no other info
    39     PM_MODEL_STATUS_FITTED         = 0x001, ///< model fit completed
    40     PM_MODEL_STATUS_NONCONVERGE    = 0x002, ///< model fit did not converge
    41     PM_MODEL_STATUS_OFFIMAGE       = 0x004, ///< model fit drove out of range
    42     PM_MODEL_STATUS_BADARGS        = 0x008, ///< model fit called with invalid args
    43     PM_MODEL_STATUS_LIMITS         = 0x010, ///< model parameters hit limits
    44     PM_MODEL_STATUS_WEAK_FIT       = 0x020, ///< model fit met loose tolerance, but not tight tolerance
    45     PM_MODEL_STATUS_NAN_CHISQ      = 0x040, ///< model fit failed with a NAN chisq
    46     PM_MODEL_SERSIC_PCM_FAIL_GUESS = 0x080, ///< sersic model fit failed on the initial moments-based guess
    47     PM_MODEL_SERSIC_PCM_FAIL_GRID  = 0x100, ///< sersic model fit failed on the grid search
    48     PM_MODEL_PCM_FAIL_GUESS        = 0x200, ///< non-sersic model fit failed on the initial moments-based guess
    49     PM_MODEL_BEST_FIT              = 0x400, ///< this model was the best fit and was subtracted
     38    PM_MODEL_STATUS_NONE           = 0x0000, ///< model fit not yet attempted, no other info
     39    PM_MODEL_STATUS_FITTED         = 0x0001, ///< model fit completed
     40    PM_MODEL_STATUS_NONCONVERGE    = 0x0002, ///< model fit did not converge
     41    PM_MODEL_STATUS_OFFIMAGE       = 0x0004, ///< model fit drove out of range
     42    PM_MODEL_STATUS_BADARGS        = 0x0008, ///< model fit called with invalid args
     43    PM_MODEL_STATUS_LIMITS         = 0x0010, ///< model parameters hit limits
     44    PM_MODEL_STATUS_WEAK_FIT       = 0x0020, ///< model fit met loose tolerance, but not tight tolerance
     45    PM_MODEL_STATUS_NAN_CHISQ      = 0x0040, ///< model fit failed with a NAN chisq
     46    PM_MODEL_SERSIC_PCM_FAIL_GUESS = 0x0080, ///< sersic model fit failed on the initial moments-based guess
     47    PM_MODEL_SERSIC_PCM_FAIL_GRID  = 0x0100, ///< sersic model fit failed on the grid search
     48    PM_MODEL_PCM_FAIL_GUESS        = 0x0200, ///< non-sersic model fit failed on the initial moments-based guess
     49    PM_MODEL_BEST_FIT              = 0x0400, ///< this model was the best fit and was subtracted
     50    PM_MODEL_STATUS_NAN_SHAPE      = 0x0800, ///< model ellipse parameters do not transform to valid ellipse
     51    PM_MODEL_STATUS_NAN_SHAPE_ERR  = 0x1000, ///< model ellipse parameters errors do not transform to valid ellipse
     52    PM_MODEL_STATUS_FAIL_SHAPE_ERR = 0x2000, ///< could not find an MC solution for ellipse parameter errors
    5053} pmModelStatus;
    5154
Note: See TracChangeset for help on using the changeset viewer.