Skip to content

Commit

Permalink
Update hyperspectral_img_simulator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmet1977 committed May 27, 2021
1 parent c2f8651 commit df68f42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions luxpy/toolboxes/hypspcim/hyperspectral_img_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,8 @@ def render_image(img = None, spd = None, rfl = None, out = 'img_hyp', \

if img.dtype == np.uint8:
img = img/255
print('img/255')
elif img.dtype == np.uint16:
img = img/(2**16-1)
print('img/2**16-1')
elif (img.dtype == np.float64) | (img.dtype == np.float32):
pass
else:
Expand Down

0 comments on commit df68f42

Please sign in to comment.