IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2008, 3:27:33 PM (18 years ago)
Author:
Paul Price
Message:

Dual convolution seems to be working. Removed division by 'weight' when generating equation --- seems to bias the fits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_080617/psModules/src/imcombine/pmSubtractionMatch.c

    r18239 r18248  
    9797                        pmSubtractionKernelsType type, int size, int spatialOrder,
    9898                        const psVector *isisWidths, const psVector *isisOrders,
    99                         int inner, int ringsOrder, int binning, bool optimum, const psVector *optFWHMs,
    100                         int optOrder, float optThreshold, int iter, float rej, psMaskType maskBad,
    101                         psMaskType maskBlank, float badFrac, pmSubtractionMode mode)
     99                        int inner, int ringsOrder, int binning, float penalty,
     100                        bool optimum, const psVector *optFWHMs, int optOrder, float optThreshold,
     101                        int iter, float rej, psMaskType maskBad, psMaskType maskBlank,
     102                        float badFrac, pmSubtractionMode mode)
    102103{
    103104    if (mode != PM_SUBTRACTION_MODE_2) {
     
    300301            if (optimum && (type == PM_SUBTRACTION_KERNEL_ISIS || type == PM_SUBTRACTION_KERNEL_GUNK)) {
    301302                kernels = pmSubtractionKernelsOptimumISIS(type, size, inner, spatialOrder, optFWHMs, optOrder,
    302                                                           stamps, footprint, optThreshold, mode);
     303                                                          stamps, footprint, optThreshold, penalty, mode);
    303304                if (!kernels) {
    304305                    psErrorClear();
     
    309310                // Not an ISIS/GUNK kernel, or the optimum kernel search failed
    310311                kernels = pmSubtractionKernelsGenerate(type, size, spatialOrder, isisWidths, isisOrders,
    311                                                        inner, binning, ringsOrder, mode);
     312                                                       inner, binning, ringsOrder, penalty, mode);
    312313            }
    313314
Note: See TracChangeset for help on using the changeset viewer.