IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36324


Ignore:
Timestamp:
Nov 28, 2013, 1:22:58 PM (13 years ago)
Author:
eugene
Message:

extended sersic valid index range to 8.0; interactive printout pmPCM_Min

Location:
branches/eam_branches/ipp-20130904/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psModules/src/objects/models/pmModel_SERSIC.c

    r36085 r36324  
    7575
    7676// Lax parameter limits
    77 static float paramsMinLax[] = { -1.0e3, 1.0e-2, -100, -100, 0.001, 0.001, -1.0, 0.1 };
     77static float paramsMinLax[] = { -1.0e3, 1.0e-2, -100, -100, 0.001, 0.001, -1.0, 0.0625 };
    7878static float paramsMaxLax[] = { 1.0e5, 1.0e9, 1.0e5, 1.0e5, 100, 100, 1.0, 1.0 };
    7979
  • branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCM_MinimizeChisq.c

    r36320 r36324  
    135135        }
    136136
    137         if (1) {
     137        if (min->isInteractive) {
    138138            fprintf (stderr, "%d : ", min->iter);
    139139            for (int ti = 0; ti < params->n; ti++) {
     
    148148        // set a new guess for Alpha, Beta, Params
    149149        if (!psMinLM_GuessABP(Alpha, Beta, Params, alpha, beta, params, paramMask, checkLimits, lambda, &dLinear)) {
    150             if (min->isInteractive) {
     150            if (false && min->isInteractive) {
    151151                fprintf (stdout, "guess failed (singular matrix or NaN values), continue? [Y,n] ");
    152152                if (!fgets(key, 8, stdin)) {
     
    175175        }
    176176
    177         if (min->isInteractive) {
     177        if (false && min->isInteractive) {
    178178            p_psVectorPrint(psTraceGetDestination(), Params, "current parameters: ");
    179179            fprintf (stdout, "last chisq : %f\n", min->value);
Note: See TracChangeset for help on using the changeset viewer.