Trimming.PeakRegion#

PeakRegion.py

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

class PeakRegion(x_curve, a_curve, a_curve2, debug=False)#

Bases: object

can_be_treated_as_usual(x)#
compute_cumsum(x_curve, a_curve)#
compute_cumsum_from_uv(x_curve, a_curve, debug=False)#
compute_cumsum_impl(curve, debug=False)#
get_distance_ratio(x)#
get_ends()#
get_first_peak()#
get_outside()#
get_peak_ends(proportions, recursing=False)#
get_peak_ends_impl(cy, proportions)#
get_peak_ends_with_rotation(angle)#
get_significance_ratio(x)#
get_size()#
get_slice()#
get_wider_ends()#
is_in_the_region(x)#
is_in_the_wider_region(x)#
is_special(x, return_ratio=False)#
peak_ends_safety_check(ecurve, peak_ends, debug=False)#
set_default_ends(debug=False, fig_file=None)#
set_peak_ends_with_traditional_infos(xr_peak_ends, uv_peak_ends, debug, fig_file)#
set_wider_ends()#