IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2006, 8:01:05 AM (20 years ago)
Author:
magnier
Message:

updates relative to rel10_ifa_1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSF.h

    r5255 r6872  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-10-10 19:53:40 $
     8 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-04-17 18:01:05 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1515# ifndef PM_PSF_H
    1616# define PM_PSF_H
    17 
    1817
    1918/** pmPSF data structure
     
    3332    pmModelType type;   ///< PSF Model in use
    3433    psArray *params;   ///< Model parameters (psPolynomial2D)
    35     float chisq;   ///< PSF goodness statistic
    36     float ApResid;                      ///< ???
    37     float dApResid;                     ///< ???
    38     float skyBias;                      ///< ???
     34    psPolynomial1D *ChiTrend;  ///< Chisq vs flux fit (correction for systematic errors)
     35    psPolynomial4D *ApTrend;  ///< ApResid vs (x,y,rflux) (rflux = ten(0.4*mInst)
     36    pmGrowthCurve *growth;  ///< apMag vs Radius
     37    float ApResid;   ///< apMag - psfMag (for PSF stars)
     38    float dApResid;   ///< scatter of ApResid
     39    float skyBias;   ///< implied residual sky offset from ApResid fit
     40    float skySat;   ///< roll-over of ApResid fit
     41    float chisq;   ///< PSF goodness statistic (unused??)
    3942    int nPSFstars;   ///< number of stars used to measure PSF
     43    int nApResid;   ///< number of stars used to measure ApResid
     44    bool poissonErrors;
    4045}
    4146pmPSF;
    4247
     48typedef enum {
     49    PM_PSF_NONE,
     50    PM_PSF_CONSTANT,
     51    PM_PSF_SKYBIAS,
     52    PM_PSF_SKYSAT,
     53    PM_PSF_XY_LIN,
     54    PM_PSF_XY_QUAD,
     55    PM_PSF_SKY_XY_LIN,
     56    PM_PSF_SKYSAT_XY_LIN,
     57    PM_PSF_ALL
     58} pmPSF_ApTrendOptions;
    4359
    4460/**
     
    4864 */
    4965pmPSF *pmPSFAlloc(
    50     pmModelType type                    ///< Add comment
     66    pmModelType type,   // type of model for PSF
     67    bool poissonErrors   ///< use poissonian errors or not?
    5168);
    5269
     
    85102);
    86103
     104bool pmPSF_MaskApTrend (pmPSF *psf, pmPSF_ApTrendOptions option);
     105
    87106# endif
Note: See TracChangeset for help on using the changeset viewer.