IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 6, 2006, 11:03:25 AM (20 years ago)
Author:
gusciora
Message:

These changes mostly reflect the new psStats SDRS changes.

However, pmObject.c will fail any real test because the call
to psMinimizeLMM() was commented out due to SDRS changes there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmReadoutCombine.c

    r6206 r6325  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-01-26 21:19:25 $
     7 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-02-06 21:03:25 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    410410    psRegion minRegion;
    411411    psRegion maxRegion;
    412     psStats *minStats = psStatsAlloc(PS_STAT_ROBUST_MEAN);
    413     psStats *maxStats = psStatsAlloc(PS_STAT_ROBUST_MEAN);
     412    psStats *minStats = psStatsAlloc(PS_STAT_FITTED_MEAN);
     413    psStats *maxStats = psStatsAlloc(PS_STAT_FITTED_MEAN);
    414414    psStats *diffStats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN);
    415415    psVector *diffs = psVectorAlloc(fringePoints->n, PS_TYPE_F32);
     
    445445        }
    446446
    447         fp->midValue = 0.5 * (maxStats->robustMean + minStats->robustMean);
    448         fp->delta = maxStats->robustMean - minStats->robustMean;
     447        fp->midValue = 0.5 * (maxStats->fittedMean + minStats->fittedMean);
     448        fp->delta = maxStats->fittedMean - minStats->fittedMean;
    449449        diffs->data.F32[i] = fp->delta;
    450450    }
     
    455455    psFree(diffs);
    456456    if (diffStats == NULL) {
    457         psError(PS_ERR_UNKNOWN, true, "Could not determine robust median of the differences.\n");
     457        psError(PS_ERR_UNKNOWN, true, "Could not determine fitted median of the differences.\n");
    458458        return(NULL);
    459459    }
Note: See TracChangeset for help on using the changeset viewer.