IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6185


Ignore:
Timestamp:
Jan 23, 2006, 10:44:29 AM (20 years ago)
Author:
gusciora
Message:

psMinimize is now split into 3 files.

Location:
trunk/psLib/src
Files:
7 edited

Legend:

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

    r6101 r6185  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-01-21 02:43:31 $
     10 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-01-23 20:44:29 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1818#define PS_MINIMIZE_LMM_H
    1919
    20 /** \file psMinimize.h
     20/** \file psMinimizeLMM.h
    2121 *  \brief minimization operations
    2222 *  \ingroup Stats
  • trunk/psLib/src/math/psMinimizePolyFit.c

    r6101 r6185  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-01-21 02:43:31 $
     12 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-01-23 20:44:29 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    862862    psF32 minClipSigma;
    863863    psF32 maxClipSigma;
    864 
    865864    if (isnan(stats->max) || isfinite(stats->max)) {
    866865        maxClipSigma = fabs(stats->clipSigma);
     
    873872        minClipSigma = fabs(stats->min);
    874873    }
     874
    875875    psVector *fit   = NULL;
    876876    psVector *resid = psVectorAlloc(f->n, PS_TYPE_F64);
     
    881881    // for now, for the SAMPLE_MEDIAN and SAMPLE_STDEV to be used
    882882    stats->options |= (PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV);
    883 
    884883    psTrace(__func__, 4, "stats->clipIter is %d\n", stats->clipIter);
    885884    psTrace(__func__, 4, "(minClipSigma, maxClipSigma) is (%.2f, %.2f)\n", minClipSigma, maxClipSigma);
     885
    886886    //
    887887    for (int N = 0; N < stats->clipIter; N++) {
    888888        psTrace(__func__, 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n");
    889889        int Nkeep = 0;
    890         // XXX: Check error codes
    891890        if (psTraceGetLevel(__func__) >= 6) {
    892891            if (mask != NULL) {
     
    902901        }
    903902
     903        // XXX: Check error codes
    904904        fit = psPolynomial1DEvalVector(poly, x);
    905905        for (psS32 i = 0 ; i < f->n ; i++) {
  • trunk/psLib/src/math/psMinimizePolyFit.h

    r6101 r6185  
    1010 *  XXX: Must Doxygenate.
    1111 *
    12  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-01-21 02:43:31 $
     12 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-01-23 20:44:29 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2020#define PS_MINIMIZE_POLYFIT_H
    2121
    22 /** \file psMinimize.h
     22/** \file psMinimizePolyFit.h
    2323 *  \brief minimization operations
    2424 *  \ingroup Stats
  • trunk/psLib/src/math/psMinimizePowell.h

    r6101 r6185  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2006-01-21 02:43:31 $
     10 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2006-01-23 20:44:29 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1818#define PS_MINIMIZE_POWELL_H
    1919
    20 /** \file psMinimize.h
     20/** \file psMinimizePowell.h
    2121 *  \brief minimization operations
    2222 *  \ingroup Stats
  • trunk/psLib/src/math/psStats.c

    r6101 r6185  
    1717 *
    1818 *
    19  *  @version $Revision: 1.158 $ $Name: not supported by cvs2svn $
    20  *  @date $Date: 2006-01-21 02:43:32 $
     19 *  @version $Revision: 1.159 $ $Name: not supported by cvs2svn $
     20 *  @date $Date: 2006-01-23 20:44:29 $
    2121 *
    2222 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040#include "psError.h"
    4141#include "psStats.h"
    42 #include "psMinimize.h"
     42#include "psMinimizeLMM.h"
     43#include "psMinimizePolyFit.h"
    4344#include "psPolynomial.h"
    4445#include "psConstants.h"
  • trunk/psLib/src/pslib_strict.h

    r5512 r6185  
    99*  @author Eric Van Alst, MHPCC
    1010*
    11 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-11-14 22:18:05 $
     11*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2006-01-23 20:44:29 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7575#include "psConstants.h"
    7676#include "psMatrix.h"
    77 #include "psMinimize.h"
     77#include "psMinimizeLMM.h"
     78#include "psMinimizePowell.h"
     79#include "psMinimizePolyFit.h"
    7880#include "psRandom.h"
    7981#include "psPolynomial.h"
  • trunk/psLib/src/sys/psMemory.c

    r5216 r6185  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2005-10-01 02:22:13 $
     10*  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-01-23 20:44:29 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4141#include "psSphereOps.h"
    4242//#include "psStats.h"
    43 #include "psMinimize.h"
     43#include "psMinimizeLMM.h"
    4444#include "psImageConvolve.h"
    4545#include "psTime.h"
Note: See TracChangeset for help on using the changeset viewer.