current plot I want to remove all those data points that lies between 5 & 10 on x axis and 0 & 500 on y axis. givenData is a 10000X2 matrix ...
current plot I want to remove all those data points that lies between 5 & 10 on x axis and 0 & 500 on y axis. givenData is a 10000X2 matrix ...
The Z value is calculated in the function using the following code: I want to use this Z value to compare it with a particular value of Z = 4e-5 an ...
I've the code that generate contours of GMCM but i want only the outer contour lines in the plot. Where should I change the code in order to get the s ...
I am trying to fit a Gaussian function to my dataset using scipy's curve_fit() function and have failed to get the function to fit. I tried the same u ...
I would like to ask some questions about lmfit accuracy (and possibly obtain better fit results by obtaining the answer). All experimental spectra are ...
I have a 2D NumPy array of size 10 by 10, in which I am trying to implement a 2D Gaussian distribution on it so that I can use the new column as a fea ...
I am trying to fit some RIXS data with Voigt profiles (lmfit in Python), and I have defined the Voigt profile in the following way: I have used thi ...
I am trying to fit a curve with curve_fit from SciPy. But it doesn't work as intended, and I don't know why. Here is my code: As you can see the ...
I have an array of numbers. Lets say nums = [1, 2, 3, 4, 5, 6, 7, 8 ,9 ,10] from this, I want to randomly pick six numbers based on Gaussian distrib ...
So, I'm supposed to write a function normpdf(x , avg, std) that returns the Gaussian probability density function of x for a normal distribution with ...
I have a 2D gaussian function f(x,y). I know the values x₀ and y₀ at which the peak g₀ of the function occurs. But then I want to find xₑ and yₑ value ...
I followed the instructions given in this awesome blog article to blurr an image from within my .NET MAUI app on both iOS and Android: https://vladis ...
I'm trying to create 2-D Gaussian distributions based off the question in the image below. I'm using numpy's multivariate_normal(): Is this the cor ...
I am trying to use the function gaussiansmooth but I am receiving an error: Error in UseMethod("gaussiansmooth") : no applicable method for 'gaussians ...
I have a satellite image (Landsat 8, panchromatic band) at 15m pixel size. My goal is to upscale the image (i.e., change the pixel size) at 460m using ...
python has fspecial('gaussian', f_wid, sigma) to make gaussian easy(link). Does Javascript has similar utils? ...
I want to resample a raster from 15m to 460m using a Gaussian filter. The goal I am having a coarse image which I want to downscale. I also have a f ...
The goal I am trying to simulate coarse data as though they were measured with a coarse PSF (point spread function). The data I have a satellite im ...
I've been trying to manually get the response values given by the predict.glm function from the stats package in R. However, I'm unable to do so. I on ...
I want to get a list of random numbers from GMM. I've plotted a distribution like this. And I was wondering whether there is some way to get the valu ...