Changeset 23688 for trunk/ppSub/src/ppSub.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap (added) merged: 23511,23520-23521,23532,23578-23581,23596-23599,23603-23604,23606-23608,23619-23621,23638-23639,23641,23646-23648,23651-23653,23656,23672-23674,23677-23684
- Property svn:mergeinfo changed
-
trunk/ppSub
- Property svn:mergeinfo changed
/branches/pap/ppSub (added) merged: 23580,23597,23599,23672-23674,23684
- Property svn:mergeinfo changed
-
trunk/ppSub/src/ppSub.h
r23195 r23688 22 22 #define PPSUB_RECIPE "PPSUB" /// Name of the recipe to use 23 23 24 // Output files, for activation/deactivation 25 typedef enum { 26 PPSUB_FILES_IMAGE = 0x01, // Image files 27 PPSUB_FILES_PHOT = 0x02, // Photometry files 28 PPSUB_FILES_ALL = 0xFF, // All files 29 } ppSubFiles; 30 31 /// Data for processing 32 typedef struct { 33 psErrorCode quality; /// Quality code; 0 for no problem 34 psMetadata *stats; /// Statistics 35 } ppSubData; 36 37 /// Constructor 38 ppSubData *ppSubDataAlloc(void); 39 24 40 /// Setup the arguments parsing 25 41 bool ppSubArgumentsSetup(int argc, char *argv[], ///< Command-line arguments … … 41 57 /// Perform PSF-matched image subtraction on the readout 42 58 bool ppSubReadout(pmConfig *config, ///< Configuration 43 p sMetadata *stats, ///< Statistics, for output59 ppSubData *data, ///< Processing data 44 60 const pmFPAview *view ///< View of readout to subtract 45 61 ); … … 53 69 /// looking up the parameters in the recipe and supplying them to the function pmSubtractionMatch() 54 70 bool ppSubMatchPSFs(pmConfig *config, ///< Configuration 71 ppSubData *data, ///< Processing data 55 72 const pmFPAview *view ///< View of active readout 56 73 ); … … 63 80 /// Photometry stage 1: measure the PSF from the minuend image 64 81 bool ppSubMakePSF(pmConfig *config, ///< Configuration 82 ppSubData *data, ///< Processing data 65 83 const pmFPAview *view ///< View of active readout 66 84 ); … … 74 92 /// Photometry stage 2: find and measure sources on the subtracted image 75 93 bool ppSubReadoutPhotometry(pmConfig *config, ///< Configuration 76 p sMetadata *stats, ///< Statistics, for output94 ppSubData *data, ///< Processing data 77 95 const pmFPAview *view ///< View of active readout 78 96 ); … … 80 98 /// Renormalize, update headers and generate JPEGs 81 99 bool ppSubReadoutUpdate(pmConfig *config, ///< Configuration 82 p sMetadata *stats, ///< Statistics for output, or NULL100 ppSubData *data, ///< Processing data 83 101 const pmFPAview *view ///< View of active readout 84 102 ); … … 96 114 void ppSubVersionPrint(void); 97 115 116 /// Mark the data quality as bad and prepare to suspend processing 117 void ppSubDataQuality(pmConfig *config, ///< Configuration 118 ppSubData *data, ///< Processing data 119 psErrorCode error,///< Error code 120 ppSubFiles files ///< Files to deactivate 121 ); 98 122 99 123 // Copy every instance of a single keyword from one metadata to another
Note:
See TracChangeset
for help on using the changeset viewer.
