IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 24, 2011, 9:47:48 PM (15 years ago)
Author:
eugene
Message:

rename source->errMag to source->psfMagErr, and only use it for the psf model mag error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/psModules/src/objects/pmSourceIO_CMP.c

    r29004 r31360  
    137137        axes = pmPSF_ModelToAxes (PAR, 20.0);
    138138
    139         float errMag = isfinite(source->errMag) ? source->errMag : 999;
     139        float psfMagErr = isfinite(source->psfMagErr) ? source->psfMagErr : 999;
    140140
    141141        psLineInit (line);
     
    143143        psLineAdd (line, "%6.1f ",  PAR[PM_PAR_YPOS]);
    144144        psLineAdd (line, "%6.3f ",  PS_MIN (99.0, source->psfMag + ZERO_POINT));
    145         psLineAdd (line, "%03d ",   PS_MIN (999, (int)errMag));
     145        psLineAdd (line, "%03d ",   PS_MIN (999, (int)psfMagErr));
    146146        psLineAdd (line, "%2d ",    type);
    147147        psLineAdd (line, "%3.1f ",  lsky);
     
    280280            source->psfMag = atof (array->data[2]);
    281281            source->extMag = atof (array->data[6]);
    282             source->errMag = atof (array->data[3]) / 1000.0;
     282            source->psfMagErr = atof (array->data[3]) / 1000.0;
    283283            source->apMag  = atof (array->data[7]);
    284284            axes.major     = atof (array->data[8]);
Note: See TracChangeset for help on using the changeset viewer.