IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2008, 6:12:42 PM (18 years ago)
Author:
Paul Price
Message:

Correcting stack variances for the imperfect convolution. Changed (again) the way the deviations are calculated; they're now straight chi2, which allows us to estimate how the variance factor needs to be changed in order to correct for it. Moving additional values into pmSubtractionKernels so that this can be calculated from a kernel that has been read in (very useful for debugging, also nice to have a record of the quality of the fit).

File:
1 edited

Legend:

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

    r19346 r19532  
    8989                               const psArray *readouts, // Input readouts
    9090                               const psArray *regions, // Array with array of regions used in each PSF match
    91                                const psArray *kernels // Array with array of kernels used in each PSF match
     91                               const psArray *kernels, // Array with array of kernels used in each PSF match
     92                               const psVector *addVariance // Additional variance for rejection
    9293    );
    9394
     
    128129
    129130/// Convolve image to match specified seeing
    130 bool ppStackMatch(pmReadout *readout, // Readout to be convolved; replaced with output
    131                   psArray **regions, // Array of regions used in each PSF matching, returned
    132                   psArray **kernels, // Array of kernels used in each PSF matching, returned
     131bool ppStackMatch(pmReadout *readout,   // Readout to be convolved; replaced with output
     132                  psArray **regions,    // Array of regions used in each PSF matching, returned
     133                  psArray **kernels,    // Array of kernels used in each PSF matching, returned
     134                  float *chi2,          // Chi^2 from the stamps
    133135                  const psArray *sources, // Array of sources
    134136                  const pmPSF *psf,     // Target PSF
Note: See TracChangeset for help on using the changeset viewer.