Python/Fitting

ডিপথট থেকে

Fit Gaussian on flattened data

from scipy.stats import norm (mu, sigma) = norm.fit(data.flatten())