- Timestamp:
- Mar 5, 2009, 11:13:29 AM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090215
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/objects/pmSource.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215
-
branches/cnb_branches/cnb_branch_20090215/psModules/src/objects/pmSource.c
r21536 r23197 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1. 69.4.1$ $Name: not supported by cvs2svn $9 * @date $Date: 2009-02-1 9 17:59:50$8 * @version $Revision: 1.70 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2009-02-16 22:29:59 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 543 543 pmSource *source = (pmSource *) sources->data[i]; 544 544 545 // psf clumps are found for image subregions:546 // skip sources not in this region 545 // psf clumps are found for image subregions: 546 // skip sources not in this region 547 547 if (source->peak->x < region->x0) continue; 548 548 if (source->peak->x >= region->x1) continue; 549 549 if (source->peak->y < region->y0) continue; 550 if (source->peak->y >= region->y1) continue;551 552 // should be set by pmSourceAlloc550 if (source->peak->y >= region->y1) continue; 551 552 // should be set by pmSourceAlloc 553 553 psAssert (source->type == PM_SOURCE_TYPE_UNKNOWN, "source type was not init-ed?"); 554 554 … … 556 556 if (!source->moments) { 557 557 source->type = PM_SOURCE_TYPE_STAR; 558 psAssert (source->mode & noMoments, "why is this source missing moments?");558 psAssert (source->mode & noMoments, "why is this source missing moments?"); 559 559 Nstar++; 560 560 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
