IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2009, 4:57:20 PM (17 years ago)
Author:
Paul Price
Message:

Updating following API change to pmSubtractionMatch: including systematic error in images, distinct from systematic error in kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r25118 r26036  
    130130    int iter = psMetadataLookupS32(NULL, recipe, "ITER"); // Rejection iterations
    131131    float rej = psMetadataLookupF32(NULL, recipe, "REJ"); // Rejection threshold
    132     float sys = psMetadataLookupF32(NULL, recipe, "SYS"); // Relative systematic error in kernel
     132    float kernelErr = psMetadataLookupF32(NULL, recipe, "KERNEL.ERR"); // Relative systematic error in kernel
     133    float sysErr = psMetadataLookupF32(NULL, recipe, "SYS.ERR"); // Relative systematic error in images
    133134
    134135    float badFrac = psMetadataLookupF32(NULL, recipe, "BADFRAC"); // Maximum bad fraction
     
    182183    if (kernelRO) {
    183184        success = pmSubtractionMatchPrecalc(inConv, refConv, inRO, refRO, kernelRO->analysis,
    184                                             stride, sys, maskVal, maskBad, maskPoor, poorFrac, badFrac);
     185                                            stride, kernelErr, maskVal, maskBad, maskPoor, poorFrac, badFrac);
    185186    } else {
    186187        success = pmSubtractionMatch(inConv, refConv, inRO, refRO, footprint, stride, regionSize,
    187188                                     spacing, threshold, sources, data->stamps, type, size, order,
    188189                                     widths, orders, inner, ringsOrder, binning, penalty, optimum,
    189                                      optWidths, optOrder, optThresh, iter, rej, sys, maskVal,
     190                                     optWidths, optOrder, optThresh, iter, rej, sysErr, kernelErr, maskVal,
    190191                                     maskBad, maskPoor, poorFrac, badFrac, subMode);
    191192    }
Note: See TracChangeset for help on using the changeset viewer.