I have a multidimensional histogram
H=histogramdd((x,y,z),bins=(nbins,nbins,nbins),range=((0,1),(0,1),(0,1)))
I need to print in an array the values of H which are different from zero and I also need to know the coordinate/the bins where this happens.
I am not familiar with tuples. Can you help me?