SerialAnalyzer.ScatteringBaseCorrector#

ScatteringBaseCorrector.py

Copyright (c) 2017-2024, SAXS Team, KEK-PF

class ScatteringBaseCorrector(jvector, qvector, intensity_array, curve=None, index=None, affine_info=None, inty_curve_y=None, baseline_opt=None, baseline_type=None, need_adjustment=None, parent=None, with_demo=False)#

Bases: object

compute_baseline_and_corrrect(i, Z, p_final, noisiness=None)#
compute_noisiness(spline, Z)#
correct_a_single_q_plane(i, suppress_update=False, plot_always=False, return_baseline=False)#
correct_all_q_planes(progress_cb=None, return_base=False, debug_obj=None)#
correct_with_matrix_base(mapped_info, progress_cb=None, return_base=False)#
do_adjustment(i, Z, Z_orig, spline, baseline_total, plot_always, return_baseline, p_final)#
compute_baseline_using_LPM_impl(baseline_type, num_iterations, i, y, p_final=None, k=None, curve=None, logger=None, suppress_log=True, debug=False)#
moved due to:

ImportError: cannot import name ‘LPM_PERCENTILE’ from partially initialized module ‘Baseline.Baseline’ (most likely due to a circular import)