search_peaks_in_regions: This function extracts the primary peak within a well-specified region.
Description
This function is used as support by the function peel_off
. This function searches and returns the minimum q-value peak (the primary peak) within the region defined by the points start_region
and end_region
.