Trimming.AutoRestrictor#
AutoRestrictor.py
Copyright (c) 2020-2024, SAXS Team, KEK-PF
- class AutoRestrictor(sd, cs)#
Bases:
object
- correct_inconsistent_extensions(ret_info)#
- get_better_restriction(uv_restrict_list=None, xr_restrict_list=None, debug=False, figfile=None)#
- get_better_restriction_impl(uv_restrict_list=None, xr_restrict_list=None, debug=False, figfile=None)#
- get_major_emg_peaks_list(uv_curve, xr_curve, debug=False)#
- get_mapped_points(restrict_info, xr_curve, xr_peaks, uv_curve, uv_peaks, debug=False)#
- get_sigma_restriction(curve, emg_peaks, e_restrict, mapped_points=None, op_restrict=None, debug=False)#
- get_simple_sigma_points(curve, emgpeak, debug=False)#
- get_simple_sigma_points_impl(curve, params, peak_top_x, force_ratio=None, debug=False)#
- get_them_roughly(uv_info, xr_info, debug=False)#
- get_uv_sigma_points()#
- map_back_to_xray(maping_info, uv_restrict, xr_restrict)#
- modify_limits_using_moments(curve, xmin, xmax)#
- mpeaks#
right 0 : UV 1 : Xray
- Type:
0
- Type:
left, 1
- proof_plot(better_ret, pause=True, savefig=False, figfile=None)#
- reconsider_using_lower_peak_model(curve, emg_peaks, trim_min, trim_max, debug=False)#
- set_correponding_point(uv_xr_id, lr_id, info_to, info_from)#
- try_adding_minor_peak(curve, main_emg_peak, recon_info)#
- exception PeakMathcingError#
Bases:
Exception
- get_exact_emg_peaks_list(uv_curve, xr_curve, debug=False)#