Changeset 31451 for trunk/psModules/src/objects/pmPSF.h
- Timestamp:
- May 5, 2011, 11:02:53 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPSF.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPSF.h
r29004 r31451 31 31 struct pmPSF { 32 32 pmModelType type; ///< PSF Model in use 33 psArray *params; ///< Model parameters (psPolynomial2D) 34 psStats *psfTrendStats; ///< psf parameter trend clipping stats 35 pmTrend2DMode psfTrendMode; 36 psPolynomial1D *ChiTrend; ///< Chisq vs flux fit (correction for systematic errors) 37 pmTrend2D *ApTrend; ///< ApResid vs (x,y) 38 pmTrend2D *FluxScale; ///< Flux for PSF at (x,y) for normalization = 1.0 33 34 float chisq; ///< PSF goodness statistic (unused??) 39 35 float ApResid; ///< apMag - psfMag (for PSF stars) 40 36 float dApResid; ///< scatter of ApResid 41 37 float skyBias; ///< implied residual sky offset from ApResid fit 42 38 float skySat; ///< roll-over of ApResid fit 43 float chisq; ///< PSF goodness statistic (unused??)44 39 int nPSFstars; ///< number of stars used to measure PSF 45 40 int nApResid; ///< number of stars used to measure ApResid 41 42 bool poissonErrorsPhotLMM; ///< use poission errors for non-linear model fitting 43 bool poissonErrorsPhotLin; ///< use poission errors for linear model fitting 44 bool poissonErrorsParams; ///< use poission errors for model parameter fitting 45 46 pmTrend2D *ApTrend; ///< ApResid vs (x,y) 47 pmTrend2D *FluxScale; ///< Flux for PSF at (x,y) for normalization = 1.0 48 psPolynomial1D *ChiTrend; ///< Chisq vs flux fit (correction for systematic errors) 49 50 pmGrowthCurve *growth; ///< apMag vs Radius 51 pmResiduals *residuals; ///< normalized residual image (no spatial variation) 52 53 psArray *params; ///< Model parameters (psPolynomial2D) 54 psStats *psfTrendStats; ///< psf parameter trend clipping stats 55 56 pmTrend2DMode psfTrendMode; 46 57 int trendNx; 47 58 int trendNy; … … 50 61 int fieldXo; 51 62 int fieldYo; 52 bool poissonErrorsPhotLMM; ///< use poission errors for non-linear model fitting53 bool poissonErrorsPhotLin; ///< use poission errors for linear model fitting54 bool poissonErrorsParams; ///< use poission errors for model parameter fitting55 pmGrowthCurve *growth; ///< apMag vs Radius56 pmResiduals *residuals; ///< normalized residual image (no spatial variation)57 63 }; 58 64 … … 60 66 pmModelType type; 61 67 psStats *stats; // psfTrend clipping stats 68 62 69 pmTrend2DMode psfTrendMode; 63 70 int psfTrendNx; … … 67 74 int psfFieldXo; 68 75 int psfFieldYo; 76 69 77 bool poissonErrorsPhotLMM; ///< use poission errors for non-linear model fitting 70 78 bool poissonErrorsPhotLin; ///< use poission errors for linear model fitting 71 79 bool poissonErrorsParams; ///< use poission errors for model parameter fitting 80 81 bool chiFluxTrend; // Fit a trend in Chi2 as a function of flux? 82 pmSourceFitOptions *fitOptions; 83 72 84 float fitRadius; 73 85 float apRadius; 74 bool chiFluxTrend; // Fit a trend in Chi2 as a function of flux?75 pmSourceFitOptions *fitOptions;76 86 } pmPSFOptions; 77 87 … … 94 104 double pmPSF_SXYtoModel (psF32 *fittedPar); 95 105 96 bool pmGrowthCurveGenerate (pmReadout *readout, pmPSF *psf, bool ignore, psImageMaskType maskVal, psImageMaskType mark);97 106 pmPSF *pmPSFBuildSimple (char *typeName, float sxx, float syy, float sxy, ...); 98 107
Note:
See TracChangeset
for help on using the changeset viewer.
