Skip to content
Snippets Groups Projects
Commit 1559f75d authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

fix fuga common heights for luts with different number of z

parent 2045f8c3
No related branches found
No related tags found
1 merge request!616fix fuga common heights for luts with different number of z
Pipeline #67160 passed
......@@ -259,7 +259,7 @@ class FugaMultiLUTDeficit(XRLUTDeficitModel, FugaDeficit):
self.TI_ref_height = TI_ref_height
if z_lst is None:
z_lst = np.sort(np.unique([da.z for da in da_lst]))
z_lst = np.sort(np.unique([z for da in da_lst for z in da.z.values]))
x_lst = np.sort(np.unique([da.x for da in da_lst]))
x_lst = x_lst[(x_lst >= np.max([da.x[0] for da in da_lst])) & (x_lst <= np.min([da.x[-1] for da in da_lst]))]
y_lst = np.sort(np.unique([da.y for da in da_lst]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment