IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21318


Ignore:
Timestamp:
Feb 5, 2009, 10:17:25 AM (17 years ago)
Author:
Paul Price
Message:

Truncate covariance matrix to remove excess size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_20090128/ppStack/src/ppStackMatch.c

    r21307 r21318  
    1515                     PM_SOURCE_MODE_CR_LIMIT) // Mask to apply to input sources
    1616#define FAINT_SOURCE_FRAC 1.0e-4         // Set minimum flux to this fraction of faintest source flux
     17#define COVAR_FRAC 0.01                 // Truncation fraction for covariance matrix
    1718
    1819#define TESTING                         // Enable debugging output
     
    456457            readout->mask   = psMemIncrRefCounter(output->mask);
    457458            readout->variance = psMemIncrRefCounter(output->variance);
    458             readout->covariance = psMemIncrRefCounter(output->covariance);
     459            readout->covariance = psImageCovarianceTruncate(output->covariance, COVAR_FRAC);
    459460        } else {
    460461            // Fake the convolution
Note: See TracChangeset for help on using the changeset viewer.