IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2013, 2:36:43 PM (13 years ago)
Author:
bills
Message:

add temporary recipe value BILLS.SCALE.FACTOR which multiplies the
convolution radius by the given factor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c

    r36258 r36298  
    100100    assert (status && fitIter > 0);
    101101
     102    float billsScaleFactor = psMetadataLookupF32 (&status, recipe, "BILLS.SCALE.FACTOR");
     103    if (isfinite(billsScaleFactor)) {
     104        // this lives in psModules/src/objects/pmPCMdata.c and defaults to 1.0
     105        extern psF32 BILLS_SCALE_FACTOR;
     106        BILLS_SCALE_FACTOR = billsScaleFactor;
     107    }
     108       
    102109    float fitMinTol = psMetadataLookupF32 (&status, recipe, "EXT_FIT_MIN_TOL"); // Fit tolerance
    103110    if (!status || !isfinite(fitMinTol) || fitMinTol <= 0) {
Note: See TracChangeset for help on using the changeset viewer.