IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2009, 2:51:37 PM (17 years ago)
Author:
Paul Price
Message:

Merging in branches/pap/ from r23685. Some conflicts, most notably in ippTools, but these resolved fairly simply. Only question mark is on regtool reversion, but I think I got it right. Everything builds fine.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ppImage

  • trunk/ppImage/src/ppImageLoop.c

    r23411 r23688  
    1313bool ppImageLoop(pmConfig *config, ppImageOptions *options)
    1414{
    15     psMetadata *stats = options->doStats ? psMetadataAlloc() : NULL; // Statistics to output
     15    psMetadata *stats = NULL;          // Statistics to output
    1616    float timeDetrend = 0;              // Amount of time spent in detrend
    1717    float timePhot = 0;                 // Amount of time spent in photometry
     18
     19    if (options->doStats) {
     20        stats = psMetadataAlloc();
     21        psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", 0, "No problems", 0);
     22    }
    1823
    1924    bool status;                        // Status of MD lookup
     
    139144        psTimerStart(TIMER_PHOT);
    140145        if (options->doPhotom) {
    141             if (!ppImagePhotom(config, view)) {
     146            if (!ppImagePhotom(stats, config, view)) {
    142147                ESCAPE("error running photometry.");
    143148            }
     
    200205    // this also performs the psastro file IO
    201206    if (options->doAstromChip || options->doAstromMosaic) {
    202         if (!ppImageAstrom(config)) {
     207        if (!ppImageAstrom(config, stats)) {
    203208            ESCAPE("error running astrometry.");
    204209        }
Note: See TracChangeset for help on using the changeset viewer.