- Timestamp:
- Mar 19, 2019, 5:52:23 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/mana/deimos_fitobj.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/mana/deimos_fitobj.c
r40643 r40644 205 205 // new concept: start with 2-sigma range, then ramp down below 206 206 for (int iy = 0; iy < Nrow; iy++) { 207 objNoise[iy] = 2* hypot(sqrt(fabs(objVal[iy + row]) / gain), noiseVar);208 skyNoise[iy] = 2* hypot(sqrt(fabs(skyVal[iy + row]) / gain), noiseVar);209 bckNoise[iy] = 2* hypot(sqrt(fabs(bckVal[iy + row]) / gain), noiseVar);207 objNoise[iy] = 2*sqrt(hypot(fabs(objVal[iy + row]) / gain, noiseVar)); 208 skyNoise[iy] = 2*sqrt(hypot(fabs(skyVal[iy + row]) / gain, noiseVar)); 209 bckNoise[iy] = 2*sqrt(hypot(fabs(bckVal[iy + row]) / gain, noiseVar)); 210 210 } 211 211
Note:
See TracChangeset
for help on using the changeset viewer.
