python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
plot power spectrum of a signal with wavelet transform
Using this dataset https://philharmonia.co.uk/resources/sound-samples/ I'm trying to plot the power spectrum of note played by a specific instrument.
I'm using librosa to load the audio file and get s...

JayJona
Votes: 0
Answers: 0
Does library scaleogram have inbuilt 'rbio' wavelet? I have to analyze an ECG signal with rbio wavelet and perform cwt and plot a scaleogram
This is the code I am using. Works for 'morl', 'gaus', 'mexh', but not for 'rbio'.
scg.set_default_wavelet('mexh')
scg.cws(data[:signal_length], coi = False);

Harshitha V
Votes: 0
Answers: 1
Converting CWT from MatLab to Python
I am working on converting the following MatLab code into Python:
function [pos,dx]=cwt_local_maximum(x,hpw)
dx = -cwt(x,2*hpw,'haar');
pos=find(sign(-sign(diff(sign(dx))+0.5)+1))';
end
I hav...
TimeTravelPenguin
Votes: 0
Answers: 0
Error using Daubechies 4 wavelet with scipy cwt
I'm trying to convert a simple Matlab signal processing code into Python. I'm trying to use CWT on a Daubechies 4 (db4) using SciPy, but I receive the error 'numpy.ndarray' object is not callable. I t...
a11
Votes: 0
Answers: 0