Changeset 32348 for trunk/psphot/src/psphotSourceMatch.c
- Timestamp:
- Sep 6, 2011, 1:32:31 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
trunk/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:ignore
-
trunk/psphot/src/psphotSourceMatch.c
r31154 r32348 48 48 pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS"); 49 49 psAssert (detections, "missing detections?"); 50 psAssert (detections->newSources, "new sources not defined?"); 51 psAssert (!detections->allSources, "all sources already defined?"); 52 53 // XXX TEST: 54 if (detections->newSources) { 55 psphotMatchSourcesToObjects(objects, detections->newSources, RADIUS); 56 } 50 psAssert (detections->allSources, "all sources not defined?"); 51 52 psphotMatchSourcesToObjects(objects, detections->allSources, RADIUS); 57 53 58 54 return true; … … 261 257 peak->assigned = true; 262 258 pmPhotObjAddSource(obj, source); 263 psArrayAdd (detections-> newSources, 100, source);259 psArrayAdd (detections->allSources, 100, source); 264 260 psFree (source); 265 261 }
Note:
See TracChangeset
for help on using the changeset viewer.
