IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

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

    r1980 r2204  
    1010 *  @author George Gusciora, MHPCC
    1111 *
    12  *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-10-06 20:07:04 $
     12 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-10-27 00:57:31 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6767    double robustUQ;            ///< robust upper quartile
    6868    double robustLQ;            ///< robust lower quartile
    69     int robustN50;              ///<
    70     int robustNfit;             ///<
     69    psS32 robustN50;              ///<
     70    psS32 robustNfit;             ///<
    7171    double clippedMean;         ///< Nsigma clipped mean
    7272    double clippedStdev;        ///< standard deviation after clipping
    73     int clippedNvalues;         ///< ???
     73    psS32 clippedNvalues;         ///< ???
    7474    double clipSigma;           ///< Nsigma used for clipping; user input
    75     int clipIter;               ///< Number of clipping iterations; user input
     75    psS32 clipIter;               ///< Number of clipping iterations; user input
    7676    double min;                 ///< minimum data value in array
    7777    double max;                 ///< maximum data value in array
     
    8989    psVector* in,    ///< Vector to be analysed: must be F32
    9090    psVector* mask,    ///< Ignore elements where (maskVector & maskVal) != 0: must be INT or NULL
    91     unsigned int maskVal    ///< Only mask elements with one of these bits set in maskVector
     91    psU32 maskVal    ///< Only mask elements with one of these bits set in maskVector
    9292);
    9393
     
    118118    psVector* bounds;                  ///< Bounds for the bins (type F32)
    119119    psVector* nums;                    ///< Number in each of the bins (INT)
    120     int minNum;                        ///< Number below the minimum
    121     int maxNum;                        ///< Number above the maximum
    122     bool uniform;                      ///< Is it a uniform distribution?
     120    psS32 minNum;                        ///< Number below the minimum
     121    psS32 maxNum;                        ///< Number above the maximum
     122    psBool uniform;                      ///< Is it a uniform distribution?
    123123}
    124124psHistogram;
     
    133133    float lower,                       ///< Lower limit for the bins
    134134    float upper,                       ///< Upper limit for the bins
    135     int n                              ///< Number of bins
     135    psS32 n                              ///< Number of bins
    136136);
    137137
     
    157157    const psVector* restrict in,       ///< Vector to analyse
    158158    const psVector* restrict mask,     ///< Mask dat for input vector
    159     unsigned int maskVal               ///< Mask value
     159    psU32 maskVal               ///< Mask value
    160160);
    161161
    162162/** Extracts the statistic value specified by stats->options.
    163163 *
    164  *  @return bool    If more than one statistic result is set in stats->options,
     164 *  @return psBool    If more than one statistic result is set in stats->options,
    165165 *                  false is returned and the value parameter is not set,
    166166 *                  otherwise true is returned.
    167167 */
    168 bool p_psGetStatValue(
     168psBool p_psGetStatValue(
    169169    const psStats* stats,
    170170    ///< the statistic struct to operate on
Note: See TracChangeset for help on using the changeset viewer.