IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2009, 2:57:41 PM (16 years ago)
Author:
eugene
Message:

various fixes to psastro:

1) added bootstrap resampling to zero point error analysis
2) added iterative clump removal from refstars and rawstars
3) added unique reference match option
4) some improved visualizations
5) improved mosaic iterations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroConvert.c

    r23303 r26259  
    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        obj->pix->xErr = dPAR[PM_PAR_XPOS];
     164        obj->pix->yErr = dPAR[PM_PAR_YPOS];
    161165        obj->Mag = source->psfMag;
     166        obj->dMag = source->errMag;
    162167
    163168        // XXX do we have the information giving the readout and cell offset?
Note: See TracChangeset for help on using the changeset viewer.