Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

ALL arrays are shown here FOR TEST PURPOSE ONLY !!! any and they are not consistent with any real detector. The orient_deg is not consistent with real orientation as well...

...

Code Block
    xsize = X.max() + 1
    ysize = Y.max() + 1
    Img, Xedges, Yedges = np.histogram2d(X.flatten(), Y.flatten(), bins=[xsize,ysize], range=[[0,xsize],[0,ysize]], normed=False, weights=None)

Image Added

In order to get an image of intensity the weights array needs to be provided.

...