Changeset 41625 for branches/eam_branches/relphot.20210521/src/TGroupOps.c
- Timestamp:
- May 31, 2021, 11:45:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/TGroupOps.c
r41608 r41625 1172 1172 ALLOCATE (dlist, double, NtgroupTimes*Nphotcodes); 1173 1173 1174 int NIGHT_BAD = ID_IMAGE_NIGHT_POOR | ID_IMAGE_PHOTOM_FEW;1175 1176 1174 int n = 0; 1177 1175 for (int i = 0; i < NtgroupTimes; i++) { 1178 1176 TGroup *tgroup = tgroupTimes[i][0].byCode; 1179 1177 for (int j = 0; j < tgroupTimes[i][0].nCode; j++) { 1180 if (tgroup[j].flags & NIGHT_BAD) continue;1178 if (tgroup[j].flags & (ID_IMAGE_NIGHT_POOR | ID_IMAGE_PHOTOM_FEW)) continue; 1181 1179 list[n] = tgroup[j].McalPSF; 1182 1180 dlist[n] = 1; … … 1209 1207 TGroup *tgroup = tgroupTimes[i][0].byCode; 1210 1208 for (int j = 0; j < tgroupTimes[i][0].nCode; j++) { 1211 if (tgroup[j].flags & IMAGE_BAD) continue;1209 if (tgroup[j].flags & (ID_IMAGE_NIGHT_POOR | ID_IMAGE_PHOTOM_FEW)) continue; 1212 1210 list[n] = tgroup[j].dMcal; 1213 1211 dlist[n] = 1; … … 1240 1238 TGroup *tgroup = tgroupTimes[i][0].byCode; 1241 1239 for (int j = 0; j < tgroupTimes[i][0].nCode; j++) { 1242 if (tgroup[j].flags & IMAGE_BAD) continue;1240 if (tgroup[j].flags & (ID_IMAGE_NIGHT_POOR | ID_IMAGE_PHOTOM_FEW)) continue; 1243 1241 list[n] = tgroup[j].McalChiSq; 1244 1242 dlist[n] = 1; … … 1396 1394 c = tgroup[i].catalog[j]; 1397 1395 1398 if (catalog[c].measureT[m].dbFlags & (ID_MEAS_AREA | ID_MEAS_NOCAL)) continue;1396 if (catalog[c].measureT[m].dbFlags & MEAS_BAD) continue; 1399 1397 1400 1398 // ave = catalog[c].measureT[m].averef;
Note:
See TracChangeset
for help on using the changeset viewer.
