- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psModules
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psModules merged eligible /branches/eam_branches/stackphot.20100406/psModules 27623-27653 /branches/pap_delete/psModules 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simtest_nebulous_branches/psModules/src/objects/pmModel.h
r21516 r27840 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 even bad data 51 PM_MODEL_LIMITS_MODERATE, ///< Moderate limits: cope with mildly bad data 52 PM_MODEL_LIMITS_STRICT, ///< Strict limits: insist on good quality data 53 } pmModelLimitsType; 54 46 55 typedef struct pmModel pmModel; 47 56 typedef struct pmSource pmSource; … … 74 83 // This function returns the success / failure status of the given model fit 75 84 typedef bool (*pmModelFitStatusFunc)(pmModel *model); 85 86 // This function sets the parameter limits for the given model 87 typedef bool (*pmModelSetLimitsFunc)(pmModelLimitsType type); 76 88 77 89 /** pmModel data structure … … 96 108 int nIter; ///< number of iterations to reach min 97 109 pmModelStatus flags; ///< model status flags 98 float radiusFit; ///< fit radius actually used110 float fitRadius; ///< fit radius actually used 99 111 pmResiduals *residuals; ///< normalized PSF residuals 100 112 … … 108 120 pmModelParamsFromPSF modelParamsFromPSF; 109 121 pmModelFitStatusFunc modelFitStatus; 122 pmModelSetLimitsFunc modelSetLimits; 110 123 }; 111 124 … … 151 164 pmModel *model, ///< The input pmModel 152 165 pmModelOpMode mode, ///< mode to control how the model is added into the image 153 psImageMaskType maskVal ///< Value to mask166 psImageMaskType maskVal ///< Value to mask 154 167 ); 155 168 … … 169 182 pmModel *model, ///< The input pmModel 170 183 pmModelOpMode mode, ///< mode to control how the model is added into the image 171 psImageMaskType maskVal ///< Value to mask184 psImageMaskType maskVal ///< Value to mask 172 185 ); 173 186 … … 202 215 ); 203 216 217 218 /// Set the model parameter limits for the given model 219 /// 220 /// Wraps the model-specific pmModelSetLimitsFunc function. 221 bool pmModelSetLimits( 222 const pmModel *model, ///< Model of interest 223 pmModelLimits type ///< Type of limits 224 ); 225 226 204 227 /// @} 205 228 # endif /* PM_MODEL_H */
Note:
See TracChangeset
for help on using the changeset viewer.
