IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31449 for trunk/ppSub/src


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

rename source->errMag to source->psfMagErr

Location:
trunk/ppSub/src
Files:
2 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;
  • trunk/ppSub/src/ppSubReadoutPhotometry.c

    r31435 r31449  
    176176
    177177            fprintf(sourceFile, "%f %f %f %f %f %f %f %f %d %f %f %f %f %f\n",
    178                     x, y, source->psfMag, source->errMag, chi2, source->crNsigma, source->extNsigma,
     178                    x, y, source->psfMag, source->psfMagErr, chi2, source->crNsigma, source->extNsigma,
    179179                    source->pixWeight, source->mode, xMoment, yMoment, xxMoment, xyMoment, yyMoment);
    180180        }
Note: See TracChangeset for help on using the changeset viewer.