Changeset 21257 for trunk/ppSub/src/ppSub.h
- Timestamp:
- Feb 1, 2009, 11:55:34 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSub.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSub.h
r20611 r21257 1 1 #ifndef PP_SUB_H 2 2 #define PP_SUB_H 3 4 #ifdef HAVE_CONFIG_H 5 #include <config.h> 6 #endif 7 8 #include <stdio.h> 9 #include <string.h> 10 #include <pslib.h> 11 #include <psmodules.h> 12 #include <psphot.h> 13 #include <ppStats.h> 3 14 4 15 #define PPSUB_RECIPE "PPSUB" /// Name of the recipe to use … … 6 17 /// Setup the arguments parsing 7 18 bool ppSubArgumentsSetup(int argc, char *argv[], ///< Command-line arguments 8 pmConfig *config ///< Configuration19 pmConfig *config ///< Configuration 9 20 ); 10 21 … … 27 38 ); 28 39 40 /// generate (if needed) and set or update the masks for input and reference images 41 bool ppSubSetMasks (pmConfig *config, ///< Configuration 42 const pmFPAview *view ///< View of active readout 43 ); 44 45 /// Generate the PSF-matching kernel and convolve the images as needed. Most of this function 46 /// involves looking up the parameters in the recipe and supplying them to the function 47 /// pmSubtractionMatch() 48 bool ppSubMatchPSFs (pmConfig *config, ///< Configuration 49 const pmFPAview *view ///< View of active readout 50 ); 51 52 /// generate the output readout and pass the kernel info to the header 53 bool ppSubDefineOutput(pmConfig *config, ///< Configuration 54 const pmFPAview *view ///< View of active readout 55 ); 56 57 /// Calculate the variance factor for the output image based on the input images 58 bool ppSubVarianceFactors(pmConfig *config, ///< Configuration 59 psMetadata *stats, ///< Statistics, for output 60 const pmFPAview *view ///< View of active readout 61 ); 62 63 /// Photometry stage 1: measure the PSF from the minuend image 64 bool ppSubMakePSF(pmConfig *config, ///< Configuration 65 const pmFPAview *view ///< View of active readout 66 ); 67 68 /// Perform the actual image subtraction, update output concepts 69 bool ppSubReadoutSubtract(pmConfig *config, ///< Configuration 70 const pmFPAview *view ///< View of active readout 71 ); 72 73 74 /// Photometry stage 2: find and measure sources on the subtracted image 75 bool ppSubReadoutPhotometry(pmConfig *config, ///< Configuration 76 psMetadata *stats, ///< Statistics, for output 77 const pmFPAview *view ///< View of active readout 78 ); 79 80 /// Renormalize, update headers and generate JPEGs 81 bool ppSubReadoutUpdate(pmConfig *config, ///< Configuration 82 const pmFPAview *view ///< View of active readout 83 ); 84 29 85 /// Higher-order background subtraction 30 bool ppSubBackground(pmReadout *ro, ///< Readout of interest 31 pmConfig *config, ///< Configuration 86 bool ppSubBackground(pmConfig *config, ///< Configuration 32 87 const pmFPAview *view ///< View to readout 33 88 ); … … 37 92 ); 38 93 94 /// Generate and Set the masks if needed 95 bool ppSubSetMasks ( 96 pmConfig *config, ///< Configuration 97 const pmFPAview *view ///< view to readout 98 ); 99 100 /// Renormalize readout for peak pixels 101 bool ppSubReadoutRenormPixels ( 102 pmConfig *config, ///< Configuration 103 psMetadata *recipe, ///< Recipe 104 pmReadout *readout ///< Readout 105 ); 106 107 /// Renormalize readout for photometry analysis 108 bool ppSubReadoutRenormPhot ( 109 pmConfig *config, ///< Configuration 110 psMetadata *recipe, ///< Recipe 111 pmReadout *readout ///< Readout 112 ); 113 114 // Copy every instance of a single keyword from one metadata to another 115 bool psMetadataCopySingle(psMetadata *target, psMetadata *source, const char *name); 39 116 40 117 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
