Find local minima of array including the first element of plateau
I refactored a code that finds the indices of local minima of the negative part of an array.
Gaussian fit to data gets worse when shifting distribution horizontally away from mean 0
I’m currently trying to fit a skewed gaussian to a histogram of data by attempting to constrain the mean (mu), sigma1 and sigma2 through a grid search chi square minimization.