IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15329


Ignore:
Timestamp:
Oct 17, 2007, 12:14:31 PM (19 years ago)
Author:
Paul Price
Message:

Exclusion zone isn't twice the footprint, but the footprint plus the kernel size --- if the footprint extends more than half the way to a neighbouring star, but the kernel is smaller than the footprint so that it doesn't go near the other star, then we shouldn't exclude these stars.

File:
1 edited

Legend:

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

    r15325 r15329  
    283283
    284284                stamps = pmSubtractionStampsSet(xStamp, yStamp, fluxStamp, reference->image, subMask,
    285                                                 region, stampSpacing, input ? 0 : 2 * footprint);
     285                                                region, stampSpacing, input ? 0 : footprint + size);
    286286                psFree(stampsData);
    287287            }
     
    312312            int numRejected = -1;               // Number of rejected stamps in each iteration
    313313            for (int k = 0; k < iter && numRejected != 0; k++) {
    314                 psTrace("psModules.imcombine", 2, "Iteration %d...\n", k);
     314                psLogMsg("psModules.imcombine", PS_LOG_INFO, "Iteration %d.", k);
    315315
    316316                if (!getStamps(&stamps, reference, input, subMask, weight, region,
     
    342342                    goto ERROR;
    343343                }
    344                 psLogMsg("psModules.imcombine", PS_LOG_INFO, "%d stamps rejected on iteration %d.",
    345                          numRejected, k);
    346 
    347344                memCheck("  reject stamps");
    348345            }
     
    355352                    goto ERROR;
    356353                }
     354                (void)pmSubtractionRejectStamps(stamps, subMask, solution, footprint, NAN, kernels);
    357355            }
    358356            psFree(stamps);
Note: See TracChangeset for help on using the changeset viewer.