IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36354


Ignore:
Timestamp:
Dec 5, 2013, 9:44:46 AM (13 years ago)
Author:
bills
Message:

remove BILLS.SCALE.FACTOR recipe value

Location:
branches/eam_branches/ipp-20130904
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCMdata.c

    r36320 r36354  
    4444# define USE_DELTA_PSF 0
    4545
    46 // TEST: factor to increase the convolution sigma. psphot modifies this global variable.
    47 // Should be removed before commitng to the tag
    48 psF32 BILLS_SCALE_FACTOR = 1.0;
    49 
    5046static void pmPCMdataFree (pmPCMdata *pcm) {
    5147
     
    347343    }
    348344    if (modelPSF->type == modelType_PS1_V1) {
    349         *sigma = 0.5 * (axes.major + axes.minor) * BILLS_SCALE_FACTOR;
     345        *sigma = 0.5 * (axes.major + axes.minor);
    350346        *kappa = PAR[PM_PAR_7];
    351347    }
  • branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c

    r36347 r36354  
    9898    assert (status && fitIter > 0);
    9999
    100     float billsScaleFactor = psMetadataLookupF32 (&status, recipe, "BILLS.SCALE.FACTOR");
    101     if (isfinite(billsScaleFactor)) {
    102         // this lives in psModules/src/objects/pmPCMdata.c and defaults to 1.0
    103         extern psF32 BILLS_SCALE_FACTOR;
    104         BILLS_SCALE_FACTOR = billsScaleFactor;
    105     }
    106        
    107100    float fitMinTol = psMetadataLookupF32 (&status, recipe, "EXT_FIT_MIN_TOL"); // Fit tolerance
    108101    if (!status || !isfinite(fitMinTol) || fitMinTol <= 0) {
Note: See TracChangeset for help on using the changeset viewer.