Changeset 25738 for trunk/psModules/src/objects/pmModel.h
- Timestamp:
- Oct 1, 2009, 4:03:58 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/objects/pmModel.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 25508,25521,25548,25553,25556,25559-25561,25563-25565,25568-25569,25695,25697,25715,25717-25718
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmModel.h
r21516 r25738 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 … … 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.
