Changeset 25521 for branches/pap/psModules/src/objects/pmModel.h
- Timestamp:
- Sep 23, 2009, 5:12:22 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/psModules/src/objects/pmModel.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psModules/src/objects/pmModel.h
r21516 r25521 44 44 } pmModelOpMode; 45 45 46 /// Parameter limit types 47 typedef enum { 48 PM_MODEL_LIMITS_NONE, ///< No limits: fit can go to town 49 PM_MODEL_LIMITS_LAX, ///< Lax limits: attempting to reproduce mildly bad data 50 PM_MODEL_LIMITS_STRICT, ///< Strict limits: good quality data 51 } pmModelLimitsType; 52 46 53 typedef struct pmModel pmModel; 47 54 typedef struct pmSource pmSource; … … 74 81 // This function returns the success / failure status of the given model fit 75 82 typedef bool (*pmModelFitStatusFunc)(pmModel *model); 83 84 // This function sets the parameter limits for the given model 85 typedef bool (*pmModelSetLimitsFunc)(pmModelLimits type); 76 86 77 87 /** pmModel data structure … … 108 118 pmModelParamsFromPSF modelParamsFromPSF; 109 119 pmModelFitStatusFunc modelFitStatus; 120 pmModelSetLimitsFunc modelSetLimits; 110 121 }; 111 122 … … 151 162 pmModel *model, ///< The input pmModel 152 163 pmModelOpMode mode, ///< mode to control how the model is added into the image 153 psImageMaskType maskVal ///< Value to mask164 psImageMaskType maskVal ///< Value to mask 154 165 ); 155 166 … … 169 180 pmModel *model, ///< The input pmModel 170 181 pmModelOpMode mode, ///< mode to control how the model is added into the image 171 psImageMaskType maskVal ///< Value to mask182 psImageMaskType maskVal ///< Value to mask 172 183 ); 173 184 … … 202 213 ); 203 214 215 216 /// Set the model parameter limits for the given model 217 /// 218 /// Wraps the model-specific pmModelSetLimitsFunc function. 219 bool pmModelSetLimits( 220 const pmModel *model, ///< Model of interest 221 pmModelLimits type ///< Type of limits 222 ); 223 224 204 225 /// @} 205 226 # endif /* PM_MODEL_H */
Note:
See TracChangeset
for help on using the changeset viewer.
