Changeset 21524 for trunk/ppSub/src/ppSub.h
- Timestamp:
- Feb 17, 2009, 2:31:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSub.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSub.h
r21360 r21524 6 6 * 7 7 * @author IfA 8 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02- 06 01:37:17$8 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-18 00:31:20 $ 10 10 * Copyright 2009 Institute for Astronomy, University of Hawaii 11 11 */ … … 14 14 #define PP_SUB_H 15 15 16 #ifdef HAVE_CONFIG_H17 #include <config.h>18 #endif19 20 #include <stdio.h>21 #include <string.h>22 16 #include <pslib.h> 23 17 #include <psmodules.h> 24 #include <psphot.h>25 #include <ppStats.h>26 18 27 19 /// @addtogroup ppSub … … 32 24 /// Setup the arguments parsing 33 25 bool ppSubArgumentsSetup(int argc, char *argv[], ///< Command-line arguments 34 pmConfig *config ///< Configuration26 pmConfig *config ///< Configuration 35 27 ); 36 28 … … 53 45 ); 54 46 55 /// generate (if needed) and set or update the masks for input and reference images56 bool ppSubSetMasks (pmConfig *config,///< Configuration57 const pmFPAview *view ///< View of active readout47 /// Generate (if needed) and set or update the masks for input and reference images 48 bool ppSubSetMasks(pmConfig *config, ///< Configuration 49 const pmFPAview *view ///< View of active readout 58 50 ); 59 51 60 /// Generate the PSF-matching kernel and convolve the images as needed. Most of this function 61 /// involves looking up the parameters in the recipe and supplying them to the function 62 /// pmSubtractionMatch() 63 bool ppSubMatchPSFs (pmConfig *config, ///< Configuration 64 const pmFPAview *view ///< View of active readout 52 /// Generate the PSF-matching kernel and convolve the images as needed. Most of this function involves 53 /// looking up the parameters in the recipe and supplying them to the function pmSubtractionMatch() 54 bool ppSubMatchPSFs(pmConfig *config, ///< Configuration 55 const pmFPAview *view ///< View of active readout 65 56 ); 66 57 67 /// generate the output readout and pass the kernel info to the header68 bool ppSubDefineOutput(pmConfig *config, ///< Configuration69 const pmFPAview *view ///< View of active readout58 /// Generate the output readout and pass the kernel info to the header 59 bool ppSubDefineOutput(pmConfig *config, ///< Configuration 60 const pmFPAview *view ///< View of active readout 70 61 ); 71 62 72 /// Calculate the variance factor for the output image based on the input images 73 bool ppSubVarianceFactors(pmConfig *config, ///< Configuration 74 psMetadata *stats, ///< Statistics, for output 75 const pmFPAview *view ///< View of active readout 76 ); 77 78 /// Photometry stage 1: measure the PSF from the minuend image 79 bool ppSubMakePSF(pmConfig *config, ///< Configuration 80 const pmFPAview *view ///< View of active readout 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 81 66 ); 82 67 83 68 /// Perform the actual image subtraction, update output concepts 84 bool ppSubReadoutSubtract(pmConfig *config, ///< Configuration85 const pmFPAview *view ///< View of active readout69 bool ppSubReadoutSubtract(pmConfig *config, ///< Configuration 70 const pmFPAview *view ///< View of active readout 86 71 ); 87 72 88 73 89 74 /// Photometry stage 2: find and measure sources on the subtracted image 90 bool ppSubReadoutPhotometry(pmConfig *config, ///< Configuration91 psMetadata *stats, ///< Statistics, for output92 const pmFPAview *view ///< View of active readout75 bool ppSubReadoutPhotometry(pmConfig *config, ///< Configuration 76 psMetadata *stats, ///< Statistics, for output 77 const pmFPAview *view ///< View of active readout 93 78 ); 94 79 95 80 /// Renormalize, update headers and generate JPEGs 96 bool ppSubReadoutUpdate(pmConfig *config, ///< Configuration 97 const pmFPAview *view ///< View of active readout 81 bool ppSubReadoutUpdate(pmConfig *config, ///< Configuration 82 psMetadata *stats, ///< Statistics for output, or NULL 83 const pmFPAview *view ///< View of active readout 98 84 ); 99 85 … … 107 93 ); 108 94 109 /// Generate and Set the masks if needed110 bool ppSubSetMasks (111 pmConfig *config, ///< Configuration112 const pmFPAview *view ///< view to readout113 );114 115 /// Renormalize readout for peak pixels116 bool ppSubReadoutRenormPixels (117 pmConfig *config, ///< Configuration118 psMetadata *recipe, ///< Recipe119 pmReadout *readout ///< Readout120 );121 122 /// Renormalize readout for photometry analysis123 bool ppSubReadoutRenormPhot (124 pmConfig *config, ///< Configuration125 psMetadata *recipe, ///< Recipe126 pmReadout *readout ///< Readout127 );128 95 129 96 // Copy every instance of a single keyword from one metadata to another
Note:
See TracChangeset
for help on using the changeset viewer.
