- Timestamp:
- Oct 2, 2009, 5:10:19 PM (17 years ago)
- Location:
- branches/eam_branches/20090820
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/objects/pmModel.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090820
- Property svn:mergeinfo changed
-
branches/eam_branches/20090820/psModules/src/objects/pmModel.h
r21516 r25766 44 44 } pmModelOpMode; 45 45 46 /// Parameter limit types 47 typedef enum { 48 PM_MODEL_LIMITS_NONE, ///< Apply no limits: suitable for debugging 49 PM_MODEL_LIMITS_IGNORE, ///< Ignore all limits: fit can go to town 50 PM_MODEL_LIMITS_LAX, ///< Lax limits: attempting to reproduce mildly bad data 51 PM_MODEL_LIMITS_STRICT, ///< Strict limits: good quality data 52 } pmModelLimitsType; 53 46 54 typedef struct pmModel pmModel; 47 55 typedef struct pmSource pmSource; … … 74 82 // This function returns the success / failure status of the given model fit 75 83 typedef bool (*pmModelFitStatusFunc)(pmModel *model); 84 85 // This function sets the parameter limits for the given model 86 typedef bool (*pmModelSetLimitsFunc)(pmModelLimitsType type); 76 87 77 88 /** pmModel data structure … … 96 107 int nIter; ///< number of iterations to reach min 97 108 pmModelStatus flags; ///< model status flags 98 float radiusFit; ///< fit radius actually used109 float fitRadius; ///< fit radius actually used 99 110 pmResiduals *residuals; ///< normalized PSF residuals 100 111 … … 108 119 pmModelParamsFromPSF modelParamsFromPSF; 109 120 pmModelFitStatusFunc modelFitStatus; 121 pmModelSetLimitsFunc modelSetLimits; 110 122 }; 111 123 … … 151 163 pmModel *model, ///< The input pmModel 152 164 pmModelOpMode mode, ///< mode to control how the model is added into the image 153 psImageMaskType maskVal ///< Value to mask165 psImageMaskType maskVal ///< Value to mask 154 166 ); 155 167 … … 169 181 pmModel *model, ///< The input pmModel 170 182 pmModelOpMode mode, ///< mode to control how the model is added into the image 171 psImageMaskType maskVal ///< Value to mask183 psImageMaskType maskVal ///< Value to mask 172 184 ); 173 185 … … 202 214 ); 203 215 216 217 /// Set the model parameter limits for the given model 218 /// 219 /// Wraps the model-specific pmModelSetLimitsFunc function. 220 bool pmModelSetLimits( 221 const pmModel *model, ///< Model of interest 222 pmModelLimits type ///< Type of limits 223 ); 224 225 204 226 /// @} 205 227 # endif /* PM_MODEL_H */
Note:
See TracChangeset
for help on using the changeset viewer.
