Changeset 17129
- Timestamp:
- Mar 24, 2008, 6:22:41 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/relastro/src/bcatalog.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/bcatalog.c
r16810 r17129 60 60 if (DophotSelect && (catalog[0].measure[offset].dophot != DophotValue)) continue; 61 61 62 /* select measurements by mag limit */ 63 mag = PhotCat (&catalog[0].measure[offset]); 64 if (mag > MAG_LIM) continue; 62 /* select measurements by quality */ 63 if (PhotFlagSelect && (catalog[0].measure[offset].photFlags & PhotFlagValue)) continue; 65 64 66 65 /* select measurements by measurement error */ … … 91 90 } 92 91 } 93 if (Nm < 2) { /* enough measurements in band? */94 Nmeasure -= Nm;95 continue;96 }97 92 subcatalog[0].average[Naverage].Nmeasure = Nm; 98 93 Naverage ++; … … 115 110 fprintf (stderr, "%d: using %d stars (%d measures) for catalog\n", i, 116 111 subcatalog[0].Naverage, subcatalog[0].Nmeasure); 117 }112 } 118 113 return (TRUE); 119 114 }
Note:
See TracChangeset
for help on using the changeset viewer.
