IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9556


Ignore:
Timestamp:
Oct 13, 2006, 2:15:47 PM (20 years ago)
Author:
magnier
Message:

more psTrace cleanups, removed redundant func in trace messages

File:
1 edited

Legend:

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

    r9540 r9556  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-10-13 22:04:58 $
     12 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-14 00:15:47 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    117117    if (false == psMatrixGJSolve(Alpha, Beta)) {
    118118        // psError(PS_ERR_UNKNOWN, false, "singular matrix in Guess ABP\n");
    119         psTrace (__func__, 4, "singular matrix in Guess ABP\n");
     119        psTrace ("psLib.math", 4, "singular matrix in Guess ABP\n");
    120120        return(false);
    121121    }
     
    158158    psMinimizeLMChi2Func func)
    159159{
    160     psTrace("psLib.math", 3, "---- %s() begin ----\n", __func__);
     160    psTrace("psLib.math", 3, "---- begin ----\n");
    161161    // allocate internal arrays (current vs Guess)
    162162    psImage  *alpha  = psImageAlloc (params->n, params->n, PS_TYPE_F64);
     
    335335    psMinimizeLMChi2Func func)
    336336{
    337     psTrace("psLib.math", 3, "---- %s() begin ----\n", __func__);
     337    psTrace("psLib.math", 3, "---- begin ----\n");
    338338    PS_ASSERT_PTR_NON_NULL(min, false);
    339339    // XXX: If covar not NULL, do asserts...
     
    414414        p_psVectorPrint(psTraceGetDestination(), params, "params guess (0)");
    415415    }
    416     if (psTraceGetLevel (__func__) >= 6) {
     416    if (psTraceGetLevel ("psLib.math.psMinimizeLMChi2") >= 6) {
    417417        psTrace("psLib.math", 6, "The current Param vector: \n");
    418418        for (psS32 i = 0 ; i < Params->n ; i++) {
     
    444444        }
    445445        if (psTraceGetLevel("psLib.math") >= 6) {
    446             if (psTraceGetLevel (__func__) >= 6) {
     446            if (psTraceGetLevel ("psLib.math") >= 6) {
    447447                psTrace("psLib.math", 6, "The current Param vector: \n");
    448448                for (psS32 i = 0 ; i < Params->n ; i++) {
     
    495495        if (!p_psMinLM_GuessABP(covar, Beta, Params, alpha, beta, params, paramMask,
    496496                                paramDelta, paramMin, paramMax, 0.0)) {
    497             psTrace (__func__, 5, "failure to calculate covariance matrix\n");
     497            psTrace ("psLib.math", 5, "failure to calculate covariance matrix\n");
    498498        }
    499499    }
     
    509509    }
    510510    if (min->iter == min->maxIter) {
    511         psTrace("psLib.math", 3, "---- %s(false) end ----\n", __func__);
     511        psTrace("psLib.math", 3, "---- end (false) ----\n");
    512512        return(false);
    513513    }
    514     psTrace("psLib.math", 3, "---- %s(true) end ----\n", __func__);
     514    psTrace("psLib.math", 3, "---- end (true) ----\n");
    515515    return(true);
    516516}
Note: See TracChangeset for help on using the changeset viewer.