IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2004, 10:08:22 AM (22 years ago)
Author:
gusciora
Message:

psCOmments.h

File:
1 edited

Legend:

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

    r1846 r1879  
    99 *  @author George Gusciora, MHPCC
    1010 *
    11  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-09-22 01:30:21 $
     11 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-09-24 20:08:22 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2323
    2424/*****************************************************************************/
    25 
    2625/* INCLUDE FILES                                                             */
    27 
    2826/*****************************************************************************/
    2927#include "psMemory.h"
     
    3836
    3937/*****************************************************************************/
    40 
    4138/* DEFINE STATEMENTS                                                         */
    42 
    4339/*****************************************************************************/
    4440// will use robust statistical methods.
     
    8884
    8985/*****************************************************************************/
    90 
    9186/* TYPE DEFINITIONS                                                          */
    92 
    9387/*****************************************************************************/
    9488
    9589/*****************************************************************************/
    96 
    9790/* GLOBAL VARIABLES                                                          */
    98 
    9991/*****************************************************************************/
    10092
     
    10294
    10395/*****************************************************************************/
    104 
    10596/* FILE STATIC VARIABLES                                                     */
    106 
    10797/*****************************************************************************/
    10898
     
    110100
    111101/*****************************************************************************/
    112 
    113102/* FUNCTION IMPLEMENTATION - LOCAL                                           */
    114 
    115103/*****************************************************************************/
    116104
     
    471459    // regardless of the vector size.
    472460    /*
    473      * if (myVector->n > stats->sampleLimit) { psAbort(__func__, "Robust Statistic Algorithms have not yet
    474      * been defined or implemented.");
    475      *
    476461     * // Calculate the robust quartiles. stats2 = psStatsAlloc(PS_STAT_ROBUST_MEDIAN);
    477462     * p_psVectorRobustStats(myVector, maskVector, maskVal, stats2);
     
    15251510    newStruct->sampleUQ = NAN;
    15261511    newStruct->sampleLQ = NAN;
    1527     newStruct->sampleLimit = 30000;
    15281512    newStruct->robustMean = NAN;
    15291513    newStruct->robustMedian = NAN;
     
    17801764algorithms stablize, we will then macro everything and put type support in
    17811765the various stat functions.
     1766 
     1767XXX: Should the default data type be F64?  Since we are buying Athlons...
    17821768 *****************************************************************************/
    17831769psVector* p_psConvertToF32(psStats* stats, psVector* in, psVector* mask, unsigned int maskVal)
     
    18261812macro-ize everything and add PS_TYPE_U16 and PS_TYPE_F64.
    18271813 *****************************************************************************/
    1828 psStats* psVectorStats(psStats* stats, psVector* in, psVector* mask, unsigned int maskVal)
     1814psStats* psVectorStats(psStats* stats,
     1815                       psVector* in,
     1816                       psVector* mask,
     1817                       unsigned int maskVal)
    18291818{
    18301819    psVector* inF32;
Note: See TracChangeset for help on using the changeset viewer.