IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2005, 4:00:11 PM (21 years ago)
Author:
desonia
Message:

merged eam_r8.0_b2 into CVS trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r5576 r5624  
    77 *  on those data structures.
    88 *
    9 *  @author GLG, MHPCC
    10 *
    11 *  XXX: The following stats members are never used, or set in this code.
    12 *      stats->robustN50
    13 *      stats->clippedNvalues
    14 *      stats->binsize
    15 *
    16 *
    17 *
    18 *
    19 *  @version $Revision: 1.154 $ $Name: not supported by cvs2svn $
    20 *  @date $Date: 2005-11-22 21:40:40 $
    21 *
    22 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    23 */
     9 *  @author GLG, MHPCC
     10 *
     11 *  XXX: The following stats members are never used, or set in this code.
     12 *      stats->robustN50
     13 *      stats->clippedNvalues
     14 *      stats->binsize
     15 *
     16 *
     17 *
     18 *
     19 *  @version $Revision: 1.155 $ $Name: not supported by cvs2svn $
     20 *  @date $Date: 2005-11-30 02:00:09 $
     21 *
     22 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     23 */
    2424
    2525#include <stdlib.h>
     
    11311131        statsTmp = psStatsAlloc(PS_STAT_SAMPLE_MEAN);
    11321132        p_psMemSetPersistent(statsTmp, true);
     1133    } else {
     1134        // XXX EAM : initialize structure if already allocated
     1135        statsTmp->sampleMean = NAN;
     1136        statsTmp->sampleMedian = NAN;
     1137        statsTmp->sampleStdev = NAN;
     1138        statsTmp->sampleUQ = NAN;
     1139        statsTmp->sampleLQ = NAN;
     1140        statsTmp->robustMean = NAN;
     1141        statsTmp->robustMedian = NAN;
     1142        statsTmp->robustMode = NAN;
     1143        statsTmp->robustStdev = NAN;
     1144        statsTmp->robustUQ = NAN;
     1145        statsTmp->robustLQ = NAN;
     1146        statsTmp->robustN50 = -1;            // XXX: This is never used
     1147        statsTmp->robustNfit = -1;
     1148        statsTmp->clippedMean = NAN;
     1149        statsTmp->clippedStdev = NAN;
     1150        statsTmp->clippedNvalues = -1;     // XXX: This is never used
     1151        statsTmp->clipSigma = 3.0;
     1152        statsTmp->clipIter = 3;
     1153        statsTmp->min = NAN;
     1154        statsTmp->max = NAN;
     1155        statsTmp->binsize = NAN;          // XXX: This is never used
    11331156    }
    11341157
Note: See TracChangeset for help on using the changeset viewer.