- Timestamp:
- May 9, 2010, 6:01:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.20100506/src/psphotStackMatchPSFsUtils.c
r27884 r27888 45 45 } 46 46 47 # define SN_MIN 50.0 47 48 psArray *stackSourcesFilter(psArray *sources, // Source list to filter 48 49 int exclusion // Exclusion zone, pixels … … 62 63 continue; 63 64 } 65 if (!source->peak) continue; 66 if (source->peak->SN < SN_MIN) continue; 64 67 coordsFromSource(&x->data.F32[numGood], &y->data.F32[numGood], source); 65 68 numGood++; … … 77 80 continue; 78 81 } 82 if (!source->peak) continue; 83 if (source->peak->SN < SN_MIN) continue; 79 84 float xSource, ySource; // Coordinates of source 80 85 coordsFromSource(&xSource, &ySource, source); … … 325 330 326 331 // These values are specified specifically for stacking 327 const char *stampsName = psMetadataLookupStr( NULL, config->arguments, "STAMPS");// Stamps filename332 const char *stampsName = psMetadataLookupStr(&mdok, config->arguments, "STAMPS");// Stamps filename 328 333 329 334 psVector *widthsCopy = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
