Changeset 41348 for trunk/psModules/src/objects/pmSourceIO_Glints.c
- Timestamp:
- Apr 28, 2020, 1:26:07 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_Glints.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_Glints.c
r41339 r41348 66 66 float zeropt, exptime; 67 67 68 psLogMsg ("psastro", PS_LOG_INFO, "writing glint positions"); 69 68 70 // select the current recipe 69 71 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSASTRO_RECIPE); … … 184 186 } 185 187 186 //do a rudimentary check of whether the glint enters the pixel FPA 187 if (!strcasecmp(glintType, "TOP") && ((star->FP->y - glintLength) > 20500.)) continue;188 if (!strcasecmp(glintType, "BOTTOM") && ((star->FP->y + glintLength) < - 20500.)) continue;189 if (!strcasecmp(glintType, "LEFT") && ((star->FP->x + glintLength) < - 20500.)) continue;190 if (!strcasecmp(glintType, "RIGHT") && ((star->FP->x - glintLength) > 20500.)) continue;188 //do a rudimentary check of whether the glint enters the pixel FPA, and exclude very short ones 189 if (!strcasecmp(glintType, "TOP") && ((star->FP->y - glintLength) > 19500.)) continue; 190 if (!strcasecmp(glintType, "BOTTOM") && ((star->FP->y + glintLength) < -19500.)) continue; 191 if (!strcasecmp(glintType, "LEFT") && ((star->FP->x + glintLength) < -19500.)) continue; 192 if (!strcasecmp(glintType, "RIGHT") && ((star->FP->x - glintLength) > 19500.)) continue; 191 193 192 194 //save the glint positions
Note:
See TracChangeset
for help on using the changeset viewer.
