Changeset 36298
- Timestamp:
- Nov 22, 2013, 2:36:43 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904
- Files:
-
- 2 edited
-
psModules/src/objects/pmPCMdata.c (modified) (2 diffs)
-
psphot/src/psphotExtendedSourceFits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCMdata.c
r36281 r36298 43 43 44 44 # define USE_DELTA_PSF 0 45 # define KERNEL_NSIGMA 3.0 45 # define KERNEL_NSIGMA 5.0 46 47 // TEST: factor to increase the convolution sigma. psphot modifies this global variable. 48 // Should be removed before commitng to the tag 49 psF32 BILLS_SCALE_FACTOR = 1.0; 46 50 47 51 static void pmPCMdataFree (pmPCMdata *pcm) { … … 344 348 } 345 349 if (modelPSF->type == modelType_PS1_V1) { 346 *sigma = 0.5 * (axes.major + axes.minor) ;350 *sigma = 0.5 * (axes.major + axes.minor) * BILLS_SCALE_FACTOR; 347 351 *kappa = PAR[PM_PAR_7]; 348 352 } -
branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c
r36258 r36298 100 100 assert (status && fitIter > 0); 101 101 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 102 109 float fitMinTol = psMetadataLookupF32 (&status, recipe, "EXT_FIT_MIN_TOL"); // Fit tolerance 103 110 if (!status || !isfinite(fitMinTol) || fitMinTol <= 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
