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/pmSourceOutputs.c

    r31312 r31360  
    103103            outputs->yErr = dPAR[PM_PAR_YPOS];
    104104        } else {
    105             outputs->xErr = fwhmMajor * source->errMag / 2.35;
    106             outputs->yErr = fwhmMinor * source->errMag / 2.35;
     105            outputs->xErr = fwhmMajor * source->psfMagErr / 2.35;
     106            outputs->yErr = fwhmMinor * source->psfMagErr / 2.35;
    107107        }
    108108        if (isfinite(PAR[PM_PAR_SXX]) && isfinite(PAR[PM_PAR_SXY]) && isfinite(PAR[PM_PAR_SYY])) {
     
    126126            outputs->xPos = source->moments->Mx;
    127127            outputs->yPos = source->moments->My;
    128             outputs->xErr = fwhmMajor * source->errMag / 2.35;
    129             outputs->yErr = fwhmMinor * source->errMag / 2.35;
     128            outputs->xErr = fwhmMajor * source->psfMagErr / 2.35;
     129            outputs->yErr = fwhmMinor * source->psfMagErr / 2.35;
    130130        } else {
    131131            outputs->xPos = source->peak->xf;
Note: See TracChangeset for help on using the changeset viewer.