Skip to content
Snippets Groups Projects

Feat: Plot JF with 16 mem cells

Merged Mikhail Karnevskiy requested to merge feat/plot_JF16cells into master
4 unresolved threads

@ahmedk

  • Plot Jungfrau with 16 and 1 memory cells
  • Plot Gain map for Jungfrau

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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):
  • Karim Ahmed
  • 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
  • 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",
  • In general, please add more description and comments about the new modifications

  • added 1 commit

    Compare with previous version

  • Author Contributor

    @karim Please, review it again.

  • mentioned in commit b2a98473

  • Please register or sign in to reply
    Loading