IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30422


Ignore:
Timestamp:
Jan 28, 2011, 3:29:13 PM (15 years ago)
Author:
eugene
Message:

update to use the modified pmSubtractionParamScaleOptions function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psphot/src/psphotStackMatchPSFsUtils.c

    r30140 r30422  
    365365        pmSubtractionSetFWHMs(options->inputSeeing->data.F32[index], options->targetSeeing);
    366366
    367         if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) {
    368             psError(psErrorCodeLast(), false, "Unable to scale kernel parameters");
    369             goto escape;
    370         }
     367        pmSubtractionParamScaleOptions(scale, scaleRef, scaleMin, scaleMax);
     368
     369        // if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) {
     370        //     psError(psErrorCodeLast(), false, "Unable to scale kernel parameters");
     371        //     goto escape;
     372        // }
    371373
    372374        if (!pmSubtractionMatch(NULL, readoutOut, fake, readoutSrc, footprint, stride, regionSize, spacing, threshold, stampSources, stampsName, type, size, order, widthsCopy, orders, inner, ringsOrder, binning, penalty, optimum, optWidths, optOrder, optThresh, iter, rej, normFrac, sysError, skyErr, kernelError, covarFrac, maskVal, maskBad, maskPoor, poorFrac, badFrac, PM_SUBTRACTION_MODE_2)) {
Note: See TracChangeset for help on using the changeset viewer.