Changeset 33445
- Timestamp:
- Mar 8, 2012, 4:02:53 PM (14 years ago)
- Location:
- tags/ipp-20120216
- Files:
-
- 7 edited
-
psModules/src/objects (modified) (1 prop)
-
psModules/src/objects/pmPCMdata.c (modified) (1 diff)
-
psModules/src/objects/pmSourceIO.c (modified) (1 diff)
-
psphot (modified) (1 prop)
-
psphot/src (modified) (1 prop)
-
psphot/src/psphotMergeSources.c (modified) (2 diffs)
-
psphot/src/psphotStackImageLoop.c (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20120216/psModules/src/objects
- Property svn:mergeinfo set to
-
tags/ipp-20120216/psModules/src/objects/pmPCMdata.c
r32725 r33445 136 136 sum += value; 137 137 } 138 } 139 140 if (!(sum > 0.0)) { 141 // Crazy PSF image print out some debugging information ... 142 fprintf(stderr, "invalid kernel sum %f found by pmPCMkernelFromPSF\n", sum); for (int j = psf->yMin; j <= psf->yMax; j++) { 143 fprintf(stderr, "Row %d\n", j); 144 for (int i = psf->xMin; i <= psf->xMax; i++) { 145 double value = source->psfImage->data.F32[y0 + j][x0 + i]; 146 fprintf(stderr, " %d %f\n", i, value); 147 } 148 } 149 fflush(stderr); 150 // ... but avoid the asssertion two lines down by escaping 151 goto escape; 138 152 } 139 153 assert (sum > 0.0); -
tags/ipp-20120216/psModules/src/objects/pmSourceIO.c
r32977 r33445 1069 1069 for (long i = sources->n -1; i >= 0; i--) { 1070 1070 pmSource *source = sources->data[i]; 1071 if (source->seq < 0) { 1072 // This can happen cmf files that have been corrupted 1073 psError(PS_ERR_IO, true, "seq < 0 for source %ld in %s", i, file->origname); 1074 return false; 1075 } 1071 1076 if (source->seq > seq_max) { 1072 1077 seq_max = source->seq; -
tags/ipp-20120216/psphot
- Property svn:mergeinfo changed
/trunk/psphot merged: 33444
- Property svn:mergeinfo changed
-
tags/ipp-20120216/psphot/src
- Property svn:mergeinfo changed
/trunk/psphot/src merged: 33444
- Property svn:mergeinfo changed
-
tags/ipp-20120216/psphot/src/psphotMergeSources.c
r32695 r33445 677 677 if (sourceOut->modelPSF) { 678 678 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 } 680 683 681 684 // child sources have not been subtracted in this image, but this flag may be raised if … … 900 903 // allocate image, weight, mask for the new image for each peak 901 904 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 } 904 911 905 912 // child sources have not been subtracted in this image, but this flag may be raised if -
tags/ipp-20120216/psphot/src/psphotStackImageLoop.c
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.
