I have a signal with several tones and want to know where a given tone starts and where it ends.
At first, I am applying a band pass filter and transform the signal (fft) in order to know if the recording has the tone.
Now, I get the filtered signal in the time domain (figure). It was suposed to be from 0ms to 276ms (red line). Keep in mind that this tone might be shifted in time (from 150 to 426ms).
How can I detect where the tone starts and ends using scipy?