IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 1, 2006, 12:41:33 PM (20 years ago)
Author:
magnier
Message:

fitted Mean now respects the binsize option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tap_psStats_Sample_01.c

    r10384 r10395  
    226226        psMemId id = psMemGetId();
    227227
    228         diag("sample 1");
     228        diag("sample 1 : problem with integer-binned data driven to tiny sigma values");
    229229        psStats *stats = psStatsAlloc (PS_STAT_FITTED_MEAN | PS_STAT_FITTED_STDEV |
    230230                                       PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV |
    231231                                       PS_STAT_CLIPPED_MEAN | PS_STAT_CLIPPED_STDEV |
    232232                                       PS_STAT_SAMPLE_MEAN | PS_STAT_SAMPLE_MEDIAN |
    233                                        PS_STAT_SAMPLE_STDEV);
     233                                       PS_STAT_SAMPLE_STDEV | PS_STAT_USE_BINSIZE);
     234        stats->binsize = 1.0;
     235
    234236
    235237        // copy data in static array
Note: See TracChangeset for help on using the changeset viewer.