IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13165


Ignore:
Timestamp:
May 2, 2007, 3:00:32 PM (19 years ago)
Author:
eugene
Message:

testing alternate stats measurements

File:
1 edited

Legend:

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

    r12806 r13165  
    8888    // XXX allow statitic to be set by the user
    8989    psStats *fitStats = psStatsAlloc (PS_STAT_CLIPPED_MEAN | PS_STAT_CLIPPED_STDEV);
     90    // psStats *fitStats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
    9091    fitStats->clipSigma = psMetadataLookupF32 (&status, recipe, "PSASTRO.CHIP.NSIGMA");
    9192    fitStats->clipIter = psMetadataLookupS32 (&status, recipe, "PSASTRO.CHIP.NITER");
     
    107108    // pixError is the average 1D scatter in pixels ('results' are in FPA units = microns)
    108109    float pixError = 0.5*(results->xStats->clippedStdev + results->yStats->clippedStdev) / pixelScale;
     110    // float pixError = 0.5*(results->xStats->robustStdev + results->yStats->robustStdev) / pixelScale;
    109111
    110112    // astError is the average 1D scatter in arcsec ('results' are in FPA units = microns)
    111113    float astError = 0.5*(results->xStats->clippedStdev + results->yStats->clippedStdev) * plateScale;
     114    // float astError = 0.5*(results->xStats->robustStdev + results->yStats->robustStdev) * plateScale;
    112115    int astNstar = results->yStats->clippedNvalues;
    113116
     
    144147        psastroDumpRawstars (rawstars, fpa, chip);
    145148    }
     149    if (psTraceGetLevel("psastro.dump") > 0) {
     150        psastroDumpStars (refstars, "refstars.cal.dat");
     151    }
    146152
    147153    if (psTraceGetLevel("psastro.plot") > 0) {
Note: See TracChangeset for help on using the changeset viewer.