IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 17, 2023, 4:39:42 PM (3 years ago)
Author:
eugene
Message:

merging from trunk

Location:
branches/eam_branches/ipp-20230313/psModules
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psModules

  • branches/eam_branches/ipp-20230313/psModules/src/detrend/pmNewNonLinear.c

    r42338 r42528  
    3939            // Calculate correction factor contribution for this pixel.
    4040            psF32 flux = image->data.F32[i][j];
    41             psF32 lFlux = log10(flux);
     41            psF32 lFlux = (flux > 1.0) ? log10(flux) : 0.0; // do not introduce NANs for negative flux
    4242           
    4343            psF32 factor = psSpline1DEval (model, lFlux);
  • branches/eam_branches/ipp-20230313/psModules/src/imcombine/pmSubtractionKernels.c

    r35771 r42528  
    13611361    }
    13621362
    1363     return pmSubtractionKernelsGenerate(type, size, spatialOrder, fwhms, orders, inner, binning,
    1364                                         ringsOrder, penalty, bounds, mode);
     1363    pmSubtractionKernels *outKernel = pmSubtractionKernelsGenerate(type, size, spatialOrder,
     1364                                                                  fwhms, orders, inner, binning,
     1365                                                                  ringsOrder, penalty, bounds, mode);
     1366    psFree (fwhms);
     1367    psFree (orders);
     1368
     1369    return outKernel;
    13651370}
    13661371
  • branches/eam_branches/ipp-20230313/psModules/src/objects/pmSourceMatch.c

    r36856 r42528  
    219219                                      sources); // Number of sources
    220220
     221        // an input image with only poor detections can cause trouble, remove it
     222        if (!numSources) continue;
     223
    221224        if (!boundsMaster) {
    222225            // First run through --- can just copy
Note: See TracChangeset for help on using the changeset viewer.