IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2008, 12:24:10 PM (18 years ago)
Author:
Paul Price
Message:

Don't put statistics on an FPA: too troublesome to get to, and it's ok to just carry around a psMetadata in ppImageLoop, passing it to functions that need it. Updated times for output statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImage.h

    r18724 r19928  
    1717
    1818#define RECIPE_NAME "PPIMAGE"           // Name of the recipe to use
    19 #define TIMERNAME "ppImage"             // Name of timer
     19#define TIMER_TOTAL   "PPIMAGE.TOTAL"   // Name of timer for total time
     20#define TIMER_DETREND "PPIMAGE.DETREND" // Name of timer for detrend time
     21#define TIMER_PHOT    "PPIMAGE.PHOT"    // Name of timer for photometry time
    2022
    2123// Options for ppImage processing
     
    151153bool ppImageDefineFile (pmConfig *config, pmFPA *input, char *filerule, char *argname, pmFPAfileType fileType, pmDetrendType detrendType);
    152154
    153 // calculate stats, including MD5
    154 bool ppImageStats (pmConfig *config, pmChip *chip, const pmFPAview *inputView, const ppImageOptions *options);
    155 
    156155// write stats to output file
    157 bool ppImageStatsOutput (pmConfig *config, const ppImageOptions *options);
     156bool ppImageStatsOutput(pmConfig *config, // Configuration
     157                        psMetadata *stats, // Statistics output
     158                        const ppImageOptions *options // Options
     159    );
    158160
    159161
     
    197199
    198200// calculate stats, including MD5
    199 bool ppImagePixelStats (pmConfig *config, const ppImageOptions *options, const pmFPAview *inputView);
     201bool ppImagePixelStats(pmConfig *config,// Configuration
     202                       psMetadata *stats, // Statistics output
     203                       const ppImageOptions *options, // Options
     204                       const pmFPAview *inputView // View to data
     205    );
    200206
    201207// calculate stats from headers and concepts
    202 bool ppImageMetadataStats (pmConfig *config, const ppImageOptions *options);
    203 
    204 void ppImageFileCheck (pmConfig *config);
     208bool ppImageMetadataStats(pmConfig *config, // Configuration
     209                          psMetadata *stats, // Statistics output
     210                          const ppImageOptions *options // Options
     211    );
     212
     213void ppImageFileCheck(pmConfig *config);
    205214
    206215/// Dump memory summary to text file
Note: See TracChangeset for help on using the changeset viewer.