Changeset 36354
- Timestamp:
- Dec 5, 2013, 9:44:46 AM (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
r36320 r36354 44 44 # define USE_DELTA_PSF 0 45 45 46 // TEST: factor to increase the convolution sigma. psphot modifies this global variable.47 // Should be removed before commitng to the tag48 psF32 BILLS_SCALE_FACTOR = 1.0;49 50 46 static void pmPCMdataFree (pmPCMdata *pcm) { 51 47 … … 347 343 } 348 344 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); 350 346 *kappa = PAR[PM_PAR_7]; 351 347 } -
branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c
r36347 r36354 98 98 assert (status && fitIter > 0); 99 99 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.0103 extern psF32 BILLS_SCALE_FACTOR;104 BILLS_SCALE_FACTOR = billsScaleFactor;105 }106 107 100 float fitMinTol = psMetadataLookupF32 (&status, recipe, "EXT_FIT_MIN_TOL"); // Fit tolerance 108 101 if (!status || !isfinite(fitMinTol) || fitMinTol <= 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
