IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 9, 2009, 11:52:38 AM (17 years ago)
Author:
Paul Price
Message:

"Forward" and "Backward" aren't useful terms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r25120 r25307  
    953953    kernels1->mode = PM_SUBTRACTION_MODE_1;
    954954
    955     if (!subtractionModeTest(stamps1, kernels1, "forward", subMask1, rej)) {
    956         psError(PS_ERR_UNKNOWN, false, "Unable to test forward subtraction");
     955    if (!subtractionModeTest(stamps1, kernels1, "convolve 1", subMask1, rej)) {
     956        psError(PS_ERR_UNKNOWN, false, "Unable to test subtraction with convolution of image 1");
    957957        psFree(stamps1);
    958958        psFree(kernels1);
     
    968968    kernels2->mode = PM_SUBTRACTION_MODE_2;
    969969
    970     if (!subtractionModeTest(stamps2, kernels2, "backward", subMask2, rej)) {
    971         psError(PS_ERR_UNKNOWN, false, "Unable to test backward subtraction");
     970    if (!subtractionModeTest(stamps2, kernels2, "convolve 2", subMask2, rej)) {
     971        psError(PS_ERR_UNKNOWN, false, "Unable to test subtraction with convolution of image 2");
    972972        psFree(stamps2);
    973973        psFree(kernels2);
     
    983983    pmSubtractionKernels *bestKernels = NULL; // Best choice for kernels
    984984    psLogMsg("psModules.imcombine", PS_LOG_INFO,
    985              "Forward: %f +/- %f from %d stamps\nBackward: %f +/- %f from %d stamps\n",
     985             "Image 1: %f +/- %f from %d stamps\nImage 2: %f +/- %f from %d stamps\n",
    986986             kernels1->mean, kernels1->rms, kernels1->numStamps,
    987987             kernels2->mean, kernels2->rms, kernels2->numStamps);
Note: See TracChangeset for help on using the changeset viewer.