LRF.regals

Contents

LRF.regals#

from

ando-lab/regals

REGALS: a general method to deconvolve X-ray scattering data from evolving mixtures https://www.biorxiv.org/content/10.1101/2020.12.06.413997v1

class component(concentration, profile)#

Bases: object

class concentration_class(concentration_type, *arg, **kwarg)#

Bases: object

class concentration_simple(x, xmin, xmax)#

Bases: object

property A#
property F#
property L#
property Nw#
property Nx#
property k#
norm(u)#
property u0#
property w#
property y0#
class concentration_smooth(x, xmin, xmax, Nw=50, is_zero_at_xmin=True, is_zero_at_xmax=True)#

Bases: object

property A#
property F#
property L#
property Nx#
property dw#
property k#
norm(u)#
property u0#
property w#
property y0#
class mixture(components, lambda_concentration=array([], dtype=float64), lambda_profile=array([], dtype=float64), u_concentration=[], u_profile=[])#

Bases: object

property H_concentration#
property H_profile#
property I_reg#
property Nc#
property Nq#
property Nx#
concentration_problem(I, err, calc_Ab=True)#
property concentrations#
estimate_concentration_lambda(err, ng)#
estimate_profile_lambda(err, ng)#
extract_concentration(I, err, k)#
extract_profile(I, err, k)#
property k_concentration#
property k_profile#
static ng2lambda(dd, ng)#
property norm_concentration#
property norm_profile#
profile_problem(I, err, calc_Ab=True)#
property profiles#
class profile_class(profile_type, *arg, **kwarg)#

Bases: object

class profile_real_space(q, dmax, Nw=50, is_zero_at_r0=True, is_zero_at_dmax=True)#

Bases: object

property A#
property F#
property L#
property Nq#
property dw#
property k#
norm(u)#
property u0#
property w#
property y0#
class profile_simple(q)#

Bases: object

property A#
property F#
property L#
property Nq#
property Nw#
property k#
norm(u)#
property u0#
property w#
property y0#
class profile_smooth(q, Nw=50)#

Bases: object

property A#
property F#
property L#
property Nq#
property dw#
property k#
norm(u)#
property qmax#
property qmin#
property u0#
property w#
property y0#
class regals(I, err)#

Bases: object

fit_concentrations(mix)#
fit_profiles(mix)#
run(mix, stop_fun=None, update_fun=None)#
step(mix)#