I am not a mathematician by training, so excuse my lack of vocabulary or the imprecision in my question.
I have a 1D distribution that I need to convolute, using a Gaussian kernel. However, all the functions that are out there, be it MATLAB, python, mathematica or R are dedicated to image blurring and have a single scalar value for the sigma of the Gaussian distribution. For example:
[Python gaussian filter function][1]
However, the distribution I have, has different sigma along the x-axis, if that makes sense.
Is there a way to create a Gaussian kernel used for smoothing that has different sigma values along the x-axis?
Thanks is advance.
On the other hand, maybe you want to convolve with a mixture of gaussians (i.e. a linear combination of Gaussians) with different sigmas? If that's the case, by linearity of convolution you can convolve against each individual gaussian and add up the result.
– Alex R. Sep 11 '15 at 18:03