Changeset 6215 for trunk/psLib/src/math/psStats.h
- Timestamp:
- Jan 26, 2006, 1:49:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.h
r4898 r6215 14 14 * @author GLG, MHPCC 15 15 * 16 * @version $Revision: 1.4 8$ $Name: not supported by cvs2svn $17 * @date $Date: 200 5-08-30 01:14:13$16 * @version $Revision: 1.49 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2006-01-26 23:49:11 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 37 37 // XXX: Is PS_STAT_ROBUST_FOR_SAMPLE obsolete? 38 38 typedef enum { 39 PS_STAT_SAMPLE_MEAN = 0x000001,///< Sample Mean40 PS_STAT_SAMPLE_MEDIAN = 0x000002,///< Sample Median41 PS_STAT_SAMPLE_STDEV = 0x000004,///< Sample Standard Deviation42 PS_STAT_SAMPLE_QUARTILE = 0x000008, ///< Sample Quartile43 PS_STAT_ROBUST_ME AN = 0x000010, ///< Robust Mean44 PS_STAT_ROBUST_ MEDIAN = 0x000020, ///< Robust Median45 PS_STAT_ROBUST_ MODE = 0x000040, ///< Robust Mode46 PS_STAT_ ROBUST_STDEV = 0x000080, ///< Robust Standarad Deviation47 PS_STAT_ ROBUST_QUARTILE = 0x000100, ///< Robust Quartile48 PS_STAT_CLIPPED_MEAN = 0x000200,///< Clipped Mean49 PS_STAT_CLIPPED_STDEV = 0x000400,///< Clipped Standard Deviation50 PS_STAT_MAX = 0x000800,///< Maximum51 PS_STAT_MIN = 0x001000,///< Minumum52 PS_STAT_USE_RANGE = 0x002000,///< Range53 PS_STAT_USE_BINSIZE = 0x004000,///< Binsize39 PS_STAT_SAMPLE_MEAN = 0x000001, ///< Sample Mean 40 PS_STAT_SAMPLE_MEDIAN = 0x000002, ///< Sample Median 41 PS_STAT_SAMPLE_STDEV = 0x000004, ///< Sample Standard Deviation 42 PS_STAT_SAMPLE_QUARTILE = 0x000008, ///< Sample Quartile 43 PS_STAT_ROBUST_MEDIAN = 0x000010, ///< Robust Median 44 PS_STAT_ROBUST_STDEV = 0x000020, ///< Robust Standarad Deviation 45 PS_STAT_ROBUST_QUARTILE = 0x000040, ///< Robust Quartile 46 PS_STAT_FITTED_MEAN = 0x000080, ///< Fitted Mean 47 PS_STAT_FITTED_STDEV = 0x000100, ///< Fitted Standard Deviation 48 PS_STAT_CLIPPED_MEAN = 0x000200, ///< Clipped Mean 49 PS_STAT_CLIPPED_STDEV = 0x000400, ///< Clipped Standard Deviation 50 PS_STAT_MAX = 0x000800, ///< Maximum 51 PS_STAT_MIN = 0x001000, ///< Minumum 52 PS_STAT_USE_RANGE = 0x002000, ///< Range 53 PS_STAT_USE_BINSIZE = 0x004000, ///< Binsize 54 54 } psStatsOptions; 55 55 … … 62 62 double sampleMedian; ///< formal median of sample 63 63 double sampleStdev; ///< standard deviation of sample 64 double sampleLQ; ///< lower quartile of sample 64 65 double sampleUQ; ///< upper quartile of sample 65 double sampleLQ; ///< lower quartile of sample66 double robustMean; ///< robust mean of array67 66 double robustMedian; ///< robust median of array 68 double robustMode; ///< Robust mode of array69 67 double robustStdev; ///< robust standard deviation of array 70 68 double robustUQ; ///< robust upper quartile 71 69 double robustLQ; ///< robust lower quartile 72 70 int robustN50; ///< Number of points in Gaussian fit. XXX: This is currently never set. 73 int robustNfit; ///< The number of points between the quartiles. 71 double fittedMean; ///< robust mean of data 72 double fittedStdev; ///< robust standard deviation of data 73 int fittedNfit; ///< Number of points in Gaussian fit 74 74 double clippedMean; ///< Nsigma clipped mean 75 75 double clippedStdev; ///< standard deviation after clipping … … 80 80 double max; ///< maximum data value in array 81 81 double binsize; ///< binsize for robust fit (input/ouput) 82 int nSubsample; ///< maxinum number of measurements (input) 82 83 psStatsOptions options; ///< bitmask of calculated values 83 84 }
Note:
See TracChangeset
for help on using the changeset viewer.
