Changeset 30624 for trunk/psphot/src/psphotStackMatchPSFsUtils.c
- Timestamp:
- Feb 13, 2011, 12:33:05 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotStackMatchPSFsUtils.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotStackMatchPSFsUtils.c
r29548 r30624 365 365 pmSubtractionSetFWHMs(options->inputSeeing->data.F32[index], options->targetSeeing); 366 366 367 if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) { 368 psError(psErrorCodeLast(), false, "Unable to scale kernel parameters"); 369 goto escape; 370 } 367 pmSubtractionParamScaleOptions(scale, scaleRef, scaleMin, scaleMax); 368 369 // if (scale && !pmSubtractionParamsScale(&size, &footprint, widthsCopy, scaleRef, scaleMin, scaleMax)) { 370 // psError(psErrorCodeLast(), false, "Unable to scale kernel parameters"); 371 // goto escape; 372 // } 371 373 372 374 if (!pmSubtractionMatch(NULL, readoutOut, fake, readoutSrc, footprint, stride, regionSize, spacing, threshold, stampSources, stampsName, type, size, order, widthsCopy, orders, inner, ringsOrder, binning, penalty, optimum, optWidths, optOrder, optThresh, iter, rej, normFrac, sysError, skyErr, kernelError, covarFrac, maskVal, maskBad, maskPoor, poorFrac, badFrac, PM_SUBTRACTION_MODE_2)) { … … 383 385 goto escape; 384 386 } 387 388 // save the PSF on the new readout->analysis: 389 // if (!psMetadataAddPtr (readoutOut->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_META_REPLACE | PS_DATA_UNKNOWN, "psphot psf model", options->psf)) { 390 // psError (PSPHOT_ERR_UNKNOWN, false, "problem saving sources on readout"); 391 // return false; 392 // } 385 393 386 394 // dumpImage(readoutOut, readoutSrc, index, "conv");
Note:
See TracChangeset
for help on using the changeset viewer.
