IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25047


Ignore:
Timestamp:
Aug 10, 2009, 5:08:13 PM (17 years ago)
Author:
Paul Price
Message:

Removing varfactor --- replaced by covariance matrix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpLoop.c

    r25042 r25047  
    315315
    316316
    317     // Set variance factor
    318     {
    319         bool mdok;                      // Status of MD lookup
    320         float varFactor = psMetadataLookupF32(&mdok, output->analysis, PSWARP_ANALYSIS_VARFACTOR);
    321         long goodPix = psMetadataLookupS64(&mdok, output->analysis, PSWARP_ANALYSIS_GOODPIX);
    322         varFactor /= goodPix;
    323 
    324         psMetadataItem *vfItem = psMetadataLookup(outCell->concepts, "CELL.VARFACTOR"); ///< Item to update
    325         psAssert(vfItem && vfItem->type == PS_TYPE_F32, "Concept should be as specified.");
    326         if (!isfinite(vfItem->data.F32)) {
    327             vfItem->data.F32 = varFactor;
    328         } else {
    329             vfItem->data.F32 *= varFactor;
    330         }
    331     }
    332 
    333317    // Set covariance matrix for output
    334318    {
Note: See TracChangeset for help on using the changeset viewer.