IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2007, 6:35:53 PM (19 years ago)
Author:
magnier
Message:

use correct return value from stats after switching to robust median

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtry.c

    r10859 r11158  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-12-30 03:27:19 $
     7 *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-01-19 04:35:53 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    279279        return false;
    280280    }
    281     psLogMsg ("pmPSFtryMetric", 4, "fit stats: %f +/- %f\n", stats->sampleMedian, stats->sampleStdev);
     281    psLogMsg ("pmPSFtryMetric", 4, "fit stats: %f +/- %f\n", stats->robustMedian, stats->robustStdev);
    282282    psLogMsg ("pmPSFtryMetric", 4, "apresid: %f +/- %f\n", poly->coeff[0], poly->coeffErr[0]);
    283283
     
    311311    psfTry->psf->skyBias  = poly->coeff[1];
    312312    psfTry->psf->ApResid  = poly->coeff[0];
    313     psfTry->psf->dApResid = stats->sampleStdev;
     313    psfTry->psf->dApResid = stats->robustStdev;
    314314
    315315    psFree (r2rflux);
Note: See TracChangeset for help on using the changeset viewer.