Changeset 13898 for trunk/psModules/src/objects/pmPSF.h
- Timestamp:
- Jun 19, 2007, 4:22:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSF.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSF.h
r13064 r13898 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 4-27 22:14:08$8 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-06-20 02:22:26 $ 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 11 11 */ … … 31 31 32 32 /** pmPSF data structure 33 * 33 * 34 34 * It is useful to generate a model to define the point-spread-function which 35 35 * describes the flux distribution for unresolved sources in an image. In … … 40 40 * psArray. The other elements of the structure define the quality of the PSF 41 41 * determination. 42 * 42 * 43 43 */ 44 44 typedef struct … … 49 49 // unfitted elements (So, Io, Xo, Yo) and leave them as NULL 50 50 // I am using a new name to catch all refs to params with gcc 51 psPolynomial1D *ChiTrend; ///< Chisq vs flux fit (correction for systematic errors)52 psPolynomial4D *ApTrend; ///< ApResid vs (x,y,rflux) (rflux = ten(0.4*mInst))53 float ApResid; ///< apMag - psfMag (for PSF stars)54 float dApResid; ///< scatter of ApResid55 float skyBias; ///< implied residual sky offset from ApResid fit56 float skySat; ///< roll-over of ApResid fit57 float chisq; ///< PSF goodness statistic (unused??)58 int nPSFstars; ///< number of stars used to measure PSF59 int nApResid; ///< number of stars used to measure ApResid51 psPolynomial1D *ChiTrend; ///< Chisq vs flux fit (correction for systematic errors) 52 psPolynomial4D *ApTrend; ///< ApResid vs (x,y,rflux) (rflux = ten(0.4*mInst)) 53 float ApResid; ///< apMag - psfMag (for PSF stars) 54 float dApResid; ///< scatter of ApResid 55 float skyBias; ///< implied residual sky offset from ApResid fit 56 float skySat; ///< roll-over of ApResid fit 57 float chisq; ///< PSF goodness statistic (unused??) 58 int nPSFstars; ///< number of stars used to measure PSF 59 int nApResid; ///< number of stars used to measure ApResid 60 60 bool poissonErrors; 61 pmGrowthCurve *growth; ///< apMag vs Radius62 pmResiduals *residuals; ///< normalized residual image (no spatial variation)61 pmGrowthCurve *growth; ///< apMag vs Radius 62 pmResiduals *residuals; ///< normalized residual image (no spatial variation) 63 63 } 64 64 pmPSF; … … 69 69 70 70 /** 71 * 71 * 72 72 * Allocator for the pmPSF structure. 73 * 73 * 74 74 */ 75 75 pmPSF *pmPSFAlloc( … … 80 80 81 81 /** 82 * 82 * 83 83 * This function constructs a pmModel instance based on the pmPSF description 84 84 * of the PSF. The input is a pmModel with at least the values of the centroid … … 86 86 * the PSF-dependent parameters are specified for the specific realization based 87 87 * on the coordinates of the object. 88 * 88 * 89 89 */ 90 90 pmModel *pmModelFromPSF( … … 100 100 double pmPSF_SXYtoModel (psF32 *fittedPar); 101 101 102 bool pmGrowthCurveGenerate (pmReadout *readout, pmPSF *psf, bool ignore );102 bool pmGrowthCurveGenerate (pmReadout *readout, pmPSF *psf, bool ignore, psMaskType maskVal, psMaskType mark); 103 103 pmPSF *pmPSFBuildSimple (char *typeName, float sxx, float syy, float sxy, ...); 104 104
Note:
See TracChangeset
for help on using the changeset viewer.
