IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2008, 12:49:43 PM (18 years ago)
Author:
Paul Price
Message:

Add output of convolution kernel when TESTING.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r19172 r19196  
    192192    }
    193193
     194#ifdef TESTING
     195        {
     196            static int num = 0;         // Image counter
     197            psString filename = NULL;   // Output filename
     198            psStringAppend(&filename, "stack_kernel_%d.fits", num++);
     199            psFits *fits = psFitsOpen(filename, "w"); // FITS file for subtraction kernel
     200            psFree(filename);
     201            pmReadoutWriteSubtractionKernels(output, fits);
     202            psFitsClose(fits);
     203        }
     204#endif
     205
    194206    // Extract the regions and solutions used in the image matching
    195207    // This stops them from being freed when we iterate back up the FPA
Note: See TracChangeset for help on using the changeset viewer.