| 5 | | {{{ |
| 6 | | typedef enum { |
| 7 | | PM_SOURCE_MODE_DEFAULT = 0x0000, ///< |
| 8 | | PM_SOURCE_MODE_PSFMODEL = 0x0001, ///< Source fitted with a psf model (linear or non-linear) |
| 9 | | PM_SOURCE_MODE_EXTMODEL = 0x0002, ///< Source fitted with an extended-source model |
| 10 | | PM_SOURCE_MODE_FITTED = 0x0004, ///< Source fitted with non-linear model (PSF or EXT; good or bad) |
| 11 | | PM_SOURCE_MODE_FAIL = 0x0008, ///< Fit (non-linear) failed (non-converge, off-edge, run to zero) |
| 12 | | PM_SOURCE_MODE_POOR = 0x0010, ///< Fit succeeds, but low-SN, high-Chisq, or large (for PSF -- drop?) |
| 13 | | PM_SOURCE_MODE_PAIR = 0x0020, ///< Source fitted with a double psf |
| 14 | | PM_SOURCE_MODE_PSFSTAR = 0x0040, ///< Source used to define PSF model |
| 15 | | PM_SOURCE_MODE_SATSTAR = 0x0080, ///< Source model peak is above saturation |
| 16 | | PM_SOURCE_MODE_BLEND = 0x0100, ///< Source is a blend with other sourcers |
| 17 | | PM_SOURCE_MODE_EXTERNAL = 0x0200, ///< Source based on supplied input position |
| 18 | | PM_SOURCE_MODE_BADPSF = 0x0400, ///< Failed to get good estimate of object's PSF |
| 19 | | PM_SOURCE_MODE_DEFECT = 0x0800, ///< Source is thought to be a defect |
| 20 | | PM_SOURCE_MODE_SATURATED = 0x1000, ///< Source is thought to be saturated pixels (bleed trail) |
| 21 | | PM_SOURCE_MODE_CR_LIMIT = 0x2000, ///< Source has crNsigma above limit |
| 22 | | PM_SOURCE_MODE_EXT_LIMIT = 0x4000, ///< Source has extNsigma above limit |
| 23 | | PM_SOURCE_MODE_SUBTRACTED = 0x8000, ///< XXX this flag is actually only used internally (move) |
| 24 | | } pmSourceMode; |
| 25 | | }}} |
| | 5 | source:trunk/psModules/src/objects/pmSourceMasks.h |