Flux integration misses z_max layer

Issue #17 resolved
Christian Herenz repo owner created an issue

line 104 in lsd_cat_measure lib

def gen_nb_image(cube, z_min, z_max):
    return np.sum(cube[z_min:z_max,:,:],axis=0)

should be cube[z_min:z_max+1,:,:], otherwise the maximum layer is not included in the integration.

Comments (1)

  1. Log in to comment