Changeset 16799
- Timestamp:
- Mar 4, 2008, 12:23:46 PM (18 years ago)
- Location:
- branches/eam_branch_20080225/psModules/src/objects
- Files:
-
- 2 edited
-
pmSource.c (modified) (3 diffs)
-
pmSource.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080225/psModules/src/objects/pmSource.c
r16759 r16799 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1.49.8. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2008-03-0 1 00:15:29$8 * @version $Revision: 1.49.8.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2008-03-04 22:23:46 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1014 1014 if (!strcasecmp (name, "DEFECT" )) return PM_SOURCE_MODE_DEFECT; 1015 1015 if (!strcasecmp (name, "SATURATED" )) return PM_SOURCE_MODE_SATURATED; 1016 if (!strcasecmp (name, "CRLIMIT" )) return PM_SOURCE_MODE_CRLIMIT; 1016 1017 if (!strcasecmp (name, "SUBTRACTED")) return PM_SOURCE_MODE_SUBTRACTED; 1017 1018 return PM_SOURCE_MODE_DEFAULT; … … 1034 1035 case PM_SOURCE_MODE_DEFECT : return psStringCopy ("DEFECT" ); 1035 1036 case PM_SOURCE_MODE_SATURATED : return psStringCopy ("SATURATED" ); 1037 case PM_SOURCE_MODE_CRLIMIT : return psStringCopy ("CRLIMIT"); 1036 1038 case PM_SOURCE_MODE_SUBTRACTED : return psStringCopy ("SUBTRACTED"); 1037 1039 default: -
branches/eam_branch_20080225/psModules/src/objects/pmSource.h
r16759 r16799 3 3 * @author EAM, IfA; GLG, MHPCC 4 4 * 5 * @version $Revision: 1.22.8. 2$ $Name: not supported by cvs2svn $6 * @date $Date: 2008-03-0 1 00:14:57$5 * @version $Revision: 1.22.8.3 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2008-03-04 22:23:46 $ 7 7 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 8 8 */ … … 36 36 typedef enum { 37 37 PM_SOURCE_MODE_DEFAULT = 0x0000, ///< 38 PM_SOURCE_MODE_PSFMODEL = 0x0001, ///< 39 PM_SOURCE_MODE_EXTMODEL = 0x0002, ///< 40 PM_SOURCE_MODE_FITTED = 0x0004, ///< 41 PM_SOURCE_MODE_FAIL = 0x0008, ///< 42 PM_SOURCE_MODE_POOR = 0x0010, ///< 43 PM_SOURCE_MODE_PAIR = 0x0020, ///< 44 PM_SOURCE_MODE_PSFSTAR = 0x0040, ///< 45 PM_SOURCE_MODE_SATSTAR = 0x0080, ///< 46 PM_SOURCE_MODE_BLEND = 0x0100, ///< 38 PM_SOURCE_MODE_PSFMODEL = 0x0001, ///< Source fitted with a psf model (linear or non-linear) 39 PM_SOURCE_MODE_EXTMODEL = 0x0002, ///< Source fitted with an extended-source model 40 PM_SOURCE_MODE_FITTED = 0x0004, ///< Source fitted with non-linear model (PSF or EXT; good or bad) 41 PM_SOURCE_MODE_FAIL = 0x0008, ///< Fit (non-linear) failed (non-converge, off-edge, run to zero) 42 PM_SOURCE_MODE_POOR = 0x0010, ///< Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?) 43 PM_SOURCE_MODE_PAIR = 0x0020, ///< Source fitted with a double psf 44 PM_SOURCE_MODE_PSFSTAR = 0x0040, ///< Source used to define PSF model 45 PM_SOURCE_MODE_SATSTAR = 0x0080, ///< Source model peak is above saturation 46 PM_SOURCE_MODE_BLEND = 0x0100, ///< Source is a blend with other sourcers 47 47 PM_SOURCE_MODE_EXTERNAL = 0x0200, ///< Source based on supplied input position 48 48 PM_SOURCE_MODE_BADPSF = 0x0400, ///< Failed to get good estimate of object's PSF 49 49 PM_SOURCE_MODE_DEFECT = 0x0800, ///< Source is thought to be a defect 50 50 PM_SOURCE_MODE_SATURATED = 0x1000, ///< Source is thought to be saturation 51 PM_SOURCE_MODE_SUBTRACTED = 0x2000, ///< XXX this flag is actually only used internally (move) 51 PM_SOURCE_MODE_CRLIMIT = 0x2000, ///< Source has crNsigma above limit 52 PM_SOURCE_MODE_SUBTRACTED = 0x4000, ///< XXX this flag is actually only used internally (move) 52 53 } pmSourceMode; 53 54
Note:
See TracChangeset
for help on using the changeset viewer.
