Changeset 20366 for trunk/ppSim/src/ppSimMakeSky.c
- Timestamp:
- Oct 24, 2008, 2:53:53 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimMakeSky.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimMakeSky.c
r18993 r20366 82 82 // add a scattered light term to the flat-field images 83 83 if (type == PPSIM_TYPE_FLAT) { 84 float xF = 2.0*(xFPA / dXfpa) - 1.0; 85 scatterRate = scatterFrac * PS_SQR(xF); 84 scatterRate = scatterFrac * PS_SQR(xFPA); 86 85 } 87 86 … … 94 93 // used later to modify the star and galaxy photometry 95 94 if (expCorr) { 96 expCorr->data.F32[y][x] = realExpTime / expTime; 95 // exposure correction is (effective exposure time) * (flatValue) 96 expCorr->data.F32[y][x] = flatValue * realExpTime / expTime; 97 97 } 98 98
Note:
See TracChangeset
for help on using the changeset viewer.
