IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26166


Ignore:
Timestamp:
Nov 16, 2009, 6:33:09 PM (17 years ago)
Author:
eugene
Message:

prepare to include positions errors

File:
1 edited

Legend:

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

    r23303 r26166  
    127127
    128128    psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.RAWSTARS", PS_DATA_ARRAY, "astrometry objects", rawStars);
     129
    129130    psLogMsg ("psastro", 4, "loaded %ld sources, using %ld of %ld good sources (inst mag: %f to %f)\n", sources->n, rawStars->n, inStars->n, mMin, mMax);
    130131    psLogMsg ("psastro", 4, "skip reasons: mode: %d, faint: %d, bright: %d, inf: %d\n", nModeSkip, nFaintSkip, nBrightSkip, nInfSkip);
     
    153154
    154155        psF32 *PAR = model->params->data.F32;
     156        // psF32 *dPAR = model->dparams->data.F32;
    155157
    156158        pmAstromObj *obj = pmAstromObjAlloc ();
    157159
    158160        // is the source magnitude calibrated in any sense?
    159         obj->pix->x = PAR[PM_PAR_XPOS];
    160         obj->pix->y = PAR[PM_PAR_YPOS];
     161        obj->pix->x    = PAR[PM_PAR_XPOS];
     162        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];
    161167        obj->Mag = source->psfMag;
    162168
Note: See TracChangeset for help on using the changeset viewer.