Questions tagged [python]
Python is a high-level interpreted general programming language. Python has popular numerical and scientific libraries/packages, most notably numpy and scipy. The scipy.signal package is a powerful signal processing software collection. This tag covers the use of numpy, scipy, and other Python packages often used for SP computations.
1,374 questions
0 votes
1 answer
28 views
Why does Python skimage.transform.resize give different results from MATLAB imresize for the same array?
I'm trying to replicate MATLAB's imresize behavior in Python using skimage.transform.resize. Here's my test case: Python ...
0 votes
0 answers
23 views
How do I generate proper QAM-M modulated passband and save it as WAV file?
I'm new to digital signal processing and would like to know how to make a QAM-M modem that generates proper passband signal and saves it as a WAV file. The tool should allow me to specify the carrier ...
0 votes
1 answer
88 views
How to detect repeating patterns in short audio clips (≈4 seconds) using Python and machine learning?
I’m working on a machine learning project where I need to classify very short audio clips (about 4 seconds each) into two categories: repeating song: clips that contain a repeating musical pattern. ...
0 votes
0 answers
43 views
Classifying audio signals in real time using python
apologies for what is maybe a silly newbie question, but my problem is I have a real-time feed of audio tones from a detector, and I want to classify them into maybe 3 or 4 buckets, eg not interested, ...
2 votes
1 answer
66 views
Help with Implementation of Extended Target Tracking via EKF and inverse-Wishart updates
I am trying to implement the research paper linked here: Converted Measurements Random Matrix Approach to Extended Target Tracking Using X-band Marine Radar Data I’ve managed to code the prediction ...
0 votes
0 answers
66 views
Is my Autocorrelation Function up to Par?
I am using python to play around with my own implementation of the ACF. I am aware of how the autocorrelation function can have quantization error due to integer values of lag being used to calculate ...
1 vote
0 answers
80 views
Resonance analysis of a driven harmonic oscillator: phase and amplitude extraction not working as expected
Some introductory remarks I'm playing with a real-world harmonic oscillator (a torsion pendulum) of the form $$ M\ddot x(t) + M\Gamma\dot x(t) + \frac{K}{M}x(t) = F_{\mathrm d}\cos(\omega_{\mathrm d}t)...
0 votes
0 answers
49 views
Why does the reconstruction signal repeat and has artifacts near the switching points? [python assignment]
I have the discrete window signal $a\left[n\right]=\begin{cases}1 & \left|n\right|<100\\0 & 100\leq\left|n\right|\leq1000\end{cases}$ with the respective Fourier coefficients $a_k=\frac{\...