Its easy to identify the highest peak on the right side of the bimodal distribution. I need to determine the left (always also lower in my data) peak value in the following bimodal distribution:https://drive.google.com/open?id=1n-Kp5loJze-L3vNgq7_3qFrmI-JiE20K
Here, 1 is the left peak and 2 is the right peak. 1 is always lower than 2.
Using scipy.signal.argrelmax
, I have been able to find all the relative peaks but I need to extract specifically left peak in my data (marked by 1).
The values of only two peaks marked by 1 and 2 in the figure attached and ignore all other peaks that are determined. peak 2 on the right is easy to extract but I also want to extract peak 1.