Changeset 11200 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Jan 19, 2007, 3:46:30 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r11189 r11200 36 36 37 37 // supply the measured sky variance for optional constant errors (non-poissonian) 38 float SKY_S TDEV = psMetadataLookupF32 (&status, recipe, "SKY_STDEV");39 if (!status) { 40 SKY_S TDEV= 1.0;41 psWarning("SKY_S TDEV is not set --- defaulting to %f\n", SKY_STDEV);38 float SKY_SIG = psMetadataLookupF32 (&status, recipe, "SKY_SIG"); 39 if (!status) { 40 SKY_SIG = 1.0; 41 psWarning("SKY_SIG is not set --- defaulting to %f\n", SKY_SIG); 42 42 } 43 43 // use poissonian errors or local-sky errors … … 47 47 psWarning("POISSON_ERRORS is not set in the recipe --- defaulting to true.\n"); 48 48 } 49 pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_S TDEV), POISSON_ERRORS);49 pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_SIG), POISSON_ERRORS); 50 50 51 51 // use poissonian errors or local-sky errors
Note:
See TracChangeset
for help on using the changeset viewer.
