IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 5, 2011, 10:40:58 AM (15 years ago)
Author:
eugene
Message:

rename source->errMag to source->psfMagErr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubFlagNeighbors.c

    r31156 r31449  
    112112                  bool positive = !matchRef && (sourceM1->imageID == 1);
    113113                  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;
    115115                  if (positive) {
    116116                      source->diffStats->SNp = SN1;
     
    138138                  bool positive = !matchRef && (sourceM1->imageID == 1);
    139139                  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;
    142142                  if (positive) {
    143143                      source->diffStats->SNp = SN1;
Note: See TracChangeset for help on using the changeset viewer.