Changeset 13898 for trunk/psModules/src/objects/pmModel.h
- Timestamp:
- Jun 19, 2007, 4:22:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmModel.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmModel.h
r13803 r13898 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-06- 13 23:41:51$7 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-06-20 02:22:26 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 31 31 typedef enum { 32 PM_MODEL_OP_NONE = 0x00,33 PM_MODEL_OP_FUNC = 0x01,34 PM_MODEL_OP_RES0 = 0x02,35 PM_MODEL_OP_RES1 = 0x04,32 PM_MODEL_OP_NONE = 0x00, 33 PM_MODEL_OP_FUNC = 0x01, 34 PM_MODEL_OP_RES0 = 0x02, 35 PM_MODEL_OP_RES1 = 0x04, 36 36 PM_MODEL_OP_FULL = 0x07, 37 PM_MODEL_OP_SKY = 0x08,37 PM_MODEL_OP_SKY = 0x08, 38 38 PM_MODEL_OP_CENTER = 0x10, 39 PM_MODEL_OP_NORM = 0x20,40 PM_MODEL_OP_NOISE = 0x40,39 PM_MODEL_OP_NORM = 0x20, 40 PM_MODEL_OP_NOISE = 0x40, 41 41 } pmModelOpMode; 42 42 … … 52 52 typedef struct 53 53 { 54 pmModelType type; ///< Model to be used.55 psVector *params; ///< Paramater values.56 psVector *dparams; ///< Parameter errors.57 float chisq; ///< Fit chi-squared.58 float chisqNorm; ///< re-normalized fit chi-squared.59 int nDOF; ///< number of degrees of freedom60 int nIter; ///< number of iterations to reach min61 pmModelStatus flags; ///< model status flags62 float radiusFit; ///< fit radius actually used63 pmResiduals *residuals; ///< normalized PSF residuals54 pmModelType type; ///< Model to be used. 55 psVector *params; ///< Paramater values. 56 psVector *dparams; ///< Parameter errors. 57 float chisq; ///< Fit chi-squared. 58 float chisqNorm; ///< re-normalized fit chi-squared. 59 int nDOF; ///< number of degrees of freedom 60 int nIter; ///< number of iterations to reach min 61 pmModelStatus flags; ///< model status flags 62 float radiusFit; ///< fit radius actually used 63 pmResiduals *residuals; ///< normalized PSF residuals 64 64 } 65 65 pmModel; … … 105 105 */ 106 106 bool pmModelAdd( 107 psImage *image, ///< The output image (float) 108 psImage *mask, ///< The image pixel mask (valid == 0) 109 pmModel *model, ///< The input pmModel 110 pmModelOpMode mode ///< mode to control how the model is added into the image 107 psImage *image, ///< The output image (float) 108 psImage *mask, ///< The image pixel mask (valid == 0) 109 pmModel *model, ///< The input pmModel 110 pmModelOpMode mode, ///< mode to control how the model is added into the image 111 psMaskType maskVal ///< Value to mask 111 112 ); 112 113 … … 122 123 */ 123 124 bool pmModelSub( 124 psImage *image, ///< The output image (float) 125 psImage *mask, ///< The image pixel mask (valid == 0) 126 pmModel *model, ///< The input pmModel 127 pmModelOpMode mode ///< mode to control how the model is added into the image 125 psImage *image, ///< The output image (float) 126 psImage *mask, ///< The image pixel mask (valid == 0) 127 pmModel *model, ///< The input pmModel 128 pmModelOpMode mode, ///< mode to control how the model is added into the image 129 psMaskType maskVal ///< Value to mask 128 130 ); 129 131
Note:
See TracChangeset
for help on using the changeset viewer.
