Changeset 5720
- Timestamp:
- Dec 7, 2005, 8:51:59 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel8_b2/psModules/src/objects/pmObjects.h
r5606 r5720 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.2.6.1 $ $Name: not supported by cvs2svn $13 * @date $Date: 2005-1 1-26 02:48:42$12 * @version $Revision: 1.2.6.1.2.1 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-12-07 18:51:59 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 125 125 // #define PS_MODEL_SGAUSS 3 126 126 127 typedef enum { 128 PM_MODEL_UNTRIED, ///< model fit not yet attempted 129 PM_MODEL_SUCCESS, ///< model fit succeeded 130 PM_MODEL_NONCONVERGE, ///< model fit did not converge 131 PM_MODEL_OFFIMAGE, ///< model fit drove out of range 132 PM_MODEL_BADARGS ///< model fit called with invalid args 133 } pmModelStatus; 127 134 128 135 /** pmModel data structure … … 139 146 pmModelType type; ///< Model to be used. 140 147 psVector *params; ///< Paramater values. 141 psVector *dparams; ///< Parameter errors. 142 float chisq; ///< Fit chi-squared. 143 int nDOF; ///< number of degrees of freedom 144 int nIter; ///< number of iterations to reach min 145 float radius; ///< fit radius actually used 148 psVector *dparams; ///< Parameter errors. 149 float chisq; ///< Fit chi-squared. 150 int nDOF; ///< number of degrees of freedom 151 int nIter; ///< number of iterations to reach min 152 int status; ///< fit status ( 153 float radius; ///< fit radius actually used 146 154 } 147 155 pmModel; … … 365 373 ); 366 374 375 bool pmMomentsWriteText (psArray *sources, char *filename); 367 376 368 377 /** pmSourcePSFClump() … … 508 517 bool pmSourceAddModel( 509 518 psImage *image, ///< The output image (float) 510 psImage *mask, ///< The image pixel mask (valid == 0)519 psImage *mask, ///< The image pixel mask (valid == 0) 511 520 pmModel *model, ///< The input pmModel 512 bool center ///< A boolean flag that determines whether pixels are centered 521 bool center, ///< A boolean flag that determines whether pixels are centered 522 bool sky ///< A boolean flag that determines if the sky is subtracted as well 513 523 ); 514 524 … … 526 536 bool pmSourceSubModel( 527 537 psImage *image, ///< The output image (float) 528 psImage *mask, ///< The image pixel mask (valid == 0)538 psImage *mask, ///< The image pixel mask (valid == 0) 529 539 pmModel *model, ///< The input pmModel 530 bool center ///< A boolean flag that determines whether pixels are centered 540 bool center, ///< A boolean flag that determines whether pixels are centered 541 bool sky ///< A boolean flag that determines if the sky is subtracted as well 531 542 ); 532 543
Note:
See TracChangeset
for help on using the changeset viewer.
