IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2012, 2:54:17 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20111122/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/psphot

  • branches/eam_branches/ipp-20111122/psphot/src

  • branches/eam_branches/ipp-20111122/psphot/src/psphotMergeSources.c

    r32695 r33640  
    677677      if (sourceOut->modelPSF) {
    678678        pmSourceRedefinePixels (sourceOut, readoutOut, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
    679       }
     679      } else {
     680        // if we have no pixels we can't use it to determine the psf so make sure this bit is off
     681        sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_CANDIDATE_PSFSTAR;
     682       }
    680683
    681684      // child sources have not been subtracted in this image, but this flag may be raised if
     
    900903            // allocate image, weight, mask for the new image for each peak
    901904            if (sourceOut->modelPSF) {
    902               pmSourceRedefinePixels (sourceOut, readout, sourceOut->peak->x, sourceOut->peak->y, sourceOut->modelPSF->fitRadius);
    903             }
     905                pmSourceRedefinePixels (sourceOut, readout, sourceOut->peak->x, sourceOut->peak->y,
     906                                                                        sourceOut->modelPSF->fitRadius);
     907            } else {
     908                // if we have no pixels we can't use it to determine the psf so make sure this bit is off
     909                sourceOut->tmpFlags &= ~PM_SOURCE_TMPF_CANDIDATE_PSFSTAR;
     910            }
    904911
    905912            // child sources have not been subtracted in this image, but this flag may be raised if
Note: See TracChangeset for help on using the changeset viewer.