Detecting Peaks and Distance between Peaks in 1D Signals

This code offers a streamlined workflow for handling signal data stored in a CSV file. It starts by importing the data and normalizing it to a uniform 0 to 1 scale. Using Plotly, the code then visualizes these normalized signals, enabling users to observe patterns and trends over time. Furthermore, it incorporates peak detection functionality, identifying significant peaks in each signal using scipy.signal's find_peaks method. Additionally, the code calculates the distances between consecutive peaks, providing valuable insights into signal characteristics. To use this code effectively, install the required dependencies, specify the CSV file path in the file_path variable, and execute the script, simplifying the process of signal analysis for various applications.