IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

added psfTrendMask to pmPSFAlloc

File:
1 edited

Legend:

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

    r9539 r9563  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-10-13 21:15:45 $
     8 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-10-14 00:56:13 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4747    psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_MODEL_NAME", PS_DATA_STRING, "PSF model name", modelName);
    4848
    49     psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_POISSON_ERRORS", PS_DATA_BOOL, "Poisson errors for fits", psf->poissonErrors);
    50 
    5149    int nPar = pmModelParameterCount (psf->type)    ;
    5250    psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_MODEL_NPAR", PS_DATA_S32, "PSF model parameter count", nPar);
     
    6462    psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_CHISQ", PS_DATA_F32, "chi-square for fit", psf->chisq);
    6563    psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_NSTARS", PS_DATA_S32, "number of stars used to measure PSF", psf->nPSFstars);
     64    psMetadataAdd (metadata, PS_LIST_TAIL, "PSF_POISSON_ERRORS", PS_DATA_BOOL, "Poisson errors for fits", psf->poissonErrors);
    6665
    6766    return metadata;
     
    8180        poissonErrors = true;
    8281
    83     pmPSF *psf = pmPSFAlloc (type, poissonErrors);
     82    // we determine the PSF parameter polynomials from the MD-defined polynomials
     83    pmPSF *psf = pmPSFAlloc (type, poissonErrors, NULL);
    8484
    8585    int nPar = psMetadataLookupS32 (&status, metadata, "PSF_MODEL_NPAR");
Note: See TracChangeset for help on using the changeset viewer.