Changeset 3790 for branches/eam-psphot-branch/psModules/src/pmObjects.h
- Timestamp:
- Apr 28, 2005, 11:20:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam-psphot-branch/psModules/src/pmObjects.h
r3676 r3790 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.7.2.1 $ $Name: not supported by cvs2svn $8 * @date $Date: 2005-04- 06 19:34:06$7 * @version $Revision: 1.7.2.1.2.1 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-04-29 09:20:47 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 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.
