Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psStats.h File Reference


Detailed Description

basic statistical operations

This file will hold the definition of the histogram and stats data structures. It also contains prototypes for procedures which operate on those data structures.

XXX: The following stats members are never used, or set in this code. stats->robustN50 stats->clippedNvalues stats->binsize

Author:
GLG, MHPCC
Version:
Revision
1.42
Name
rel6_0
Date:
Date
2005/06/08 23:40:45
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psStats.h.

#include "psVector.h"

Include dependency graph for psStats.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  psStatsOptions {
  PS_STAT_SAMPLE_MEAN = 0x000001, PS_STAT_SAMPLE_MEDIAN = 0x000002, PS_STAT_SAMPLE_STDEV = 0x000004, PS_STAT_SAMPLE_QUARTILE = 0x000008, PS_STAT_ROBUST_MEAN = 0x000010, PS_STAT_ROBUST_MEDIAN = 0x000020, PS_STAT_ROBUST_MODE = 0x000040, PS_STAT_ROBUST_STDEV = 0x000080, PS_STAT_ROBUST_QUARTILE = 0x000100, PS_STAT_CLIPPED_MEAN = 0x000200,
  PS_STAT_CLIPPED_STDEV = 0x000400, PS_STAT_MAX = 0x000800, PS_STAT_MIN = 0x001000, PS_STAT_USE_RANGE = 0x002000, PS_STAT_USE_BINSIZE = 0x004000, PS_STAT_ROBUST_FOR_SAMPLE = 0x008000
}
 enumeration of statistical calculation options More...

Functions

psStatspsVectorStats (psStats *stats, const psVector *in, const psVector *errors, const psVector *mask, psU32 maskVal)
 Performs statistical calculations on a vector.
psStatspsStatsAlloc (psStatsOptions options)
 Allocator of the psStats structure.
psHistogrampsHistogramAlloc (psF32 lower, psF32 upper, psS32 n)
 Allocator for psHistogram where the bounds of the bins are implicitly specified through simply specifying an upper and lower limit along with the size of the bins.
psHistogrampsHistogramAllocGeneric (const psVector *bounds)
 Allocator for psHistogram where the bounds of the bins are explicitly specified.
psHistogrampsVectorHistogram (psHistogram *out, const psVector *in, const psVector *errors, const psVector *mask, psU32 maskVal)
 Calculate a histogram.
psBool p_psGetStatValue (const psStats *stats, psF64 *value)
 Extracts the statistic value specified by stats->options.
void p_psNormalizeVectorRangeU8 (psVector *myData, psU8 low, psU8 high)
void p_psNormalizeVectorRangeU16 (psVector *myData, psU16 low, psU16 high)
void p_psNormalizeVectorRangeU32 (psVector *myData, psU32 low, psU32 high)
void p_psNormalizeVectorRangeU64 (psVector *myData, psU64 low, psU64 high)
void p_psNormalizeVectorRangeS8 (psVector *myData, psS8 low, psS8 high)
void p_psNormalizeVectorRangeS16 (psVector *myData, psS16 low, psS16 high)
void p_psNormalizeVectorRangeS32 (psVector *myData, psS32 low, psS32 high)
void p_psNormalizeVectorRangeS64 (psVector *myData, psS64 low, psS64 high)
void p_psNormalizeVectorRangeF32 (psVector *myData, psF32 low, psF32 high)
void p_psNormalizeVectorRangeF64 (psVector *myData, psF64 low, psF64 high)


Generated on Wed Jun 15 11:01:08 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1