- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ppStack/src (modified) (1 prop)
-
ppStack/src/ppStack.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ppStack/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppStackVersionDefinitions.h 12 ppStackErrorCodes.c 13 ppStackErrorCodes.h
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/ppStack/src/ppStack.h
r23573 r27840 9 9 10 10 #include "ppStackOptions.h" 11 #include "ppStackErrorCodes.h" 11 12 12 13 // Mask values for inputs 13 14 typedef enum { 15 PPSTACK_MASK_NONE = 0x00, // Nothing wrong 14 16 PPSTACK_MASK_CAL = 0x01, // Photometric calibration failed 15 PPSTACK_MASK_MATCH = 0x02, // PSF-matching failed 16 PPSTACK_MASK_CHI2 = 0x04, // Chi^2 too deviant 17 PPSTACK_MASK_REJECT = 0x08, // Rejection failed 18 PPSTACK_MASK_BAD = 0x10, // Bad image (too many pixels rejected) 17 PPSTACK_MASK_PSF = 0x02, // PSF measurement failed 18 PPSTACK_MASK_MATCH = 0x04, // PSF-matching failed 19 PPSTACK_MASK_CHI2 = 0x08, // Chi^2 too deviant 20 PPSTACK_MASK_REJECT = 0x10, // Rejection failed 21 PPSTACK_MASK_BAD = 0x20, // Bad image (too many pixels rejected) 19 22 PPSTACK_MASK_ALL = 0xff // All errors 20 23 } ppStackMask; … … 24 27 PPSTACK_FILES_PREPARE, // Files for preparation 25 28 PPSTACK_FILES_CONVOLVE, // Files for convolution 26 PPSTACK_FILES_COMBINE, // Files for combination 29 PPSTACK_FILES_STACK, // Stack files 30 PPSTACK_FILES_UNCONV, // Unconvolved stack files 27 31 PPSTACK_FILES_PHOT // Files for photometry 28 32 } ppStackFileList; … … 59 63 // Perform stacking on a readout 60 64 // 61 // Returns an array of pixels to inspect for each input image65 // Returns two arrays: pixels to inspect for each input image, and pixels to reject for each input image. 62 66 psArray *ppStackReadoutInitial(const pmConfig *config, // Configuration 63 67 pmReadout *outRO, // Output readout … … 65 69 const psVector *mask, // Mask for input readouts 66 70 const psVector *weightings, // Weighting factors for each image 71 const psVector *exposures, // Exposure time for each image 67 72 const psVector *addVariance // Additional variance for rejection 68 73 ); … … 79 84 bool ppStackReadoutFinal(const pmConfig *config, // Configuration 80 85 pmReadout *outRO, // Output readout 86 pmReadout *expRO, // Exposure readout 81 87 const psArray *readouts, // Input readouts 82 88 const psVector *mask, // Mask for input readouts 83 89 const psArray *rejected, // Array with pixels rejected in each image 84 90 const psVector *weightings, // Weighting factors for each image 85 const psVector *addVariance // Additional variance for rejection 91 const psVector *exposures, // Exposure times for each image 92 const psVector *addVariance, // Additional variance for rejection 93 bool safety, // Enable safety switch? 94 const psVector *norm // Normalisations to apply 86 95 ); 87 96 … … 164 173 ); 165 174 175 /// Return an appropriate exit code based on the error code 176 psExit ppStackExitCode(psExit exitValue); 166 177 167 178 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
