Changeset 37807 for trunk/Ohana/src/relastro/src/markObjects.c
- Timestamp:
- Jan 11, 2015, 2:14:39 PM (12 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/relastro/src/markObjects.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
-
trunk/Ohana/src/relastro/src/markObjects.c
r37038 r37807 14 14 int m = catalog[i].average[j].measureOffset; 15 15 for (n = 0; n < catalog[i].average[j].Nmeasure; n++) { 16 if (!catalog[i].measureT[m+n].myDet) continue; 17 nOwn ++; 16 // this is a detection I own (it is on one of my images) 17 if (catalog[i].measureT[m+n].myDet) { 18 nOwn ++; 19 continue; 20 } 21 // 2MASS detections are counted as 'owned' (I completely control this object is nOwn_t == Nmeasure; no sharing needed) 22 if ((catalog[i].measureT[m+n].photcode == 2011) || 23 (catalog[i].measureT[m+n].photcode == 2012) || 24 (catalog[i].measureT[m+n].photcode == 2013)) { 25 nOwn ++; 26 continue; 27 } 18 28 } 19 29 catalog[i].nOwn_t[j] = nOwn;
Note:
See TracChangeset
for help on using the changeset viewer.
