Prob.EmgMixtureUtils#

EmgMixtureUtils.py

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

class SpikeDialog(parent, in_folder, **kwargs)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

body(bframe)#

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

draw_next()#
generate_samle(in_folder, **kwargs)#
iterate()#
show()#
animate_gmm_elution(y1, y2, gmm1, gmm2, plot_class=<module 'matplotlib.pyplot' from 'C:\\Program Files\\Python312\\Lib\\site-packages\\matplotlib\\pyplot.py'>)#
gaussian(x, mu, sigma, scale)#
get_anim_components(x, y, gmm, n)#
get_components(x, y, gmm)#
get_gmm(size, data, k, max_iter=100, anim_data=False)#
plot_components(ax, x, cgys)#
plot_gmm_elution(y1, y2, data1, data2, k, max_iter=100, axes=None, plot_class=<module 'matplotlib.pyplot' from 'C:\\Program Files\\Python312\\Lib\\site-packages\\matplotlib\\pyplot.py'>, anim_data=False)#
set_consistent_base(ax1, axt)#
spike_demo(in_folder, **kwargs)#
spike_dialog(parent, in_folder, **kwargs)#