Mar-06-2017, 12:24 PM (This post was last modified: Mar-06-2017, 12:31 PM by Tina. Edited 1 time in total.)

Hello everyone,

I am trying to convolute 2 signals in the time-domain:

the first when is a gaussien function and the second one is a zero array but has an impulse at x1 and an increasing ramp between x2 and x3. Both peaks of the impulse and the increasing ramp have maximum 1.

when I try to convolute both with

So separately, means : Convolution with impulse --> works

Convolution with increasing ramp till 1 --> works

Convolution with a signal containing both : Impulse AND ramp --> does not work, shows just result of convolution with ramp.

Can anyone help?

Thank you in advance

I am trying to convolute 2 signals in the time-domain:

the first when is a gaussien function and the second one is a zero array but has an impulse at x1 and an increasing ramp between x2 and x3. Both peaks of the impulse and the increasing ramp have maximum 1.

when I try to convolute both with

np.convolve(gaussian, signal, 'same')I only get a non-zero signal for the increasing ramp. Python seams to ignore the convolution with the impulse. but when I set the ramp to zero and redo the convolution python convolves with the impulse and I get the result.

So separately, means : Convolution with impulse --> works

Convolution with increasing ramp till 1 --> works

Convolution with a signal containing both : Impulse AND ramp --> does not work, shows just result of convolution with ramp.

Can anyone help?

Thank you in advance