IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29456


Ignore:
Timestamp:
Oct 17, 2010, 9:21:54 AM (16 years ago)
Author:
eugene
Message:

updates to pmSubtractionParamsScale API (pass fwhm independently)

File:
1 edited

Legend:

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

    r29124 r29456  
    361361        // Scale the input parameters
    362362        widthsCopy = psVectorCopy(NULL, widths, PS_TYPE_F32); // Copy of kernel widths
    363         if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, options->inputSeeing->data.F32[index], options->targetSeeing, scaleRef, scaleMin, scaleMax)) {
     363
     364        // we need to register the FWHM values for use downstream
     365        pmSubtractionSetFWHMs(options->inputSeeing->data.F32[index], options->targetSeeing);
     366
     367        if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) {
    364368            psError(psErrorCodeLast(), false, "Unable to scale kernel parameters");
    365369            goto escape;
Note: See TracChangeset for help on using the changeset viewer.