Commit d59471da authored by Niklas Bohn's avatar Niklas Bohn

Updated LUT.

parent 4a37c515
......@@ -198,7 +198,7 @@ class FoGen(object):
# luts, axes_x, axes_y, wvl, lut1, lut2, xnodes, nm_nodes, ndim, x_cell = read_lut_enmap_formatted(
# file_lut=self.fn_table)
with open("/Users/niklasbohn/Desktop/Hyspex_Mjolnir_AC/hyspex_mjolnir_MOD5_LUT.dill", "rb") as fl:
with open("/Users/niklasbohn/Desktop/Hyspex_Mjolnir_AC/hyspex_mjolnir_MOD5_LUT2.dill", "rb") as fl:
wvl, xnodes, nm_nodes, ndim, x_cell, lut1, lut2 = dill.load(fl)
self.wvl_lut = wvl * 1000
......@@ -214,8 +214,8 @@ class FoGen(object):
self.ndim = ndim
self.x_cell = x_cell
lut2_all_res_fit = np.zeros((2, 2, 2, 2, 1, 7, len(self.wvl_sel), 4))
lut2_all_res_full = np.zeros((2, 2, 2, 2, 1, 7, len(self.wvl), 4))
lut2_all_res_fit = np.zeros((2, 5, 2, 2, 1, 7, len(self.wvl_sel), 4))
lut2_all_res_full = np.zeros((2, 5, 2, 2, 1, 7, len(self.wvl), 4))
lut1_res_fit = lut1[:, :, :, :, :, :, :, 0] @ self.s_norm_fit
lut1_res_full = lut1[:, :, :, :, :, :, :, 0] @ self.s_norm_full
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment