Changeset 3877 for trunk/psModules/src/pmObjects.h
- Timestamp:
- May 10, 2005, 1:48:19 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmObjects.h (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmObjects.h
r3699 r3877 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 4-14 02:42:41$7 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-05-10 23:48:19 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 24 24 25 25 typedef enum { 26 PM_PEAK_LONE = 0x00000001, ///< Isolated peak.27 PM_PEAK_EDGE = 0x00000002, ///< Peak on edge.28 PM_PEAK_FLAT = 0x00000004, ///< Peak has equal-value neighbors.29 PM_PEAK_UNDEF = 0x00000008///< Undefined.26 PM_PEAK_LONE, ///< Isolated peak. 27 PM_PEAK_EDGE, ///< Peak on edge. 28 PM_PEAK_FLAT, ///< Peak has equal-value neighbors. 29 PM_PEAK_UNDEF ///< Undefined. 30 30 } psPeakType; 31 31 … … 54 54 55 55 typedef enum { 56 PS_MODEL_GAUSS, ///< Regular 2-D Gaussian56 PS_MODEL_GAUSS, ///< Regular 2-D Gaussian 57 57 PS_MODEL_PGAUSS, ///< Psuedo 2-D Gaussian 58 58 PS_MODEL_TWIST_GAUSS, ///< 2-D Twisted Gaussian … … 67 67 { 68 68 psModelType type; ///< Model to be used. 69 psS32 Nparams; ///< Number of parameters. 70 psF32 *params; ///< Paramater values. 71 psF32 *dparams; ///< Parameter errors. 69 psVector *params; ///< Paramater values. 70 psVector *dparams; ///< Parameter errors. 72 71 psF32 chisq; ///< Fit chi-squared. 72 psS32 nDOF; ///< number of degrees of freedom 73 psS32 nIter; ///< number of iterations to reach min 73 74 } 74 75 psModel; … … 121 122 value) of all peaks. 122 123 *****************************************************************************/ 123 ps List*pmFindImagePeaks(const psImage *image, ///< The input image where peaks will be found (psF32)124 psF32 threshold ///< Threshold above which to find a peak125 );124 psArray *pmFindImagePeaks(const psImage *image, ///< The input image where peaks will be found (psF32) 125 psF32 threshold ///< Threshold above which to find a peak 126 ); 126 127 127 128 /****************************************************************************** … … 209 210 /****************************************************************************** 210 211 XXX: Why only *x argument? 211 *****************************************************************************/ 212 psF32 pmMinLM_Gauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 212 XXX EAM: psMinimizeLMChi2Func returns psF64, not psF32 213 *****************************************************************************/ 214 psF64 pmMinLM_Gauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 213 215 psVector *params, ///< A psVector which holds the parameters of this function 214 216 psVector *x ///< A psVector which holds the row/col coordinate … … 218 220 XXX: Why only *x argument? 219 221 *****************************************************************************/ 220 psF 32pmMinLM_PsuedoGauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives222 psF64 pmMinLM_PsuedoGauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 221 223 psVector *params, ///< A psVector which holds the parameters of this function 222 224 psVector *x ///< A psVector which holds the row/col coordinate … … 225 227 /****************************************************************************** 226 228 *****************************************************************************/ 227 psF 32pmMinLM_Wauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives229 psF64 pmMinLM_Wauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 228 230 psVector *params, ///< A psVector which holds the parameters of this function 229 231 psVector *x ///< A psVector which holds the row/col coordinate … … 232 234 /****************************************************************************** 233 235 *****************************************************************************/ 234 psF 32pmMinLM_TwistGauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives236 psF64 pmMinLM_TwistGauss2D(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 235 237 psVector *params, ///< A psVector which holds the parameters of this function 236 238 psVector *x ///< A psVector which holds the row/col coordinate … … 239 241 /****************************************************************************** 240 242 *****************************************************************************/ 241 psF 32pmMinLM_Sersic(psVector *deriv, ///< A possibly-NULL structure for the output derivatives243 psF64 pmMinLM_Sersic(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 242 244 psVector *params, ///< A psVector which holds the parameters of this function 243 245 psVector *x ///< A psVector which holds the row/col coordinate … … 246 248 /****************************************************************************** 247 249 *****************************************************************************/ 248 psF 32pmMinLM_SersicCore(psVector *deriv, ///< A possibly-NULL structure for the output derivatives250 psF64 pmMinLM_SersicCore(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 249 251 psVector *params, ///< A psVector which holds the parameters of this function 250 252 psVector *x ///< A psVector which holds the row/col coordinate … … 253 255 /****************************************************************************** 254 256 *****************************************************************************/ 255 psF 32pmMinLM_PsuedoSersic(psVector *deriv, ///< A possibly-NULL structure for the output derivatives257 psF64 pmMinLM_PsuedoSersic(psVector *deriv, ///< A possibly-NULL structure for the output derivatives 256 258 psVector *params, ///< A psVector which holds the parameters of this function 257 259 psVector *x ///< A psVector which holds the row/col coordinate
Note:
See TracChangeset
for help on using the changeset viewer.
