Changeset 6851 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Apr 12, 2006, 8:59:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r6715 r6851 27 27 int NSTARS = psMetadataLookupS32 (&status, config, "PSF_MAX_NSTARS"); 28 28 if (!status) NSTARS = PS_MIN (sources->n, 200); 29 30 // use poissonian errors or local-sky errors 31 bool POISSON_ERRORS = psMetadataLookupBool (&status, config, "POISSON_ERRORS"); 32 if (!status) POISSON_ERRORS = true; 33 pmSourceFitModelInit (15, 0.1, POISSON_ERRORS); 29 34 30 35 stars = psArrayAlloc (sources->n); … … 63 68 psMetadataItem *item = psListGetAndIncrement (iter); 64 69 modelName = item->data.V; 65 models->data[i] = pmPSFtryModel (stars, modelName, RADIUS );70 models->data[i] = pmPSFtryModel (stars, modelName, RADIUS, POISSON_ERRORS); 66 71 } 67 72 psFree (iter);
Note:
See TracChangeset
for help on using the changeset viewer.
