Changeset 18611 for trunk/psModules/src/imcombine/pmPSFEnvelope.c
- Timestamp:
- Jul 17, 2008, 5:19:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmPSFEnvelope.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmPSFEnvelope.c
r18566 r18611 34 34 #define PEAK_FLUX 1.0e4 // Peak flux for each source 35 35 #define SKY_VALUE 0.0e0 // Sky value for fake image 36 #define WEIGHT_VAL 10.0// Weighting for image36 #define WEIGHT_VAL 3.0 // Weighting for image 37 37 #define WEIGHT_FACTOR 10.0 // Factor to multiply image by to get weighting 38 38 #define PSF_STATS PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV // Statistics options for measuring PSF … … 251 251 // Don't assume Poisson errors 252 252 pmPSFOptions *options = pmPSFOptionsAlloc(); // Options for fitting a PSF 253 options->poissonErrorsPhotLMM = false;253 options->poissonErrorsPhotLMM = true; 254 254 options->poissonErrorsPhotLin = false; 255 options->poissonErrorsParams = false;255 options->poissonErrorsParams = true; 256 256 options->stats = psStatsAlloc(PSF_STATS); 257 257 options->radius = radius; … … 264 264 options->psfFieldYo = 0; 265 265 266 pmSourceFitModelInit(50, 0.01, WEIGHT_VAL, false);266 pmSourceFitModelInit(50, 0.01, WEIGHT_VAL, true); 267 267 268 268 pmPSFtry *try = pmPSFtryModel(fakes, modelName, options, 0, 0xff);
Note:
See TracChangeset
for help on using the changeset viewer.
