from inktime import data, rgbkm
import numpy as np
import matplotlib.pyplot as plt
Rg = data.fetch_blackwhite()[:,:,0:3]
# todo: quick fix multiplier
D = 5 * data.fetch_star()[:,:,0]
K_hansa = np.array([0.06, 0.21, 1.78])
S_hansa = np.array([0.50, 0.88, 0.009])
refl = rgbkm.reflectance(K_hansa, S_hansa, D, Rg)
plt.imshow(refl);