Changeset 40771
- Timestamp:
- May 30, 2019, 8:30:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_mkslit.c
r40755 r40771 109 109 110 110 // set the sky in the entire window 111 out[ix + iy*Nx] = sky ? sky->elements.Flt[iy] : 0.0;111 out[ix + iy*Nx] = NAN; 112 112 113 113 // equivalent coord in the profile: … … 117 117 118 118 // a default value: 119 float vsky = sky ? sky->elements.Flt[iy] : 0.0; 119 120 float vout = NAN; 120 121 … … 140 141 if (flux) vout *= flux->elements.Flt[iy]; 141 142 142 out[ix + iy*Nx] +=vout;143 out[ix + iy*Nx] = vsky + vout; 143 144 } 144 145 }
Note:
See TracChangeset
for help on using the changeset viewer.
