Changeset 31154 for trunk/psphot/src/psphotStackMatchPSFsUtils.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotStackMatchPSFsUtils.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotStackMatchPSFsUtils.c
r30624 r31154 64 64 } 65 65 if (!source->peak) continue; 66 if (s ource->peak->SN< SN_MIN) continue;66 if (sqrt(source->peak->detValue) < SN_MIN) continue; 67 67 coordsFromSource(&x->data.F32[numGood], &y->data.F32[numGood], source); 68 68 numGood++; … … 81 81 } 82 82 if (!source->peak) continue; 83 if (s ource->peak->SN< SN_MIN) continue;83 if (sqrt(source->peak->detValue) < SN_MIN) continue; 84 84 float xSource, ySource; // Coordinates of source 85 85 coordsFromSource(&xSource, &ySource, source); … … 287 287 288 288 float penalty = psMetadataLookupF32(NULL, subRecipe, "PENALTY"); // Penalty for wideness 289 int threads = psMetadataLookupS32(NULL, config->arguments, " -threads"); // Number of threads289 int threads = psMetadataLookupS32(NULL, config->arguments, "NTHREADS"); // Number of threads 290 290 291 291 int order = psMetadataLookupS32(NULL, subRecipe, "SPATIAL.ORDER"); // Spatial polynomial order … … 363 363 364 364 // we need to register the FWHM values for use downstream 365 pmSubtractionSetFWHMs(options-> inputSeeing->data.F32[index], options->targetSeeing);365 pmSubtractionSetFWHMs(options->targetSeeing, options->inputSeeing->data.F32[index]); 366 366 367 367 pmSubtractionParamScaleOptions(scale, scaleRef, scaleMin, scaleMax);
Note:
See TracChangeset
for help on using the changeset viewer.
