IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2006, 1:49:11 PM (20 years ago)
Author:
gusciora
Message:

Made the requested changes to the psStats structure and added the fitted
statistics.

File:
1 edited

Legend:

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

    r4898 r6215  
    1414 *  @author GLG, MHPCC
    1515 *
    16  *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2005-08-30 01:14:13 $
     16 *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-01-26 23:49:11 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3737// XXX: Is PS_STAT_ROBUST_FOR_SAMPLE obsolete?
    3838typedef enum {
    39     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_MEAN = 0x000010,         ///< Robust Mean
    44     PS_STAT_ROBUST_MEDIAN = 0x000020,       ///< Robust Median
    45     PS_STAT_ROBUST_MODE = 0x000040,         ///< Robust Mode
    46     PS_STAT_ROBUST_STDEV = 0x000080,        ///< Robust Standarad Deviation
    47     PS_STAT_ROBUST_QUARTILE = 0x000100,     ///< Robust Quartile
    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
     39    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
    5454} psStatsOptions;
    5555
     
    6262    double sampleMedian;               ///< formal median of sample
    6363    double sampleStdev;                ///< standard deviation of sample
     64    double sampleLQ;                   ///< lower quartile of sample
    6465    double sampleUQ;                   ///< upper quartile of sample
    65     double sampleLQ;                   ///< lower quartile of sample
    66     double robustMean;                 ///< robust mean of array
    6766    double robustMedian;               ///< robust median of array
    68     double robustMode;                 ///< Robust mode of array
    6967    double robustStdev;                ///< robust standard deviation of array
    7068    double robustUQ;                   ///< robust upper quartile
    7169    double robustLQ;                   ///< robust lower quartile
    7270    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
    7474    double clippedMean;                ///< Nsigma clipped mean
    7575    double clippedStdev;               ///< standard deviation after clipping
     
    8080    double max;                        ///< maximum data value in array
    8181    double binsize;                    ///< binsize for robust fit (input/ouput)
     82    int nSubsample;                    ///< maxinum number of measurements (input)
    8283    psStatsOptions options;            ///< bitmask of calculated values
    8384}
Note: See TracChangeset for help on using the changeset viewer.