IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25379


Ignore:
Timestamp:
Sep 14, 2009, 5:15:48 PM (17 years ago)
Author:
Paul Price
Message:

No, the sense was correct, but I hadn't included possible covariance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.c

    r25377 r25379  
    421421    psFree(signoise);
    422422
    423     float correction = 1.0 / stats->robustStdev; // Correction factor
     423    float covar = sqrtf(psImageCovarianceFactor(readout->covariance)); // Covariance factor
     424    float correction = stats->robustStdev / covar; // Correction factor
    424425    psFree(stats);
    425426    psLogMsg("psModules.camera", PS_LOG_DETAIL, "Variance renormalisation factor is %f", correction);
     
    440441                       PS_SQR(correction), correction);
    441442        psMetadataAddStr(hdu->header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, NULL, history);
     443        psFree(history);
    442444    }
    443445
Note: See TracChangeset for help on using the changeset viewer.