IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 20, 2009, 3:21:57 PM (17 years ago)
Author:
eugene
Message:

load errors with positions and mags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091113/psastro/src/psastroConvert.c

    r26166 r26222  
    154154
    155155        psF32 *PAR = model->params->data.F32;
    156         // psF32 *dPAR = model->dparams->data.F32;
     156        psF32 *dPAR = model->dparams->data.F32;
    157157
    158158        pmAstromObj *obj = pmAstromObjAlloc ();
     
    161161        obj->pix->x    = PAR[PM_PAR_XPOS];
    162162        obj->pix->y    = PAR[PM_PAR_YPOS];
    163        
    164         // XXX load the position errors if we want to calculate the systematic error
    165         // obj->pix->xErr = dPAR[PM_PAR_XPOS];
    166         // obj->pix->yErr = dPAR[PM_PAR_YPOS];
     163        obj->pix->xErr = dPAR[PM_PAR_XPOS];
     164        obj->pix->yErr = dPAR[PM_PAR_YPOS];
    167165        obj->Mag = source->psfMag;
     166        obj->dMag = source->errMag;
    168167
    169168        // XXX do we have the information giving the readout and cell offset?
Note: See TracChangeset for help on using the changeset viewer.