Questions tagged [resampling]

The tag has no usage guidance.

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
9k views

Downsampling and upsampling of a signal in Python

If I want to downsample a signal in Python, is it better to use method resample from SciPy Signal Processing module or method decimate from the same module? What is the difference between these two ...
2
votes
0answers
64 views

How can I extract the 2 polyphase components of a signal after sampling at the half of sampling rate

Suppose I have a continuous signal $x(t)$, which was sampled using sampling function $s(t)$ whose sampling rate is $T_s$.How can I sample the continuous signal by Ts/2 instead of Ts in order to get ...
2
votes
0answers
78 views

Compensate for residual resampling error with a quadratic phase vs frequency- possible?

With regards to the answer in this post Is it possible to do deconvolution with two data sets that have different sampling rates? I suggest the possibility of compensating for a residual resampling ...
2
votes
0answers
156 views

Signal rescaling

Please help me out with this one. I think I've been given an impossible task. I'm working on a system that transmits an active signal and looks for strong reflections. The transmitter is actually ...
2
votes
0answers
62 views

Is there an exact solution for this re-sampling problem?

I want to know if there is an exact solution for the following problem and how to approach solving it: I have a discrete-time signal where the Nyquist theorem is satisfied: $r_k = \sum_i a_i^{(1)}h^{...
1
vote
0answers
27 views

Converting the equalizer coefficients from VSA at 2 sample/Symbol to 1.5 sample/Symbol

I was looking for some feedback on conversion of equalizer/filter coefficients at different sampler rate. Problem Statement: We have built a transmitter system whose output is at 1.5 sample/symbol (...
1
vote
0answers
143 views

Why do I have to scale filter coefficients during bandlimited sample rate conversion?

I am writing an example for how to perform sample rate conversion using windowed sinc and polyphase filters. Here is the C++ code as a github gist. So far, this works, and I think I have understood ...
1
vote
0answers
158 views

Matching two signals with small time drift

I have two time-domain signals sampled at 100 Hz that were measured using two different oscillators and therefore have a time drift between them. I have two synchronization points, one at the start ...
1
vote
2answers
218 views

Resampling with and without replacement for estimating significance of spectral components

In order to test the significance of spectral components, it seems reasonable to randomly sort the data in order to destroy all the serial correlations / spectral order e.g. 100,000 times, and then ...
1
vote
0answers
60 views

How to initialize shift registers in polyphase filter based resamplers to avoid or compensate for group delay?

I have a signal a = [a(t0),a(t1),a(t2),..,a(tN-2),a(tN-1)] I'm using a polyphase filter based resampler with filter length $L$ of $8$, fixed interpolation rate $I$ of $10000$ and decimation rate of $...
1
vote
0answers
87 views

Specifications (N) FIR Low Pass Resamplig, Hamming Window

I'm learning about DSP and I've doubts. The resampling process can be do it with only one filter. $L$: Increment Sample Rate Integer $M$: Decrement Sample Rate Integer $f_S$: Frequency Sampling ...
1
vote
0answers
290 views

Spatial resampling, how to smooth?

Sorry if this is not the right forum. Having a velocity grid in which a wave propagates, and given a certain spatial sampling of the grid, what kind of smoothing/interpolation should be used if the ...
1
vote
0answers
45 views

Is Bernstein ever used in DSP?

In the early 1900s, Bernstein proved you could approximate any continuous function with the sums of polynomials. I know this is a bit weak for DSP because it isn't strictly periodic, but is Bernstein ...
1
vote
0answers
164 views

Upsampling very large data sets efficiently

I have gigabytes worth of seismic ground data, that I wish to upsample by a factor of 2 or 3. I wanted to ask what efficient way might there be for me to upsample such a big file? Is there a way to ...
0
votes
0answers
25 views

Role of oversampling within resampling / pitch modification

I'm working on a pitch modification plugin involving resampling, and want the quality to be as high as possible. I currently use windowed sinc interpolation and lowpass filter where required. I ...
0
votes
1answer
59 views

Streaming windowed sinc interpolation/resampling: trying to understand a Rust implementation

I'm working on a fork of the Rust dasp library, which is intended to be a DSP toolkit that abstracts over samples/frames/signals, and contains a number of functions ...
0
votes
0answers
785 views

How do I change the sampling rate without changing the speed and pitch in Python?

I am building a voice recognition algorithm, and the use case specifies that it should be able to identify the targeted speaker from various audio sources, which means that it must be able to process ...
0
votes
0answers
32 views

Resampling with factor linearly moving from one value to another: calculate expected target length

I am resampling an audio (1D) signal, using a resampling factor that moves linearly from startFactor to endFactor; say the input ...
0
votes
0answers
37 views

Resampling assessment

I'm trying to figure out which of the resampling methods is best in my job. Comparing the original image vs. bilinear, bicubic, bicubic spline, lanczos. For now I have considered metrics like MSE RME ...
0
votes
0answers
48 views

Composition of interpolation and decimation matrices

I understand that interpolation is a linear transformation of a signal vector that combines interleaving the elements of the input vector with zeros followed by a filtering operation to remove any ...
0
votes
0answers
29 views

resample interpolation decimation filters algorithm

I'm creating a program in order to perform Resample, Interpolation and Decimation Frequency. ...
0
votes
0answers
57 views

Weird resampling artifacts of a periodic signal

I am trying to grab time series data from a database storing data on a propritary format. When i chose a resolution which is not a multiple of the power of two of the sampling resolution i get these ...
0
votes
0answers
50 views

Interpolation FIR filter Remez design criteria

I want to upsample an audio signal by a factor of 8. The technique I was going to use was to upsample by zero stuffing and then interopolate using a low pass anti-aliasing FIR filter designed using ...
0
votes
0answers
122 views

Delay of non-polyphase vs polyphase FIR filters

I implemented a polyphase filter function for interpolating and decimating. It works great (I compared it to what I'd get by interp/decim by inserting L-1 zeros and I get the same results) except for ...
0
votes
0answers
30 views

delayed result in sinc upsampled signal

I have implemented an infinite kernel sinc interpolation. For some signals I notice an artifact, visible at the right end of the plot. I am wondering: is it a bug in my code or a phenomenon usual for ...
0
votes
0answers
65 views

How should I modify my filter coefficients for the filter to be unaltered, when I change my sample rate

I am guessing this is a commonly encountered problem, but I am lost on how to really solve it. I have FIR filter coefficients that are used to match the frequency response of data sampled at 3 kHz. I ...
0
votes
1answer
130 views

Having Glitches trying to use a Sinc Function Interpolation on a Signal, by chunks of 1024 samples

I am trying to interpolate a signal using a third party lib that performs Sinc Function Interpolation on a signal. It works well if I input all the samples at once but introduce phase distortion if I ...
0
votes
2answers
765 views

Signal Resampling by a non integer factor with convolution

to start I am a newbie in signal processing, I just started a month ago so please be as detailed as possible. From what I understood to resample a signal by a non integer factor you can do an ...
0
votes
0answers
99 views

Length of a resampled audio signal

It seems to me intuitively if I have a signal $y$ with sampling frequency $f_0$, then if I resample that signal with $f_{new}$ the correct number of samples will be $\frac{f_{new}}{f_0} \cdot len(y)$. ...
0
votes
0answers
120 views

Non-uniform resampling - spacing between output samples given speed factors

I'm working on an implementation of time-varying resampling in python. I've got the windowed sinc interpolation itself working nicely, but can't figure out where exactly to sample my input data for ...
0
votes
0answers
168 views

Playrate change based on sinc interpolation generating phase shift?

I want to simulate the play-rate change function of a modern digital sampler. For the purpose I have constructed a sinc-resampling based algorithm of my own which changes the play-rate of a digital ...
0
votes
0answers
238 views

Extended Kalman filter (EKF)

I am working on the localization problem of an underwater vehicle. However the problem is still in very simple and it does not matter that it is about underwater. How can I use the EKF when I have ...
0
votes
0answers
66 views

Unexpected peak after up & down sampling

I am working on signals to check how approximation can change the results. I am testing on example that can change frequency from 22kHz to 20 KHz. I prepare this script in MatLab ...
0
votes
0answers
226 views

Most efficient phase linear x4 resampling algorithm

I'm working on a program in which I need to do the following about 20 times for each block of audio: - Upsample from 192 to 768 kHz (x4) - Clip - Downsample back to 192 kHz (/4) What I'm using now: ...
0
votes
0answers
3k views

How to compute transfer function (Frequency Response Function) from experimental data

I have a set of data, in the freqeuncy domain, corresponding to a structural test. I have amplitude, phase and frequency for both the measured output and the input signal (accelerations are measured ...