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

psStats.h File Reference


Detailed Description

basic statistical operations

xd * 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.

Author:
George Gusciora, MHPCC
Version:
Revision
1.40
Name
rel5_0
Date:
Date
2005/03/29 22:34:59
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:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  psStats
 This is the generic statistics structure. More...
struct  psHistogram
 The basic histogram structure which contains bounds and bins. More...

Defines

#define PS_STATS_H

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)


Define Documentation

#define PS_STATS_H
 

Definition at line 18 of file psStats.h.


Generated on Mon Apr 4 18:24:46 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1