IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 10, 2006, 10:21:36 AM (20 years ago)
Author:
magnier
Message:

adding chisq-flux trend corrections; adding option to use non-poisson errors for fits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/objects/pmPSF.c

    r6556 r6825  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.4.4.2 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-03-09 03:14:23 $
     8 *  @version $Revision: 1.4.4.3 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-04-10 20:21:36 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9797    pmPSF_MaskApTrend (psf, PM_PSF_SKYBIAS);
    9898
     99    if (PM_PSF_POISSON_WEIGHTS) {
     100        psf->ChiTrend = psPolynomial1DAlloc (PS_POLYNOMIAL_ORD, 1);
     101    } else {
     102        psf->ChiTrend = psPolynomial1DAlloc (PS_POLYNOMIAL_ORD, 2);
     103    }
     104
    99105    // don't define a growth curve : user needs to choose radius bins
    100106    psf->growth = NULL;
Note: See TracChangeset for help on using the changeset viewer.