IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2011, 2:43:27 PM (15 years ago)
Author:
eugene
Message:

do not require a footprint when generating matched sources; copy the footprint for double objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110906/psphot/src/psphotSourceFits.c

    r32348 r32619  
    357357    pmSource *newSrc = pmSourceCopy (source);
    358358    newSrc->modelPSF = psMemIncrRefCounter (DBL->data[1]);
     359    newSrc->peak->footprint = source->peak->footprint; // just a reference; the peak does not own the footprint
     360    psArrayAdd(newSrc->peak->footprint->peaks, 1, newSrc->peak); // the footprint owns the peak
    359361
    360362    // build cached models and subtract
Note: See TracChangeset for help on using the changeset viewer.