Category : gaussian

I have this data, I tried to fit by a Gaussian function but I can’t found an appropriate function, I tried using curve_fit from scipy.optimize : time_s = [1.44692600e+09, 1.44692634e+09, 1.44692671e+09, 1.44692707e+09, 1.44692743e+09, 1.44692785e+09, 1.44692826e+09, 1.44692941e+09, 1.44692967e+09, 1.44692997e+09, 1.44693029e+09, 1.44693062e+09, 1.44693096e+09, 1.44693131e+09, 1.44693200e+09, 1.44693227e+09, 1.44693254e+09, 1.44693284e+09, 1.44693313e+09, 1.44693342e+09, 1.44693370e+09, 1.44693398e+09, 1.44693429e+09, 1.44693460e+09, 1.44693492e+09, 1.44693522e+09, 1.44693552e+09, ..

Read more

I’m trying to create a dataset suitable for a Gaussian distribution. The x and y values will be the same, and on the z-axis, these values will be in accordance with the gaussian distribution. Taking this site as a resource for myself: https://towardsdatascience.com/a-python-tutorial-on-generating-and-plotting-a-3d-guassian-distribution-8c6ec6c41d03 I wrote the following code. But unfortunately, the output I got was ..

Read more