Feat: Plot JF with 16 mem cells
4 unresolved threads
4 unresolved threads
- Plot Jungfrau with 16 and 1 memory cells
- Plot Gain map for Jungfrau
Merge request reports
Activity
Filter activity
374 374 return med - scale * mad, med + scale * mad 375 375 376 376 377 def hm_combine(data, fname=None, htype=None, **kwargs): 377 def hm_combine(data, mem_cells = 32, fname=None, htype=None, **kwargs): changed this line in version 2 of the diff
Space removed. Default is 32, because this number of memory cells is shon for big detectors. More memory cells is hard to see on a picture. Less is required for Jungfrau.
Edited by Mikhail Karnevskiy
490 491 use_axis=ax, 491 492 y_log=False) 492 493 if htype == HMType.INSET_AXIS: 493 494 ax2 = plt.axes([pad_l, pad_b, w_frame, h_frame / 16.], frame_on=False, 495 yticks=range(3), yticklabels=[32, 16, 0], 494 nypix = data.shape[0] / mem_cells can you comment what is this supposed to contain
Edited by Karim Ahmed
708 708 " for key, item in keys.items():\n", 709 709 " if item[0] in data:\n", 710 710 " rdata[key] = np.array(data[item[0]])[sort_ind]\n", 711 " \n", 712 " if len(rdata['Mean'].shape)==4:\n", 713 " nMem = min(nMemToShow, rdata['Mean'].shape[3])\n", 714 " if len(rdata['Mean'].shape)<4:\n", 715 " nMem = 1\n", mentioned in commit b2a98473
Please register or sign in to reply