raman.pick_peaks¶
-
raman.
pick_peaks
(x, y=None)¶ Utility function to quickly extract x coordinates of points from data by double clicking in a plot window. For each double click, the x coordinates are printed on stdout. After the function is executed, the script terminates.
Use this function to get peak positions as input for
get_peak_estimates()
orcalibrate()
, for example.Parameters: - x (array) – x-axis or data if y is None.
- y (array) – Data (optional). If None, the function displays the data vs indices.