- Timestamp:
- Jun 6, 2011, 1:56:22 PM (15 years ago)
- Location:
- branches/czw_branch/20110406
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSub/src/ppSubFlagNeighbors.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/ppSub/src/ppSubFlagNeighbors.c
r31156 r31606 112 112 bool positive = !matchRef && (sourceM1->imageID == 1); 113 113 positive |= matchRef && (sourceM1->imageID == 2); 114 float SN1 = isfinite(sourceM1-> errMag) ? 1.0 / sourceM1->errMag: NAN;114 float SN1 = isfinite(sourceM1->psfMagErr) ? 1.0 / sourceM1->psfMagErr : NAN; 115 115 if (positive) { 116 116 source->diffStats->SNp = SN1; … … 138 138 bool positive = !matchRef && (sourceM1->imageID == 1); 139 139 positive |= matchRef && (sourceM1->imageID == 2); 140 float SN1 = isfinite(sourceM1-> errMag) ? 1.0 / sourceM1->errMag: NAN;141 float SN2 = isfinite(sourceM2-> errMag) ? 1.0 / sourceM2->errMag: NAN;140 float SN1 = isfinite(sourceM1->psfMagErr) ? 1.0 / sourceM1->psfMagErr : NAN; 141 float SN2 = isfinite(sourceM2->psfMagErr) ? 1.0 / sourceM2->psfMagErr : NAN; 142 142 if (positive) { 143 143 source->diffStats->SNp = SN1;
Note:
See TracChangeset
for help on using the changeset viewer.
