Conc.CdInspection#

CdInspection.py

Copyright (c) 2020-2023, SAXS Team, KEK-PF

class CdInspectionDailog(parent, dialog, M, E, C, q, eslice, from_ax=None, xray_scale=None, plotter_info=None)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

cancel()#
compute_scores()#
create_axes(fig)#
draw_cd1_curve(ax, y, curve_label, log_scale=True, sy2=None, curve_label2=None)#
draw_cd2_curve(ax, y, curve_label, yb=None, log_scale=True, sy2=None, sy2_no_bnd=None)#
draw_curves()#
draw_diff_curve(ax, y1, y2, curve_label, scale, aq_scale=True, with_smoothed=True)#
draw_elution(ax)#
draw_score_text(ax, yp, score, cd_score_no_bnd, min_scale=None)#
draw_singular_values(ax)#
save_the_figure(folder, pno, ad=None)#
show()#